<commit_before>bepasty
=======

bepasty is like a pastebin for all kinds of files (text, image, audio, video,
documents, ..., binary).

The documentation is there:
http://bepasty-server.readthedocs.org/en/latest/

Features
--------

* Generic:

  - you can upload multiple files at once, simply by drag and drop
  - after upload, you get a unique link to a view of each file
  - on that view, we offer:

    + download link
    + file name we stored at upload time
    + file type we detected at upload time
    + precise size we computed at upload time
    + SHA256 hash ("checksum") we computed at upload time

* Text files:

  - we highlight all text file types supported by pygments (a lot!)
  - we display line numbers
  - we link from line numbers to their anchors, so you can easily get a link
    to a specific line

* Image files:

  - we show the image (format support depends on browser)

* Audio and video files:

  - we show the html5 player for it (format support depends on browser)

* Storage: we use a storage backend api, currently we have backends for:

  - filesystem storage (just use a filesystem directory to store
    <uuid>.meta and <uuid>.data files)
  - ceph cluster storage (distributed & fault-tolerant - uses RADOS Block
    Devices via librbd and librados)<commit_msg>update README with new features<commit_after>bepasty
=======

bepasty is like a pastebin for all kinds of files (text, image, audio, video,
documents, ..., binary).

The documentation is there:
http://bepasty-server.readthedocs.org/en/latest/

Features
--------

* Generic:

  - you can upload multiple files at once, simply by drag and drop
  - after upload, you get a unique link to a view of each file
  - on that view, we offer:

    + download link
    + file name we stored at upload time
    + file type we detected at upload time
    + precise size we computed at upload time
    + SHA256 hash ("checksum") we computed at upload time (or later)

* Text files:

  - we highlight all text file types supported by pygments (a lot!)
  - we display line numbers
  - we link from line numbers to their anchors, so you can easily get a link
    to a specific line

* Image files:

  - we show the image (format support depends on browser)

* Audio and video files:

  - we show the html5 player for it (format support depends on browser)

* PDFs:

  - we support rendering PDFs in your browser (if your browser is able to)

* Storage: we use a storage backend api, currently we have backends for:

  - filesystem storage (just use a filesystem directory to store
    <uuid>.meta and <uuid>.data files)
  - ceph cluster storage (distributed & fault-tolerant - uses RADOS Block
    Devices via librbd and librados)

* Keeping some control:

  - uploaders need to log in using one of the secret tokens (see config) to
    be able to upload.
  - everybody who has a file's URL may view/download that file.
  - you can purge files from storage by age, inactivity, size, type, ...
{'fraction_non_alphanumeric': 0.07296570275722931, 'fraction_numerical': 0.0026899798251513113, 'mean_word_length': 3.155027932960894, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 3, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1712281', 'n_tokens_mistral': 851, 'n_tokens_neox': 804, 'n_words': 433}