2 stable releases
1.1.0 | Aug 17, 2023 |
---|---|
1.0.0 | Jul 26, 2023 |
#879 in HTTP server
3.5MB
773 lines
tamako🐞
tamako is a cozy, minimalistic, single-user, anonymous whispers service
Prerequisites
- sqlx-cli
- a postgresql database
Environment variables
Name | Type | Default | Notes |
---|---|---|---|
TAMAKO_HOST |
String | 127.0.0.1 | the host to run the server on |
TAMAKO_PORT |
u16 | 8715 | the port to serve the server on |
DATABASE_URL |
String | none | the database url. this should be a valid postgresql connection url |
WEBHOOK_URL |
String | none | (optional) the discord webhook url. this will be used to send private and public whispers to a discord channel |
TAMAKO_SECRET |
String | none | the secret key used for authentication. think of it like a master password |
TAMAKO_USER_NAME |
String | tamako | (optional) used in the fronted header |
TAMAKO_USER_DESCRIPTION |
String | Cozy anonymous whispers 🐞 | (optional) used in the fronted header |
Usage
- Clone the repo
- Rename
.env.example
to.env
and change env variables inside it - Build tamako:
cargo build --release
- Run tamako:
./target/release/tamako
TUI
tamako comes with a pretty little tui frontend for it called mochi
Installation
go install github.com/fawni/tamako/cmd/mochi@latest
Usage
mochi --url https://tamako.pii.at
mochi -h
for more info.
License
Dependencies
~27–42MB
~740K SLoC