{"id":16989255,"url":"https://github.com/amorriscode/claynoscorz","last_synced_at":"2026-05-19T07:33:28.368Z","repository":{"id":64167219,"uuid":"571088820","full_name":"amorriscode/claynoscorz","owner":"amorriscode","description":"A Twitter bot for posting Claynosaurz purchases","archived":false,"fork":false,"pushed_at":"2023-06-18T17:23:07.000Z","size":163,"stargazers_count":2,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-10-04T00:04:09.152Z","etag":null,"topics":["bot","nft","solana","twitter"],"latest_commit_sha":null,"homepage":"https://twitter.com/claynoscores","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/amorriscode.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2022-11-27T05:37:03.000Z","updated_at":"2023-03-04T03:41:04.000Z","dependencies_parsed_at":"2024-12-19T00:41:54.943Z","dependency_job_id":"145504e8-c491-4dcb-8788-930110d036bd","html_url":"https://github.com/amorriscode/claynoscorz","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/amorriscode/claynoscorz","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amorriscode%2Fclaynoscorz","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amorriscode%2Fclaynoscorz/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amorriscode%2Fclaynoscorz/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amorriscode%2Fclaynoscorz/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/amorriscode","download_url":"https://codeload.github.com/amorriscode/claynoscorz/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amorriscode%2Fclaynoscorz/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33206320,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-19T07:16:55.748Z","status":"ssl_error","status_checked_at":"2026-05-19T07:16:54.366Z","response_time":58,"last_error":"SSL_read: 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":["bot","nft","solana","twitter"],"created_at":"2024-10-14T03:05:53.262Z","updated_at":"2026-05-19T07:33:28.332Z","avatar_url":"https://github.com/amorriscode.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n  \u003cimg height=\"160x\" src=\"https://user-images.githubusercontent.com/16005567/204155023-4ee739e0-f204-4dd6-b750-17b6395ef58e.png\" /\u003e\n\n  \u003ch1\u003eClaynoscorz\u003c/h1\u003e\n\n  \u003cp\u003e\n    \u003cstrong\u003eA Claynosaurz Twitter sales bot\u003c/strong\u003e\n  \u003c/p\u003e\n\u003c/div\u003e\n\n[Claynosaurz](https://claynosaurz.com/) is a 10k pfp project built on [Solana](https://solana.com/). Any time someone scores a Claynosaur (a sale is made), this bot will [tweet about it](https://twitter.com/claynoscores).\n\n## Getting Started\n\nTo run this project, you'll need a Twitter account with [elevated access to the API](https://developer.twitter.com/en/docs/twitter-api/getting-started/getting-access-to-the-twitter-api). This is required because the project uses [OAuth 1.0a User Context](https://developer.twitter.com/en/docs/authentication/oauth-1-0a)\n\n1. Clone the repo\n\n    ```bash\n    git clone\n    ```\n\n2. Setup the environment\n\n    ```bash\n    cp .env.example .env\n    # Fill out the required variables in .env\n    ```\n\n3. Start the dev server\n\n    ```bash\n    yarn dev\n    ```\n\n## Make your own Twitter bot\n\n1. [Fork this repo](https://github.com/login?return_to=%2Famorriscode%2Fclaynoscorz)\n2. Create a [Twitter developer account](https://developer.twitter.com/en)\n3. Setup local development (See [Getting Started](#getting-started))\n4. Deploy the app on [Render](https://render.com) or similar\n   1. Required environment variables are in `.env.example`\n5. Create an `NFT_SALE` [Helius webhook](https://docs.helius.xyz/webhooks/getting-started-with-webhooks)\n\n### Helius\n\n[Helius](https://www.helius.dev/) provides [webhooks](https://www.helius.dev/solana-webhooks) based on transactions that occur on the Solana network. After you've deployed your Twitter bot, you'll need to create a [Helius webhook](https://docs.helius.xyz/webhooks/getting-started-with-webhooks). This bot was built to handle `NFT_SALE` events.\n\nFor the accounts on the webhook, you need every address of every NFT in your collection. You can do this using the [Metaboss](https://metaboss.rs). As an example: `❯ metaboss collections get-items --collection-mint 9jnJWH9F9t1xAgw5RGwswVKY4GvY2RXhzLSJgpBAhoaR --api-key \u003cAPI_KEY\u003e`\n\n### Tweet Content\n\nThe tweets are constructed inside the `buildTweet` function in `tweet.ts`. Modify this function to change the content of the tweet to fit your project's needs.\n\n### Caching\n\nThere is an optional `REDIS_URL` environment variable. It's recommended you setup a Redis instance to cache requests from Helius. This prevents processing NFT sales multiple times. If you don't use Redis, the caching will be done in memory. [Render](https://render.com) has a generous free-tier for an LRU Redis instance that fits the bill nicely.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famorriscode%2Fclaynoscorz","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Famorriscode%2Fclaynoscorz","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famorriscode%2Fclaynoscorz/lists"}