Karton

A small, rusty pastebin with URL shortener functionality.

The github repository is a mirror of this gitlab repository.

This is a fork of MicroBin.

Features

Installation guide

Karton is available on Docker hub, crates.io and using the nix flake.

The only "officially supported" (I will actively debug and search for the problem) method is the last one using nix flakes.

Installation via the nix flake

Add the repository to your inputs.

nix karton.url = "git+https://gitlab.com/obsidianical/microbin.git";

```nix

microbin.nix

{ inputs, config, pkgs, ... }: { environment.systemPackages = [ inputs.karton.defaultPackage."x8664-linux" ]; systemd.services.karton = { after = [ "network.target" ]; wantedBy = [ "multi-user.target" ]; environment = { # set environment variables to configure karton KARTONHASHIDS = ""; KARTONEDITABLE = ""; KARTONPRIVATE = ""; KARTONHIGHLIGHTSYNTAX = ""; # adjust this to your domain KARTONPUBLICPATH = "https://example.org"; KARTONQR = ""; # configure endpoints to be shorter KARTONURLEP = "u"; KARTONRAWEP = "r"; KARTONPASTAEP = "p"; }; script = "${inputs.karton.defaultPackage."x8664-linux"}/bin/karton"; # register a simple systemd service serviceConfig = { Type = "simple"; RootDirectory="/"; WorkingDirectory = "/karton"; }; }; } ```

Roadmap

This is only a rough time guide for what to get done by which version, nothing fixed.

v2.0

v2.1

v2.2

v2.3

v3.0

future

not related to features, therefor not versioned

Contact

This fork of MicroBin was created by Schrottkatze.

Join the matrix room to chat!

Contact me via e-mail at contact@schrottkatze.de.