An open API service indexing awesome lists of open source software.

https://github.com/choopm/pasted

Minimalistic paste daemon written in golang
https://github.com/choopm/pasted

docker golang minimal pastebin tcp-server

Last synced: 3 days ago
JSON representation

Minimalistic paste daemon written in golang

Awesome Lists containing this project

README

        

## Run the latest release using docker
```shell
docker run --rm -it -p 10101:10101 -v "$(pwd)/pastes:/data" ghcr.io/choopm/pasted
```

## Environment variables
* `HOST=[::]`
* `PORT=10101`
* `URL_ROOT=https://paste.0pointer.org/`

## Building local binaries
# Current OS/Platform
make

Binaries can be found in `dist/`

## Running a dev container
When using VS Code you may be asked to reopen the project in a devcontainer, do so.

Afterwards use `go run cmd/pasted/pasted.go` to run the app.