https://github.com/kaamkiya/kabin
A pastebin alternative
https://github.com/kaamkiya/kabin
backend bin file-server fileshare go golang pastebin snippets
Last synced: 10 days ago
JSON representation
A pastebin alternative
- Host: GitHub
- URL: https://github.com/kaamkiya/kabin
- Owner: Kaamkiya
- License: unlicense
- Created: 2024-11-11T01:17:59.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-12T22:08:57.000Z (over 1 year ago)
- Last Synced: 2025-03-01T00:54:40.217Z (over 1 year ago)
- Topics: backend, bin, file-server, fileshare, go, golang, pastebin, snippets
- Language: Go
- Homepage:
- Size: 18.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.adoc
- License: LICENSE
Awesome Lists containing this project
README
= kabin
:toc: preamble
A simple PasteBin alternative, written in Go, with raw HTML, CSS and JS for the frontend.
Pronounced like cabin.
The first two letters of my username combined with "bin".
== About
This project is a simple place to store code.
=== Built with
* https://go.dev[Go]
* https://go-chi.io[Chi]
* https://ace.c9.io[Ace]
== Usage
=== As an admin
* Install with Go:
[source,bash]
----
git clone https://codeberg.org/Kaamkiya/kabin
cd kabin
go build ./cmd/kabin/
----
* Run (this **must** be done from the root of the repo
[source,bash]
----
./kabin # Use -port to specify something other than 47623
----
* Enjoy! Saved pastes are stored in pastes.db if you want to see them.
=== As a user
* Visit the site
* Set a language (default: plain text)
* Enter something (NOT something personal; pastes aren't encrypted)
* Copy the link
* Send it to someone
== Roadmap
* Add expiry (max two weeks)
* Improve panel formatting
== License
This project is licensed under the Unlicense.
Learn more at https://unlicense.org.