Avatar
Cody
8125b911ed0e94dbe3008a0be48cfe5cd0c0b05923cfff917ae7e87da8400883
Building 👨‍💻 https://jumble.social/ & nostr-relay-tray
Replying to Avatar Notoshi⚡

วิธี run relay ตัวนี้ง่ายมากๆ (window Linux Mac)

ขั้นตอนแรกเปิด Command line ขึ้นมา

ขั้นตอนที่สองให้ใช้คำสั่ง git clone

git clone https://github.com/CodyTseng/nostr-relay-tray.git

ขั้นตอนที่สามเข้าไปในโฟลเดอร์ nostr-relay-tray

cd nostr-relay-tray

ขั้นตอนที่สี่ติดตั้ง package โดยใช้คำสั่ง

npm install

ขั้นตอนที่ห้าสั่งให้ relay ทำงาน

npm run make

ถ้าไม่มี Error อะไรก็ใช้งานได้ปกติใช้เป็น Private relay เอาไว้แบล็คอัพข้อมูลโดยเชื่อม localhost:4869 หรือจะใช้เลข IP ก็ได้ต่อในวงเลนด์เดียวกัน

ใครลองแล้วเจอปัญหาอะแจ้ง Dev ได้ จะได้มีการพัฒนาต่อไป

ชอบคำนี้มาก

double-click to run.

ไว้ผมมาเดโมให้ดูสดๆ ฝากไว้แค่นี้ถ้าหากมีอะไรน่าสนใจใหม่ๆจะเอามาบอก บ๊ะบาย

#Siamstr #Nostr #Relay #notoshi

nostr:nevent1qqs0ky8kwakxyzx6p00lexrr53dnaa5xaash29xrnlaspw2mzffpgacpzamhxue69uhhyetvv9ujumn0w3hhx6rf9emkjmszyzqjtwg3a58ffklrqz9qheyvlewdps9sty3ullu30tn7sldggqygxqcyqqqqqqg98hy2w

You can also directly download and use it from https://github.com/CodyTseng/nostr-relay-tray/releases

Because the app is not signed, you may need to allow it to run in the system settings.

No need. Just need to double-click to run.

Added the feature of importing and exporting events! 🚀

Adopted the same format as Coracle (.jsonl), making it easy to import data cached by Coracle!

#nostr #relay #devstr

https://github.com/CodyTseng/nostr-relay-tray

WeChat Pay also gained popularity with the introduction of such features during a Lunar New Year. 🧧✨

I just experienced and found incredibly cool!!!!🔥🚀

#ecash #0xchat

I hope there is no spam. 🤣

Cafe managers can regularly clean up for events that are not of high quality

%APPDATA% on Windows

$XDG_CONFIG_HOME or ~/.config on Linux

~/Library/Application Support on macOS

In addition, the database is using SQLite.

%APPDATA% on Windows$XDG_CONFIG_HOME or ~/.config on Linux~/Library/Application Support on macOS

In addition, the database is using SQLite.

Thank you for your feedback. I have fixed this bug and uploaded it to GitHub. It was caused by the absence of the dock on non-macOS systems. Since I am using macOS, I didn't notice this issue. If there are any other issues, I would appreciate your feedback. 💜

It uses nostr-relay(https://github.com/CodyTseng/nostr-relay) underneath, which is the same implementation I use for my relay wss://nostr-relay.app

I'm sorry. It's not a well-known implementation 🤣

An interesting scenario comes to mind: a cafe runs a relay on its LAN. I can read messages left by others on the cafe's relay while enjoying my coffee.

It depends on the network environment. It can operate as a private relay within a local network or be exposed to the internet for anyone to access.

Built a simple tray app that effortlessly runs a Nostr Relay on your computer. 🚀 #nostr #relay #devstr

https://github.com/CodyTseng/nostr-relay-tray

📊 Just analyzed yesterday's processing time metrics for my relay REQ messages:

P50: 10ms

P90: 112ms

P95: 248ms

P98: 743ms

P99: 2493ms 😭

Always striving for better performance!

#nostr #relay

A simple relay implementation with SQLite as the database. Easy to run on your own computer. (Considering writing an Electron application recently to make all of this even more easier.) #nostr #relay

https://github.com/CodyTseng/nostr-relay-sqlite

Got tons of ideas from strfry. 🚀

Now, with just 30+ lines of code 🚀 , you can easily create a relay using @nostr-relay/* (still in development, with potential API changes).

Welcome everyone to develop your EventRepository based on your familiar databases (currently lacking documentation, you can refer to EventRepositorySqlite).

#nostr #relay #dev

https://github.com/CodyTseng/nostr-relay