aboutsummaryrefslogtreecommitdiff
path: root/readme.md
blob: 5b6f12877f199b163eba582b0fa585cb987942cf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Brutally simple pastebin

Decided to challenge myself to write a really simple pastebin in go, utilizing
almost nothing but the standard library in less than an hour.

This is the result of about an hour and a half of work.

It will create a binary with embedded templates. Simply point it at the
directory in which you'd like to store your pastes.

Each paste is a file, a random id assigned at creation. There's no way to edit
or change a paste. The only way to delete it is to remove it from the
filesystem.

There's no indexing function or search either.

There's also absolutely no protection against people spamming the API until
your disk is full, no authentication either.