kphrx / noxir Goto Github PK
View Code? Open in Web Editor NEWNostr Relay in Elixir with Mnesia
Home Page: http://kpherox.dev/noxir/
License: MIT License
Nostr Relay in Elixir with Mnesia
Home Page: http://kpherox.dev/noxir/
License: MIT License
hey! I've noticed, after EOSE
your relay sends commands as strings instead of arrays, but before EOSE
it works correct
< ["EVENT","X",{"id":"8f27bce766a07c3956d2e97af42add442ccfff5572eeb582bfdf86ef7135da7b","kind":1,"content":"Don't Worry, Be Happy.\n\t\t-- Meher Baba","pubkey":"82bd12a7f8f433ab5b26938def285925fbe131342344e6087df30800a7a7244d","created_at":1703757074,"tags":[],"sig":"e1483f5cd69069fb0626302e0cd997d03071469e3ec374a8a76dcab88cd2c57b897f4685142c289d23117934691e2b6b5e75ba9f19fa8e0ab59d16493f99fc15"}]
< ["EVENT","X",{"id":"9e3bdf7604b00b630dc72751baf718885a0a7e8d2e5180a9890833e310021db4","kind":1,"content":"The proper method for hastening the decay of error is not by brute force, or by regulation which is one of the classes of force, to endeavour to reduce men to intellectual uniformity; but on the contrary by teaching every man to think for himself.\n\t\t-- William Godwin","pubkey":"82bd12a7f8f433ab5b26938def285925fbe131342344e6087df30800a7a7244d","created_at":1703758189,"tags":[],"sig":"edbd633d3d0f6048d646233a86977aec351ff8a1239d225b3d08234dcf639224a910f8b653427d6ae982056e38650427bc644120ff4fcd5daffe09fe18ab2222"}]
< ["EVENT","X",{"id":"44ee1c9b674d393eb5abd1df3a4385ddf712b7b75717cb019e0d15c7e2176242","kind":1,"content":"Cheer Up! Things are getting worse at a slower rate.","pubkey":"82bd12a7f8f433ab5b26938def285925fbe131342344e6087df30800a7a7244d","created_at":1703758029,"tags":[],"sig":"e473c791f39f1a3ead7260a15a8916ae85565aa04c054d4eb771400c2f6edd1d7bd0d4dcff1e6e65cfd9b1bdaaab03b0f1a7d265c69c9dc8ade840db55ead072"}]
< ["EOSE","X"]
< "[\"EVENT\",\"X\",{\"id\":\"d40d07895fa1221d36852d7197890137ee77cc86353349c952688c8ebc904213\",\"kind\":1,\"content\":\"Q:\\tHow many WASPs does it take to change a light bulb?\\nA:\\tOne.\",\"pubkey\":\"82bd12a7f8f433ab5b26938def285925fbe131342344e6087df30800a7a7244d\",\"created_at\":1703758651,\"tags\":[],\"sig\":\"638ef2f958f6332063feeafd15d0fc8577e1684e383b38b708f5905154ea2669a47c3dc274b178f273e7fd6a43f1b1cbe74fe18a2e2796161b51b3f5d79fa6ed\"}]"
< "[\"EVENT\",\"X\",{\"id\":\"24e3c314b95b2e38e78c12cf04e3ad6e44f3d62f0bb9f3541e93b0a35517b603\",\"kind\":1,\"content\":\"Q:\\tWhat is orange and goes \\\"click, click?\\\"\\nA:\\tA ball point carrot.\",\"pubkey\":\"82bd12a7f8f433ab5b26938def285925fbe131342344e6087df30800a7a7244d\",\"created_at\":1703758658,\"tags\":[],\"sig\":\"55756157e65813b009e49595111d2efdeb533597a218b493d744a9d3b6e33ce76e2cb8d2c0134b4578c68e23b8452dd177a11b9ad232f1dc2d5ec7a676638a57\"}]"
< "[\"EVENT\",\"X\",{\"id\":\"fc829255976be2d98db2d57c5fe787e4f75b32ab38e1d821f05089df60d1689c\",\"kind\":1,\"content\":\"Those who can make you believe absurdities can make you commit atrocities.\\n\\t\\t-- Voltaire\",\"pubkey\":\"82bd12a7f8f433ab5b26938def285925fbe131342344e6087df30800a7a7244d\",\"created_at\":1703758663,\"tags\":[],\"sig\":\"73fcc0d40afe54626fc9c9ff2309767cfecce85f57796467bb3bb563f1f99c50b52e1ad258d5fdab7f28be48b3df4675f8d6963e620ee6a2135d4b30a716e6e0\"}]"
< "[\"EVENT\",\"X\",{\"id\":\"d0d5b52adce7b230f86713652bffd077d995e81915023dfb2d3c149db90d50b3\",\"kind\":1,\"content\":\"Is it not plain that all these governments are systematic poisoners, interested stupefiers of the masses?\\n\\t\\t-- Mikhail Bakunin\",\"pubkey\":\"82bd12a7f8f433ab5b26938def285925fbe131342344e6087df30800a7a7244d\",\"created_at\":1703758669,\"tags\":[],\"sig\":\"a8c0495fd6373a9a90bd35c42d0845b1481e67c32eeb4de03b60347a7a2b5eb0ceaef6ed3b49878149a8a28ae3046843d55393a8c527e2b5d3d408ecd1d4ae49\"}]"
> %
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.