{"id":30199753,"url":"https://github.com/codingwithmanny/devdaorare","last_synced_at":"2025-08-13T08:41:53.780Z","repository":{"id":46700055,"uuid":"407890315","full_name":"codingwithmanny/devdaorare","owner":"codingwithmanny","description":null,"archived":false,"fork":false,"pushed_at":"2021-09-29T14:38:31.000Z","size":4716,"stargazers_count":2,"open_issues_count":4,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-08-12T04:04:46.929Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/codingwithmanny.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}},"created_at":"2021-09-18T14:59:50.000Z","updated_at":"2023-02-06T22:50:58.000Z","dependencies_parsed_at":"2022-09-10T15:20:47.270Z","dependency_job_id":null,"html_url":"https://github.com/codingwithmanny/devdaorare","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/codingwithmanny/devdaorare","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codingwithmanny%2Fdevdaorare","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codingwithmanny%2Fdevdaorare/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codingwithmanny%2Fdevdaorare/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codingwithmanny%2Fdevdaorare/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codingwithmanny","download_url":"https://codeload.github.com/codingwithmanny/devdaorare/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codingwithmanny%2Fdevdaorare/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270212081,"owners_count":24546101,"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":"2025-08-13T02:00:09.904Z","response_time":66,"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":"2025-08-13T08:41:45.852Z","updated_at":"2025-08-13T08:41:53.747Z","avatar_url":"https://github.com/codingwithmanny.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Dev DAO Rare\n\nWebsite dedicated to showing the rarity of https://developerdao.com minted NFTs.\nThe website shows the rarity based on how often keywords are used and weights\neach keyword to give an average rarity value (lowest number being the most\nrare).\n\n**Website:**\n[https://codingwithmanny.github.io/devdaorare/](https://codingwithmanny.github.io/devdaorare/)\n\n## Requirements\n\n- NVM or NodeJS `v14.17.6`\n- Yarn `v1.22.0`\n\n## Local Development\n\n1. Install the correct version of NodeJS\n\n```bash\nnvm install;\n```\n\n2. Install dependencies\n\n```bash\nyarn install;\n```\n\n3. Start local development\n\n```bash\nyarn dev;\n```\n\n## Building\n\n1. Build files\n\n```bash\nyarn build;\n```\n\n2. (Optional) Test build\n\n```bash\nnpx http-server dist;\n# Available on:\n#   http://127.0.0.1:8080\n```\n\n## Runnig Rarity Scripts\n\n## Pull Data Script\n\n**Note:** (For now), you will need a ETHERSCAN_API_KEY set in `scripts/.env`\n\n### Script Commands:\n\n- `-from` - id to start retrieving from - Expects an `integer` or the value of\n  `lastid`\n- `-to` - id to end retrieving to - Expects an `integer`\n- `-y` - answers prompt if they want to continue regardless of how much it will\n  take\n- `-r` - enables repeat on failure up to 3 times\n\n### Examples on how to run:\n\n```bash\nyarn pull -from=lastid -to=8000;\n```\n\n```bash\nyarn pull -from=200 -to=300 -y;\n```\n\n```bash\nyarn pull -from=lastid -to=7000 -y -r;\n```\n\n### Last Id \u0026 API Count\n\nThe script will create two files when executing the script:\n\n- `scripts/.apicount` which keeps track of how many API requests have been made\n- `scripts/.lastid` which is the last id that was retrieve so that this value\n  can be used for `-from=lastid`\n\n## Stats Data Script\n\nThe _stats.ts_ file is in charge of generating the appropriate rarity ranking.\n\n### Script Commands:\n\n- `-weights` - Shows the weights used for each trait - `void`\n- `-id` - id to retrieve rarity stats - Expects an `integer` between `1` and\n  `TOTAL_TOKENS`\n- `-results` - number of results to show - Expects an `integer` between `1` and\n  `TOTAL_TOKENS` . By de fault is `50`-\n- `-generate` - outputs the `JSON_DATA_RANKING` result to `DATA_STATS_FILE` -\n  `void`\n\nYou can easily run using:\n\n```bash\nyarn stats;\n```\n\n## GitHub Page Generation\n\nGenerates deployed data to the `/docs` folder for GitHub Pages.\n\n```bash\nyarn pages;\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodingwithmanny%2Fdevdaorare","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodingwithmanny%2Fdevdaorare","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodingwithmanny%2Fdevdaorare/lists"}