{"id":19954528,"url":"https://github.com/chebizarro/nostrc","last_synced_at":"2025-05-03T19:32:26.679Z","repository":{"id":257994803,"uuid":"867931223","full_name":"chebizarro/nostrc","owner":"chebizarro","description":"A C library for the Nostr protocol","archived":false,"fork":false,"pushed_at":"2024-10-23T23:55:34.000Z","size":425,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-10-26T05:12:05.132Z","etag":null,"topics":["anti-censorship","c","nostr","nostr-protocol","wip-do-not-use"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/chebizarro.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-10-05T03:24:53.000Z","updated_at":"2024-10-23T23:55:37.000Z","dependencies_parsed_at":"2024-10-23T05:55:51.309Z","dependency_job_id":"f5a5fdad-87bf-48eb-9574-0852ba2662ca","html_url":"https://github.com/chebizarro/nostrc","commit_stats":null,"previous_names":["chebizarro/nostrc"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chebizarro%2Fnostrc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chebizarro%2Fnostrc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chebizarro%2Fnostrc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chebizarro%2Fnostrc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chebizarro","download_url":"https://codeload.github.com/chebizarro/nostrc/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224371515,"owners_count":17300204,"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":["anti-censorship","c","nostr","nostr-protocol","wip-do-not-use"],"created_at":"2024-11-13T01:20:51.340Z","updated_at":"2024-11-13T01:20:51.957Z","avatar_url":"https://github.com/chebizarro.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Nostr C Library\n\nThe Nostr C library provides an implementation of the Nostr protocol, including various NIPs (Nostr Improvement Proposals). This library aims to be highly portable, suitable for use in IoT environments, and provides bindings for integration with the GNOME desktop environment.\n\n## Features\n\n- Nostr event handling\n- JSON (de)serialization with optional NSON support\n- NIP implementations (e.g., NIP-04, NIP-05, NIP-13, NIP-19, NIP-29, NIP-31, NIP-34)\n- Optional memory management handled by the library\n\n## Installation\n\n### Dependencies\n\n- C compiler (GCC/Clang)\n- CMake\n- libsecp256k1\n- libjansson (optional, for JSON parsing)\n\n### Building\n\n```sh\ngit clone https://github.com/chebizarro/nostrc.git\ncd nostrc\nmkdir build\ncd build\ncmake ..\nmake\nsudo make install\n```\n\n## NIP Implementations\n\nThis library includes various Nostr Improvement Proposals (NIPs):\n\n- **NIP-04**: Encrypted Direct Messages\n- **NIP-05**: Mapping Nostr keys to DNS-based identifiers\n- **NIP-13**: Proof-of-Work\n- **NIP-19**: Bech32-encoded entities\n- **NIP-29**: Simple group management\n- **NIP-31**: Alternative content\n- **NIP-34**: GitHub-like repository management on Nostr\n\n## Contributing\n\nContributions are welcome! Please open issues or submit pull requests on GitHub.\n\n### Adding New NIPs\n\nTo add a new NIP:\n\n1. Create a new folder in the `nips` directory.\n2. Implement the required functionality in C.\n3. Update the headers and add test cases.\n4. Ensure all tests pass and submit a pull request.\n\n## License\n\nThis project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchebizarro%2Fnostrc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchebizarro%2Fnostrc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchebizarro%2Fnostrc/lists"}