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

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
```