Skip to content

w3irdrobot/uploadr

Repository files navigation

Uploadr

Uploadr is a simple server aimed at enabling Nostr users to host their own images in a simple way. Along with a simple integration into a client, a user can have an image uploaded to their Uploadr server and later displayed, all without using centralized services such as nostr.build and inosta.cc (No shade thrown at either project. They are both great and Inosta is OSS). The idea is that a client could allow a user to set the location of their Uploadr instance, and from the on images would be uploaded their and the returned URL would be inserted into the broadcasted note.

Deployment

Prebuilt binaries are available in the GitHub releases. The suggested way to get up and running is to copy the example configuration and change it as is needed for the specific deployment.

Development

The service is written in simple Golang. There isn't much to it really. A domain will be required to be configured using the command line or in a TOML config file that the service is told about using the command line as well.

go run . --domain http://localhost:8080

or

cp config.example.toml config.toml
go run . --config config.toml

This will start up a service on port :8080 by default.

About

Nostr upload service with signature verification

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages