{"id":20852403,"url":"https://github.com/dimdengd/yeahtwitter","last_synced_at":"2025-04-13T02:20:12.045Z","repository":{"id":244569321,"uuid":"815569341","full_name":"dimdenGD/YeahTwitter","owner":"dimdenGD","description":"Adds Yeah! button to Twitter, essentially a public Like","archived":false,"fork":false,"pushed_at":"2024-11-23T12:44:08.000Z","size":302,"stargazers_count":228,"open_issues_count":11,"forks_count":9,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-04T12:57:40.356Z","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/dimdenGD.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-06-15T13:53:13.000Z","updated_at":"2025-03-29T02:20:00.000Z","dependencies_parsed_at":"2024-06-15T18:22:55.622Z","dependency_job_id":"74fb2609-d485-47bb-bed6-ab893fb0abea","html_url":"https://github.com/dimdenGD/YeahTwitter","commit_stats":null,"previous_names":["dimdengd/yeahtwitter"],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimdenGD%2FYeahTwitter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimdenGD%2FYeahTwitter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimdenGD%2FYeahTwitter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimdenGD%2FYeahTwitter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dimdenGD","download_url":"https://codeload.github.com/dimdenGD/YeahTwitter/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248654604,"owners_count":21140328,"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":[],"created_at":"2024-11-18T03:17:33.199Z","updated_at":"2025-04-13T02:20:12.016Z","avatar_url":"https://github.com/dimdenGD.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Yeah! for Twitter\nExtension that adds a \"Yeah!\" button to Twitter. Essentially, it's a public Like button. It doesn't send spammy images into replies, instead it saves your Yeahs into a shared database. Everyone can see who Yeahed a tweet, and what tweets person Yeahed.  \nThis extension supports both new Twitter and OldTwitter!  \n![Screenshot](https://lune.dimden.dev/a602b6e6a2af.gif)  \n\n## Installation\nChrome, Edge, Opera, Brave, Vivaldi, etc:  \n\u003ca href=\"https://chromewebstore.google.com/detail/yeah-for-twitter/haebjcgjcobeedihnmhcapfblbjdaimb\" target=\"_blank\"\u003e\u003cimg src=\"https://storage.googleapis.com/web-dev-uploads/image/WlD8wC6g8khYWPJUsQceQkhXSlv1/HRs9MPufa1J1h5glNhut.png\" alt=\"Chrome Web Store\" width=\"200\"/\u003e\u003c/a\u003e\n\nFirefox, Waterfox, LibreWolf, Floorp, etc:  \n\u003ca href=\"https://addons.mozilla.org/addon/yeah-for-twitter/\" target=\"_blank\"\u003e\u003cimg src=\"https://blog.mozilla.org/addons/files/2020/04/get-the-addon-fx-apr-2020.svg\" alt=\"Firefox Add-ons\" width=\"200\"/\u003e\u003c/a\u003e\n\nUserscript (Tampermonkey, Greasemonkey, Violentmonkey, etc):  \n### \u003ca href=\"https://greasyfork.org/en/scripts/498118-yeah-for-twitter\" target=\"_blank\"\u003e\u003cimg src=\"https://greasyfork.org/vite/assets/blacklogo96-CxYTSM_T.png\" alt=\"Userscript\" width=\"50\"/\u003eUserscript\u003c/a\u003e\n## Manual Installation\n1. Go to [Releases](https://github.com/dimdenGD/YeahTwitter/releases) page.\n2. Download `chrome.zip` if you're on Chromium based browsers (Chrome, Edge, Opera, Brave, etc.) or `firefox.zip` if you're on Firefox.\n\n### Chromium\n- Unpack file anywhere\n- Go to `chrome://extensions`\n- Turn on Developer mode\n- Press \"Load unpacked\" and select folder with extension\n\n### Firefox\n- Go to `about:debugging#/runtime/this-firefox`\n- Press \"Load Temporary Add-on\" and select zip file you downloaded\n- Installing it this way will remove extension after browser restart, see below for permanent installation\n\n### Firefox Developer Edition / Nightly\n- Go to `about:config`\n- Set `xpinstall.signatures.required` to `false`\n- Go to `about:addons`\n- Press \"Install Add-on From File\" and select zip file you downloaded\n\n## API\nIf you wish to implement Yeah! button in your Twitter mod, you can use this API.  \n**Base URL:** `https://yeah.dimden.dev`  \nAll requests use POST method.  \nAll requests require Content-Type: `application/json`.  \n  \n### Request Token - `/api/request_token`\nReturns `{ public_token: String, private_token: String }`.  \nYou need to make user tweet `yeah-xxxxxxxx` where `xxxxxxxx` is public token.\n\n### Verify Token - `/api/verify_token`\nRequires body: `{ public_token: String, private_token: String, tweet: Tweet }`.  \n`Tweet` is object of [this format](https://developer.x.com/en/docs/twitter-api/v1/data-dictionary/object-model/tweet). Must also include `user` object inside with `id_str`.  \nWill reply with `success` if everything went correctly. After that you can save `private_token` somewhere to use in other requests.\n\n### Get Yeah data for tweets - `/api/get`\nRequires body: `{ post_ids: String, key: private_token }`.  \n`post_ids` is string of tweet IDs separated by comma. Max 100 tweets per request.  \nWill return `[ { post_id: String, count: Number, yeahed: Boolean }, ... ]`.  \n\n### Yeah a tweet - `/api/yeah`\nRequires body: `{ post_id: String, key: private_token }`.  \nWill reply with `done` if everything went fine.  \n\n### Unyeah a tweet - `/api/unyeah`\nRequires body: `{ post_id: String, key: private_token }`.  \nWill reply with `done` if everything went fine.\n\n### Get users that Yeahed a tweet - `/api/get_users`\nRequires body: `{ post_id: String, key: private_token, page: Number }`.  \n`page` starts with 1.  \nWill return an array with user ids.  \n\n### Get tweets that user Yeahed - `/api/get_yeahs`\nRequires body: `{ user_id: String, key: private_token, page: Number }`.  \n`page` starts with 1.  \nWill return an array with tweet ids.  \n\n### Get how many tweets user Yeahed - `/api/get_user_yeah_count`\nRequires body: `{ user_id: String, key: private_token }`.  \nWill return `{ count: Number }`.  \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdimdengd%2Fyeahtwitter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdimdengd%2Fyeahtwitter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdimdengd%2Fyeahtwitter/lists"}