<commit_before>Pyrellag
========

Description
-----------

Pyrellag is a very simple, low-overhead gallery viewer, suitable for huge collections of media.

For reference, it's able to scan from scratch a 7GB collection of photos/videos in under 2 minutes.

This software is released under the GNU AFFERO GENERAL PUBLIC LICENSE. Please see `LICENSE` file for more information.

Screenshots
-----------

Gallery view:
![alt tag](https://raw.github.com/stenyak/pyrellag/master/gallery_view.png)


Photo view:
![alt tag](https://raw.github.com/stenyak/pyrellag/master/photo_view.png)


Video view:
![alt tag](https://raw.github.com/stenyak/pyrellag/master/video_view.png)

Features
--------

 - Support for image files: jpg, jpeg, png and gif.
 - Support for video files: 3gp, mov, avi, mpeg4, mpg4, mp4 and mkv (embedded player if supported by browser).
 - Use your keyboard or mouse wheel for faster browsing.
 - Designed to work straight from your existing filesystem: no need to re-arrange directories into any special structure, or "upload" stuff anywhere, or set up any stinkin database.
 - On-the-fly or off-line thumbnail generation.
 - Can follow **freedesktop.org Thumbnail Managing Standard** if desired.
 - Very light on the CPU and network.

Instructions
------------

Quick set up:
 - Create a directory named `data`, and put all your media directories there (symlink is fine too).
 - Install the required dependencies: `$ ./get_libs.sh`
 - Run the gallery server: `$ ./pyrellag.py`


Offline thumbnails generation:
 - Create a cronjob that runs `./scan_gallery.py data` with the appropriate owner and permissions.


ToDo
----

Some stuff I'd like to do in the future:
 - Support for AuthN via openid (goog, fb, etc).
 - Support for AuthZ (user and group access permissions, etc).
 - Use an animated gif with select frames for video thumbnails.

Contact
-------

You can notify me about problems and feature requests at the [issue tracker](https://github.com/stenyak/pyrellag/issues)

Feel free to hack the code and send me GitHub pull requests, or traditional patches too; I'll be more than happy to merge them.

For personal praise and negative critics, the author <NAME> can be reached at [<EMAIL>](mailto:<EMAIL>) and `/dev/null` respectively :-D

<commit_msg>Update readme indicating new features.<commit_after>Pyrellag
========

Description
-----------

Pyrellag is a very simple, low-overhead gallery viewer, suitable for huge collections of media.

For reference, it's able to scan from scratch a 7GB collection of photos/videos in under 2 minutes.

This software is released under the GNU AFFERO GENERAL PUBLIC LICENSE. Please see `LICENSE` file for more information.

Screenshots
-----------

Gallery view:
![alt tag](https://raw.github.com/stenyak/pyrellag/master/gallery_view.png)


Photo view:
![alt tag](https://raw.github.com/stenyak/pyrellag/master/photo_view.png)


Video view:
![alt tag](https://raw.github.com/stenyak/pyrellag/master/video_view.png)

Features
--------

 - Support for image files: jpg, jpeg, png and gif.
 - Support for video files: 3gp, mov, avi, mpeg4, mpg4, mp4 and mkv (embedded player if supported by browser).
 - Support for AuthN via openid (goog, yahoo, etc).
 - Use your keyboard or mouse wheel for faster browsing.
 - Designed to work straight from your existing filesystem: no need to re-arrange directories into any special structure, or "upload" stuff anywhere, or set up any stinkin database.
 - On-the-fly or off-line thumbnail generation.
 - Can follow **freedesktop.org Thumbnail Managing Standard** if desired.
 - Very light on the CPU and network.

Instructions
------------

Quick set up:
 - Create a directory named `data`, and put all your media directories there (symlink is fine too).
 - Install the required dependencies: `$ ./get_libs.sh`
 - Run the gallery server: `$ ./pyrellag.py`


Offline thumbnails generation:
 - Create a cronjob that runs `./scan_gallery.py data` with the appropriate owner and permissions.


ToDo
----

Some stuff I'd like to do in the future:
 - Support for AuthZ (user and group access permissions, etc).
 - Use an animated gif with select frames for video thumbnails.

Contact
-------

You can notify me about problems and feature requests at the [issue tracker](https://github.com/stenyak/pyrellag/issues)

Feel free to hack the code and send me GitHub pull requests, or traditional patches too; I'll be more than happy to merge them.

For personal praise and negative critics, the author <NAME> can be reached at [<EMAIL>](mailto:<EMAIL>) and `/dev/null` respectively :-D


{'fraction_non_alphanumeric': 0.10642482517482517, 'fraction_numerical': 0.0026223776223776225, 'mean_word_length': 3.6991786447638604, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 8, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, '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': '5052191', 'n_tokens_mistral': 1354, 'n_tokens_neox': 1281, 'n_words': 578}