From 5f0ea81f90fbfd3d0b91a48a2ad4f97be06d8441 Mon Sep 17 00:00:00 2001 From: Mitchell Riedstra Date: Sat, 21 Aug 2021 20:13:22 -0400 Subject: Add a simple client and update the readme --- readme.md | 30 +++++++----------------------- 1 file changed, 7 insertions(+), 23 deletions(-) (limited to 'readme.md') diff --git a/readme.md b/readme.md index 8a1bb21..610ff6d 100644 --- a/readme.md +++ b/readme.md @@ -1,27 +1,11 @@ -# Brutally simple pastebin +# 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. +Very much a work in progress. -This is the result of about an hour and a half of work. +There's a simple server and client. -It will create a binary with embedded templates. Simply point it at the -directory in which you'd like to store your pastes. +The server does require authorization and has some minimal documentation +when you fire it up. -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. - -If you have go already installed and properly configured on your system and -would like to mess with it: - -``` -go get riedstra.dev/mitch/bpaste -``` - -Will install it. +The client require a configuration file in your home folder and outputs +the URL to the paste if successful. -- cgit v1.2.3