No description
Find a file
2023-02-17 23:27:39 +01:00
.github changes like 2023-02-17 11:28:09 +01:00
src added support for use of a custom names file 2023-02-17 23:27:39 +01:00
templates changes like 2023-02-17 11:28:09 +01:00
.envrc changes like 2023-02-17 11:28:09 +01:00
.gitignore add pasta_data 2022-10-22 09:55:11 -08:00
Cargo.lock Merge branch 'master' into szabodanika 2022-11-06 23:21:45 +02:00
Cargo.toml Merge branch 'master' into szabodanika 2022-11-06 23:21:45 +02:00
default.nix changes like 2023-02-17 11:28:09 +01:00
flake.lock changes like 2023-02-17 11:28:09 +01:00
flake.nix changes like 2023-02-17 11:28:09 +01:00
LICENSE Create LICENSE 2022-04-27 16:00:53 +01:00
README.md readme updates 2023-02-17 19:25:29 +01:00
SECURITY.md Getting ready for 1.2.0 release: many smaller requests implemented 2022-10-29 14:11:55 +03:00
shell.nix changes like 2023-02-17 11:28:09 +01:00

MicroBin

MicroBin is a super tiny, feature rich, configurable, self-contained and self-hosted paste bin web application. It is very easy to set up and use, and will only require a few megabytes of memory and disk storage. It takes only a couple minutes to set it up, why not give it a try now?

Note about this fork

I've forked MicroBin due to apparent neglect from the maintainer, and to fix various issues and annoyances to me personally.

TODOs:

  • Proper database (seriously, json isn't a database)
  • Configurable endpoints (so a url shortener isn't lengthened by /url/)
  • Proper auth and permissions (so a single user can also use it and send links)
  • Customizable keys (so you can make fixed pastas)
    • Customizable wordset and length for the names
  • Non-env/args configurations

Features

  • Is very small
  • Entirely self-contained executable, MicroBin is a single file!
  • Animal names instead of random numbers for pasta identifiers (64 animals)
  • File uploads (eg. server.com/file/pig-dog-cat)
  • Raw text serving (eg. server.com/raw/pig-dog-cat)
  • URL shortening and redirection
  • QR code support
  • Very simple database (JSON + files) for portability, easy backups and integration
  • Listing and manually removing pastas (/pastalist)
  • Private and public, editable and final, automatically and never expiring pastas
  • Syntax highlighting
  • Automatic dark mode and custom styling support with very little CSS and only vanilla JS (see water.css)
  • Most of the above can be toggled on and off!

What is a "pasta" anyway?

In MicroBin, a pasta can be:

  • A text that you want to paste from one machine to another, eg. some code,
  • A file that you want to share, eg. a video that is too large for Discord, a zip with a code project in it or an image,
  • A URL redirect.

When is MicroBin useful?

You can use MicroBin:

  • As a URL shortener/redirect service,
  • To send long texts to other people,
  • To send large files to other people,
  • To serve content on the web, eg. configuration files for testing, images, or any other file content using the Raw functionality,
  • To move files between your desktop and a server you access from the console,
  • As a "postbox" service where people can upload their files or texts, but they cannot see or remove what others sent you - just disable the pastalist page
  • To take notes! Simply create an editable pasta.

...and many other things, why not get creative?

MicroBin and MicroBin.eu are available under the BSD 3-Clause License.

© Dániel Szabó 2022