{"id":35780274,"url":"https://github.com/casper-network/condor-discussions-indexer","last_synced_at":"2026-01-07T06:00:37.859Z","repository":{"id":247885655,"uuid":"823859736","full_name":"casper-network/condor-discussions-indexer","owner":"casper-network","description":"Tool used to query the discussion posts of the condor-info repository","archived":false,"fork":false,"pushed_at":"2024-07-11T04:18:06.000Z","size":11,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"main","last_synced_at":"2024-07-11T05:29:38.465Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/casper-network.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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-07-03T21:55:14.000Z","updated_at":"2024-07-11T05:29:49.435Z","dependencies_parsed_at":"2024-07-11T05:29:41.218Z","dependency_job_id":"ddb40328-b24a-4e6f-8dd5-cc18bb127e23","html_url":"https://github.com/casper-network/condor-discussions-indexer","commit_stats":null,"previous_names":["casper-network/condor-discussions-indexer"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/casper-network/condor-discussions-indexer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/casper-network%2Fcondor-discussions-indexer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/casper-network%2Fcondor-discussions-indexer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/casper-network%2Fcondor-discussions-indexer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/casper-network%2Fcondor-discussions-indexer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/casper-network","download_url":"https://codeload.github.com/casper-network/condor-discussions-indexer/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/casper-network%2Fcondor-discussions-indexer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28233229,"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","status":"online","status_checked_at":"2026-01-07T02:00:05.975Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2026-01-07T06:00:08.231Z","updated_at":"2026-01-07T06:00:37.843Z","avatar_url":"https://github.com/casper-network.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Condor Discussions Indexer\n\nThis tool is used to query the discussion posts of the [Condor Info](https://github.com/casper-network/condor-info) repository. It can provide the maintainer's post as well as index the comments and denote which is marked as an answer.\n\n## Install\n\n```bash\ngit clone https://github.com/casper-network/condor-discussions-indexer\ncd condor-discussions-indexer\nnpm install\n```\n\n[Create a Personal Access Token through GitHub](https://github.com/settings/tokens/new), providing access only to `read:discussion`.\n\nCreate a new _.env_ file:\n\n```bash\ntouch .env\n```\n\nPaste in your new Personal Access Token:\n\n```bash\nnano .env\n```\n\n_Example:_\n\n```\nGITHUB_PAT=ghp_sgaSFSjBzf7ltXqWj6Y87ljFRgrOyt0ziIYy\n```\n\n## Run\n\nFirst, create a file _usernames.txt_ in the project root:\n\n```bash\ntouch usernames.txt\n```\n\nand populate it with one user to track per line:\n\n_Example:_\n\n```\ndylanireland\nsczembor\nmelpadden\n```\n\nThe output will only consist of the users listed in the _usernames.txt_ file.\n\nGet a discussion post by providing the discussion number:\n\n```bash\nnpm run get-discussion 19\n```\n\nThe script will create a CSV file named _discussions\\_`{DISCUSSION_NUMBER}`.csv_ containing each comment as a row of data.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcasper-network%2Fcondor-discussions-indexer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcasper-network%2Fcondor-discussions-indexer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcasper-network%2Fcondor-discussions-indexer/lists"}