https://github.com/bndw/nostr-media-server
Implementing michaelhall923/nostr-media-spec
https://github.com/bndw/nostr-media-server
Last synced: 11 months ago
JSON representation
Implementing michaelhall923/nostr-media-spec
- Host: GitHub
- URL: https://github.com/bndw/nostr-media-server
- Owner: bndw
- Created: 2023-01-30T21:20:35.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-02-13T03:49:43.000Z (over 3 years ago)
- Last Synced: 2025-07-10T16:30:50.910Z (about 1 year ago)
- Language: Go
- Size: 36.1 KB
- Stars: 5
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# nostr-media-server
Implements the proposed [nostr-media-spec](https://github.com/michaelhall923/nostr-media-spec).
This server handles both uploads and downloads of media content. By default
the uploaded media is stored on the local filesystem, but the code is written
with a pluggabe storage interface to allow additional storage providers.
### Status
- [x] Getting host info at https:///.well-known/nostr.json
- [x] Uploading media
- [x] Getting media
- [x] Getting media: filename optional
- [x] Getting media: type optional
- [ ] Getting media: potential query params (size, aspect ratio)
### Quickstart
1. In one terminal, start the server on port 9000:
```
make run
```
2. In a second terminal, upload a test image:
```
cd curls && ./upload.sh
```
See `config.yml` for configuration options.