วิธี 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
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.
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
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

Two weeks for me 🥹
I hope there is no spam. 🤣
Cafe managers can regularly clean up for events that are not of high quality
This is an important use case, and later I will add the feature of importing/exporting events.
%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
Writing tests for such a method could be painful. It may also be challenging for other developers to contribute to this code. 🤣
📊 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
It's a very important use case, and I'm also planning to add support for RESTful API on my relay. Is there currently a standard for API interfaces?
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
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



