{"id":13832916,"url":"https://github.com/dtonon/nostr-ruby-playground","last_synced_at":"2025-03-15T11:32:58.318Z","repository":{"id":116960016,"uuid":"564773756","full_name":"dtonon/nostr-ruby-playground","owner":"dtonon","description":"A ruby playground to learn the Nostr protocol","archived":false,"fork":false,"pushed_at":"2022-12-18T20:56:27.000Z","size":2076,"stargazers_count":17,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"main","last_synced_at":"2024-02-16T05:35:51.443Z","etag":null,"topics":["nostr","nostr-protocol","ruby"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dtonon.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2022-11-11T13:17:18.000Z","updated_at":"2024-02-16T05:35:51.443Z","dependencies_parsed_at":"2024-01-13T16:39:31.921Z","dependency_job_id":"3d382510-1588-40bd-aeac-32c7ce0f8b85","html_url":"https://github.com/dtonon/nostr-ruby-playground","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dtonon%2Fnostr-ruby-playground","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dtonon%2Fnostr-ruby-playground/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dtonon%2Fnostr-ruby-playground/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dtonon%2Fnostr-ruby-playground/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dtonon","download_url":"https://codeload.github.com/dtonon/nostr-ruby-playground/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243725010,"owners_count":20337659,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["nostr","nostr-protocol","ruby"],"created_at":"2024-08-04T11:00:33.797Z","updated_at":"2025-03-15T11:32:57.881Z","avatar_url":"https://github.com/dtonon.png","language":"Ruby","readme":"# Nostr Ruby playground\n\nA series of simple progressive Ruby scripts to learn how to interact with the [Nostr Protocol](https://github.com/nostr-protocol/nostr) following the [NIPs](https://github.com/nostr-protocol/nips).\n\n## Basic learning\n\n01. How to generate a key pair\n\n02. Convert keys to/from npub/nsec [Damus](https://github.com/damus-io/damus) Bench32 format\n\n03. Generate pub key from a private one and check it against a reference\n\n04. Create an event and check it against a reference\n\n05. Post an event to Nostr\n\n06. Post a direct message to a Nostr user\n\n## Interactive scripts\n\n07. Let's chat with another user!\n\n![](readme_assets/07-screenshot.png)\n\n08. Be alerted for new content or private messages\n\n![](readme_assets/08-screenshot.png)\n\nThe scripts contain a test key pair, feel free to update it to test.\nTo experimenting with events creation is suggested to use a local relay, you can find many implementations at [awensome-nostr](https://github.com/aljazceru/awesome-nostr).","funding_links":[],"categories":["Other links"],"sub_categories":["Client reviews and/or comparisons"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdtonon%2Fnostr-ruby-playground","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdtonon%2Fnostr-ruby-playground","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdtonon%2Fnostr-ruby-playground/lists"}