Go to file
Thomas Waldmann bb4ebf1ea2 update supported permissions in README, fixes #246 2020-11-13 00:09:10 +01:00
docs Add MODIFY permission for modify operation 2020-11-11 02:41:29 +09:00
requirements.d use twine to upload releases, qubes gpg support, fixes #197 2019-04-18 22:24:29 +02:00
scripts use twine to upload releases, qubes gpg support, fixes #197 2019-04-18 22:24:29 +02:00
src/bepasty Merge pull request #240 from OGAWAHirofumi/add-edit 2020-11-11 04:38:09 +01:00
.gitignore use setuptools_scm for versioning and packaging 2018-09-17 21:25:07 +02:00
.readthedocs.yml add config for readthedocs 2019-07-03 01:12:56 +02:00
.travis.yml support / test on py38, py39, fixes #223 2020-10-31 23:52:45 +01:00
AUTHORS Add me to AUTHORS as requested 2020-11-11 02:55:34 +09:00
CHANGES.rst update CHANGES 2020-11-01 20:33:49 +01:00
LICENSE it's 2020 2020-11-01 16:54:22 +01:00
MANIFEST.in use setuptools_scm for versioning and packaging 2018-09-17 21:25:07 +02:00
README.rst update supported permissions in README, fixes #246 2020-11-13 00:09:10 +01:00
setup.cfg register markers to avoid pytest warning 2020-10-31 23:43:54 +01:00
setup.py Add "modify" operation to modify uploaded data 2020-11-11 02:41:26 +09:00
tox.ini support / test on py38, py39, fixes #223 2020-10-31 23:52:45 +01:00

README.rst

bepasty
=======

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

The documentation is there:
https://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 show actions you can do with the file, metadata of the
    file and, if possible, we also render the file contents
  - if you uploaded multiple files, you can create a pastebin with the list
    of all these files - with a single click!
  - Set an expiration date for your files

* 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)

* asciinema recordings:

  - we show the asciinema player for .cast files

* URLs:

  - we support linking to / redirecting to external URLs, you can use
    this as a link shortener (avoiding privacy / data protection issues
    that may exist with other link shorteners)

* 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)
  - currently there are no other storage implementations in master branch
    and releases. The "ceph cluster" storage implementation has issues and
    currently lives in branch "ceph-storage" until these issues are fixed.

* Keeping some control:

  - flexible permissions: read, create, modify, delete, list, admin
  - assign permissions to users of login secrets
  - assign default permissions to not-logged-in users
  - you can purge files from storage by age, inactivity, size, type, ...
  - you can do consistency checks on the storage