{"id":29662062,"url":"https://github.com/kindlyfire/nci","last_synced_at":"2026-05-16T13:02:27.531Z","repository":{"id":305299182,"uuid":"1020937684","full_name":"kindlyfire/nci","owner":"kindlyfire","description":"Publish and query content indexes on nostr","archived":false,"fork":false,"pushed_at":"2025-07-19T08:28:27.000Z","size":26,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-19T13:25:27.179Z","etag":null,"topics":["ipfs","nostr","torrent"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/kindlyfire.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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,"zenodo":null}},"created_at":"2025-07-16T16:11:34.000Z","updated_at":"2025-07-19T08:28:31.000Z","dependencies_parsed_at":"2025-07-19T13:37:30.666Z","dependency_job_id":null,"html_url":"https://github.com/kindlyfire/nci","commit_stats":null,"previous_names":["kindlyfire/nci"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/kindlyfire/nci","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kindlyfire%2Fnci","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kindlyfire%2Fnci/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kindlyfire%2Fnci/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kindlyfire%2Fnci/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kindlyfire","download_url":"https://codeload.github.com/kindlyfire/nci/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kindlyfire%2Fnci/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33103970,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-16T04:41:52.686Z","status":"ssl_error","status_checked_at":"2026-05-16T04:41:52.009Z","response_time":115,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["ipfs","nostr","torrent"],"created_at":"2025-07-22T11:00:44.344Z","updated_at":"2026-05-16T13:02:27.525Z","avatar_url":"https://github.com/kindlyfire.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# nci\n\n`nci` is a program to search and publish content indexes (lists of URLs, IPFS\nCIDs, magnet links, ...) hosted on the Nostr network.\n\nSpec: [SPECIFICATION.md](SPECIFICATION.md)\n\n## Installation\n\n```bash\nnpx @kindlyfire/nci --help\n\n# Or install it globally\nnpm install -g @kindlyfire/nci\nnci --help\n\n# Usage: nci [options] [command]\n#\n# CLI for managing content indexes on nostr\n#\n# Commands:\n#   search [options] \u003csource\u003e [query]  Search content indexes\n#   publish [options] \u003cfile\u003e           Publish an index file to nostr\n#   delete [options]                   Delete all NCI events associated with a private key\n#   list-indexes [options]             List all content indexes\n#   key [privkey]                      Generate or display Nostr keys\n#   help [command]                     display help for command\n```\n\n## Usage\n\nPublish an index:\n\n```bash\n$ npx @kindlyfire/nci publish example-index.yaml --privkey \u003cyour-private-key\u003e\n📄 Loading index file: example-index.yaml\n   Primary Key: programming-tutorials\n   Title: Programming Tutorials (dummy data)\n   Summary: Collection of programming tutorials and courses  (dummy data)\n   URL: https://github.com/example/programming-tutorials\n   Items: 5\n\n--- Event 1/2\n✅ All relays succeeded\n\n--- Event 2/2\n✅ All relays succeeded\n\nURI: nci:\u003cpublic key\u003e?k=programming-tutorials\n```\n\nQuery an index:\n\n```bash\n$ npx @kindlyfire/nci search 'nci:\u003cpublic key\u003e?k=programming-tutorials' type\nFound 1 matching item(s) in \"Programming Tutorials (dummy data)\":\n\n1. TypeScript Fundamentals (1/15/2024)\n   Complete guide to TypeScript from basics to advanced features\n   typescript, javascript, programming\n   https://example.com/typescript-fundamentals.mp4, ipfs://QmTypeScriptHash123456\n```\n\nList indexes. Without any kind of filters, this will list all indexes found on Nostr:\n\n```bash\n$ npx @kindlyfire/nci list-indexes\n📋 Listing content indexes...\n\nFound 1 index(es):\n\n1. Programming Tutorials\n   Collection of programming tutorials and courses\n   URL: https://github.com/example/programming-tutorials\n   URI: nci:null?k=programming-tutorials\n   Items: 0\n```\n\n## Future Ideas\n\nPotential ideas for future related work, not necessarily in this project:\n\n-   An MCP server\n-   A web interface\n    -   This can be an SPA published on IPFS\n-   Add JSON output option for the CLI commands\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkindlyfire%2Fnci","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkindlyfire%2Fnci","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkindlyfire%2Fnci/lists"}