Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ptrio42/swarmstr.com
Swarmstr is a free and open source q&a nostr client
https://github.com/ptrio42/swarmstr.com
Last synced: 26 days ago
JSON representation
Swarmstr is a free and open source q&a nostr client
- Host: GitHub
- URL: https://github.com/ptrio42/swarmstr.com
- Owner: ptrio42
- License: mit
- Created: 2023-08-11T11:38:22.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-04-22T13:00:22.000Z (2 months ago)
- Last Synced: 2024-04-22T13:55:07.537Z (2 months ago)
- Language: TypeScript
- Homepage: https://swarmstr.com
- Size: 158 MB
- Stars: 11
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Lists
- awesome-nostr - Swarmstr - Your knowledge hub for curious minds (Clients / Relay lists)
README
This project is experimental. Use at your own risk!
#### What is Swarmstr?
[Swarmstr](https://swarmstr.com) is a q&a nostr web client.
React front-end is served by express.
![swarmstr preview image](https://swarmstr.com/images/swarmstr_cover-image.png)
### Dependencies
Requires redis (server side caching), postgres (nostr addresses database)
and a separate search relay (https://github.com/darashi/searchnos) for search results.Both back-end and front-end use NDK to interact with nostr.
Upon successful application start, a subscription to a given hashtag is started.
By default only events no older than ~ 7 days will be fetched (you can change that in server/server.tsx -> EVENTS_SINCE variable).
Received events are re-broadcasted to the search relay.IndexedDB is used for caching on the client side (dexie).
### Configuration file
src/resources/Config.ts
#### Environmental variables
.development.env
```
cp .example.development.env .development.env
```
.env```
cp .example.env .env
```### Building
Install deps
```
npm i
```Development
```
npm run start:dev
```Prod
Build client
```
npm run build:client
```Build server
```
npm run build:server
```Run
```
node ./dist/server.js
```### Links
[Search](https://swarmstr.com/search) 🔍
[Recent questions](https://swarmstr.com/recent) 🗒
[Nostr FAQ](https://swarmstr.com/d/nostr-faq)
[Free nostr address](https://swarmstr.com/nostr-address)
### Contact
Nostr
```
npub178umpxtdflcm7a08nexvs4mu384kx0ngg9w8ltm5eut6q7lcp0vq05qrg4
```