mirror of
https://github.com/aljazceru/sciencestr.git
synced 2025-12-17 05:54:24 +01:00
screenshots, readme,relays
This commit is contained in:
32
README.md
32
README.md
@@ -10,8 +10,34 @@ Combining [nostr](https://nostr.net) with [standard template construct](https://
|
||||
- Add links to sources in replies
|
||||
- Package in a simply deployable way
|
||||
|
||||
## Demo
|
||||

|
||||
|
||||
## How to run
|
||||
tbd
|
||||
### Manually
|
||||
```
|
||||
git clone https://github.com/aljazceru/sciencestr
|
||||
cd sciencestr
|
||||
|
||||
# install dependencies
|
||||
pip install requirements-api.txt
|
||||
pip install requirements-bot.txt
|
||||
|
||||
# configure cybrex to use openai
|
||||
cybrex - write-config -l openai --force
|
||||
export OPENAI_API_KEY="<insert your key>"
|
||||
docker run -d --name ipfs_host -v ./ipfs/staging/:/export -v .ipfs/data:/data/ipfs -p 4001:4001 -p 4001:4001/udp -p 127.0.0.1:8080:8080 -p 127.0.0.1:5001:5001 ipfs/kubo:latest
|
||||
docker run -p 6333:6333 -p 6334:6334 qdrant/qdrant
|
||||
python science-bot.py
|
||||
python api.py
|
||||
|
||||
```
|
||||
### Docker-compose
|
||||
(to be fixed)
|
||||
```
|
||||
git clone https://github.com/aljazceru/sciencestr
|
||||
cd sciencestr
|
||||
docker-compose up
|
||||
```
|
||||
|
||||
## Demo
|
||||

|
||||

|
||||
|
||||
@@ -17,12 +17,9 @@ client = Client(keys)
|
||||
client.add_relay("wss://relay.damus.io")
|
||||
client.add_relay("wss://nostr.mom")
|
||||
client.add_relay("wss://nostr.oxtr.dev")
|
||||
client.add_relay("wss://purplepag.es")
|
||||
client.add_relay("wss://a.nos.lol")
|
||||
client.add_relay("wss://nostr-01.bolt.observer")
|
||||
client.add_relay("wss://e.nos.lol")
|
||||
client.add_relay("wss://nostr-pub.semisol.dev")
|
||||
client.add_relay("wss://relay.snort.social")
|
||||
client.connect()
|
||||
|
||||
filter = Filter().pubkey(pk).kind(4).since(Timestamp.now())
|
||||
|
||||
BIN
screenshot2.jpg
Normal file
BIN
screenshot2.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 187 KiB |
BIN
screenshot3.jpg
Normal file
BIN
screenshot3.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 553 KiB |
Reference in New Issue
Block a user