🐰 markdown pastebin https://fluffle.cc
Find a file
2025-07-26 01:01:45 -04:00
app add: modify codes 2025-07-26 01:01:45 -04:00
src add: modify codes 2025-07-26 01:01:45 -04:00
.gitignore fix: image floats, link color metadata 2025-07-25 18:06:29 -04:00
Cargo.lock add: modify codes 2025-07-26 01:01:45 -04:00
Cargo.toml add: modify codes 2025-07-26 01:01:45 -04:00
justfile add: better layout 2025-07-25 15:12:15 -04:00
LICENSE Initial (full) 2025-07-20 02:49:42 -04:00
README.md add: check for ip bans 2025-07-25 18:33:16 -04:00

🐰 fluffle

Fluffle is a familiar Markdown pastebin-y site :)

Since Tetratto is used as a backend, you'll obviously need to create an app at https://tetratto.com/developer. Once you've created the app, scroll down to "Secret key" and roll the key. Copy the key since you'll need it for later.

Usage

Once you've cloned the repository, cd into the app directory and run cargo run -r.

Before you run the server, however, you should create a .env file to store your API key (that you rolled earlier). In the .env file, put the following:

API_KEY=<your key>

So if your key was "ABCD123", you would have:

API_KEY=ABCD123

Once this file is in place, you can safely run the server. You can also optionally add a PORT variable in there to change the port number. If you don't change the port, you can find the server at http://localhost:9119.

It's important to note that you're fairly limited on app storage without the Tetratto developer pass. You can manage your billing settings at https://tetratto.com/settings#/account/billing.

Customization

You may notice the public and templates_src directories inside of app/. If you cd into a fresh directory and copy and paste these directories, you're able to edit any file within them and run the binary from that new directory to have it read these files.

You can build (without running) for release using the following command:

cargo build -r

Once you've built the binary, it'll be located at (from the root fluffle/ directory) target/release/fluffle.

All templates are compiled with nanoneo, so it's recommended that you familiarize yourself with that syntax.

Attribution

Fluffle is licensed under the AGPL-3.0 license. Tetratto is also licensed under the AGPL-3.0 license.