Simple self-contained pastebin solution written in Go.
All checks were successful
/ pre-commit (push) Successful in 1m13s
Signed-off-by: Julien Riou <julien@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.