You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
TW 85e2ec5451
Merge pull request #271 from ThomasWaldmann/thumbnails
2 weeks ago
.github/workflows drop python 3.5, add python 3.10 1 month ago
docs rendering fixes for REST api docs 5 months ago
requirements.d use twine to upload releases, qubes gpg support, fixes #197 2 years ago
scripts use twine to upload releases, qubes gpg support, fixes #197 2 years ago
src/bepasty for unsupported item types, return a placeholder svg thumbnail 2 weeks ago
.gitignore use setuptools_scm for versioning and packaging 2 years ago
.readthedocs.yml add config for readthedocs 1 year ago
AUTHORS Add myself as an author (#254) 5 months ago
CHANGES.rst minor CHANGES fix 1 month ago
LICENSE It is 2021 now! Happy new year! 2 months ago remove .travis.yml, fix 3 months ago
README.rst update supported permissions in README, fixes #246 5 months ago
setup.cfg register markers to avoid pytest warning 5 months ago add +thumbnail view, fixes #177 2 weeks ago
tox.ini drop python 3.5, add python 3.10 1 month ago



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

The documentation is there:


* 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