Simple self-contained pastebin solution written in Go.
Find a file
Julien Riou d43c645039
All checks were successful
/ pre-commit (push) Successful in 1m40s
Several changes to clients
coller:
- Add FILENAME as positioned argument (fixes #18)
- Add -html argument to show the URL of the webpage

copier:
- Rename -w to -ask-password

both:
- Rename -b to -ask-bearer

Signed-off-by: Julien Riou <julien@riou.xyz>
2025-08-28 12:48:03 +02:00
.forgejo/workflows test: Add Forgejo actions 2025-08-25 17:38:48 +02:00
docker fix(docker): Add collerd.json example file 2025-08-26 12:33:09 +02:00
src Several changes to clients 2025-08-28 12:48:03 +02:00
.gitignore fix(docker): Add collerd.json example file 2025-08-26 12:33:09 +02:00
.pre-commit-config.yaml test: Add Forgejo actions 2025-08-25 17:38:48 +02:00
docker-compose.yml Several fixes and features 2025-08-26 12:30:41 +02:00
Dockerfile Add Dockerfile 2025-08-22 07:57:08 +02:00
LICENSE Initial commit 2025-08-21 16:22:03 +02:00
Makefile Initial commit 2025-08-21 16:22:03 +02:00
README.md docs(README): Add docker compose example 2025-08-28 10:13:49 +02:00
VERSION Initial commit 2025-08-21 16:22:03 +02:00

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.