Simple self-contained pastebin solution written in Go.
All checks were successful
/ pre-commit (push) Successful in 1m4s
I was asked to add the possibility to hide the upload button to avoid users confuse this tool for a file sharing app. This is only on the front. No breaking changes, by default the button is displayed. Co-authored-by: Thibault Piron <thibault.a.piron@gmail.com> Reviewed-on: #25 Reviewed-by: Julien Riou <jriou@monitoring@riou.xyz> Co-authored-by: tapiron <tapiron@monitoring@riou.xyz> Co-committed-by: tapiron <tapiron@monitoring@riou.xyz> |
||
---|---|---|
.forgejo/workflows | ||
docker | ||
src | ||
.gitignore | ||
.pre-commit-config.yaml | ||
docker-compose.yml | ||
Dockerfile | ||
LICENSE | ||
Makefile | ||
README.md | ||
VERSION |
Coller
Simple self-contained pastebin solution written in Go.
Description
Coller is a set of binaries:
- collerd: HTTP server to handle note management
- coller: CLI to create notes
- copier: CLI to download and decrypt notes (client-side decryption)
Installation
From source code
Requires Go.
git clone https://git.riou.xyz/jriou/coller.git
cd coller
make
sudo cp -p bin/* /usr/local/bin/
Docker
Standalone
git clone https://git.riou.xyz/jriou/coller.git
cd coller
docker build -t coller:latest .
docker run --rm --name collerd -p 8080:8080 coller:latest
Then go to http://localhost:8080 (website).
Compose
Update the database password in:
Start the service:
docker-compose up -d
Then go to http://localhost:8080 (website).
Ansible
See ansible-role-coller.
Usage and configuration
Contributions
Contributions are welcomed! Feel free to provide unit tests when possible. Lint
your code with go fmt
. If you don't feel confident enough to contribute, feel
free to open an issue to describe the feature you would like to see implemented
or the problem you are facing.
License
See LICENSE.