nostrudel/README.md

53 lines
2.1 KiB
Markdown
Raw Normal View History

2023-12-08 13:39:53 -06:00
<p align="center">
<img src="screenshots/icon.svg" alt="Project Logo" width="21%">
</p>
2023-02-07 17:04:19 -06:00
# noStrudel
2023-02-07 17:04:18 -06:00
2023-08-05 18:26:41 -05:00
> NOTE: This client is still in development and will have bugs
2023-02-17 14:49:07 -06:00
2023-10-25 11:21:03 -05:00
noStrudel is a web app for exploring the [nostr](https://github.com/nostr-protocol) protocol.
2023-02-17 14:49:07 -06:00
2023-10-25 11:21:03 -05:00
The goal of this project is to build a nostr client that lets a user explore the nostr protocol by showing as much information as possible and letting the user view the underlying events.
2023-02-17 14:49:07 -06:00
Live Instance: [nostrudel.ninja](https://nostrudel.ninja)
2023-10-25 11:21:03 -05:00
There are many features missing from this client and I wont get around to implementing everything. but if you like the client you are welcome to use it.
You can find more clients with more features on [nostrapps.com](https://www.nostrapps.com/) or in the [awesome-nostr](https://github.com/aljazceru/awesome-nostr) repo.
2023-02-17 14:49:07 -06:00
2023-06-06 13:45:33 -04:00
## Please don't trust my app with your nsec
2023-02-17 14:49:07 -06:00
2023-10-25 11:21:03 -05:00
While logging in with a secret key is supported. please don't. This is a web client, so there is always a chance of XXS attacks that could steal your secret key.
2023-02-17 14:49:07 -06:00
2023-06-06 13:45:33 -04:00
I would recommend you use a browser extension like [Alby](https://getalby.com/) or [Nos2x](https://github.com/fiatjaf/nos2x)
2023-02-17 14:49:07 -06:00
2023-07-16 15:50:42 -05:00
## Running with docker
2023-07-16 15:50:42 -05:00
```bash
2023-10-17 13:07:49 -05:00
docker run --rm -p 8080:80 ghcr.io/hzrd149/nostrudel:master
2023-07-16 15:50:42 -05:00
```
2024-01-29 11:58:46 +00:00
## Docker compose and other services
noStrudels docker image has a few options for connecting to other services running locally
- `CACHE_RELAY`: if set the client will use the relay to cache all of its events instead of storing them in the browser cache
- `IMAGE_PROXY`: can be set to a local [imageproxy](https://github.com/willnorris/imageproxy) instance so the app can resize profile images
- `CORS_PROXY`: can be set to a local [cors-anywhere](https://github.com/Rob--W/cors-anywhere) instance so the app can proxy http request
You can find a full example of all these services in the [docker-compose.yaml](./docker-compose.yaml)
2023-06-06 13:45:33 -04:00
## Running locally
2023-02-07 17:04:18 -06:00
```bash
2023-06-06 13:45:33 -04:00
git clone git@github.com:hzrd149/nostrudel.git
cd nostrudel
yarn install
2023-08-05 18:26:41 -05:00
yarn dev
2023-02-07 17:04:18 -06:00
```
2023-02-17 14:49:07 -06:00
## Contributing
2023-07-16 15:50:42 -05:00
This is only a personal project, so if you open any PRs please keep them small. thanks