<commit_before>ascr
====

A simple screenshot uploader to upload screenshots instantly to a remote
webserver.

Written because it shouldn't be more convenient to upload to imgur than
a remote SSH host.

Usage
-----

``ascr``: the main executable. Just run on its own it will use import to
take a screenshot and upload it with the date/time as the filename.

If you have xclip installed, it will print the URL on screen and copy it to
your clipboard. Otherwise, it will just print it to the screen.

``ascr filename`` or ``ascr filename.png``: give the screenshot a specific
filename.

Configuration
-------------

``ascr`` uses a ``.ascrrc`` file located in your home directory for
configuration. An example file with the three mandatory options has been
provided:

    SERVER=tschuy@ash.osuosl.org
    DIRECTORY=~/public_html/screenshots/
    URL=https://ash.osuosl.org/~tschuy/screenshots<commit_msg>add TODO<commit_after>ascr
====

A simple screenshot uploader to upload screenshots instantly to a remote
webserver. Written because it shouldn't be more convenient to upload to imgur than
a remote SSH host.

Usage
-----

``ascr``: the main executable. Just run on its own it will use import to
take a screenshot and upload it with the date/time as the filename.

If you have xclip installed, it will print the URL on screen and copy it to
your clipboard. Otherwise, it will just print it to the screen.

``ascr filename`` or ``ascr filename.png``: give the screenshot a specific
filename.

Configuration
-------------

``ascr`` uses a ``.ascrrc`` file located in your home directory for
configuration. An example file with the three mandatory options has been
provided:

    SERVER=tschuy@ash.osuosl.org
    DIRECTORY=~/public_html/screenshots/
    URL=https://ash.osuosl.org/~tschuy/screenshots

Todo
----

Allow for uploading to Imgur?
{'fraction_non_alphanumeric': 0.08967391304347826, 'fraction_numerical': 0.0, 'mean_word_length': 3.819371727748691, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5117303', 'n_tokens_mistral': 547, 'n_tokens_neox': 513, 'n_words': 248}