{"id":19950946,"url":"https://github.com/niciusb/twitch-drops-lurker","last_synced_at":"2025-05-03T18:33:30.856Z","repository":{"id":51493783,"uuid":"254226821","full_name":"NiciusB/twitch-drops-lurker","owner":"NiciusB","description":"Get twitch drops without the hassle of having a tab open","archived":false,"fork":false,"pushed_at":"2022-08-01T20:08:29.000Z","size":44,"stargazers_count":17,"open_issues_count":2,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2023-03-01T10:35:52.233Z","etag":null,"topics":["drops","twitch","twitch-drops"],"latest_commit_sha":null,"homepage":"","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/NiciusB.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}},"created_at":"2020-04-08T23:52:38.000Z","updated_at":"2022-11-07T21:41:44.000Z","dependencies_parsed_at":"2022-08-22T01:01:53.344Z","dependency_job_id":null,"html_url":"https://github.com/NiciusB/twitch-drops-lurker","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NiciusB%2Ftwitch-drops-lurker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NiciusB%2Ftwitch-drops-lurker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NiciusB%2Ftwitch-drops-lurker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NiciusB%2Ftwitch-drops-lurker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NiciusB","download_url":"https://codeload.github.com/NiciusB/twitch-drops-lurker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224370099,"owners_count":17299969,"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":["drops","twitch","twitch-drops"],"created_at":"2024-11-13T01:06:10.504Z","updated_at":"2024-11-13T01:06:11.077Z","avatar_url":"https://github.com/NiciusB.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Deprecation\n\nThis project is not actively being worked on. While it's still functional, @mt025 has a fork with many improvements.\n\nYou might want to take a look at it here: https://github.com/mt025/twitch-drops-lurker\n\n# twitch-drops-lurker\n\n## Installation\n\n1. Clone the repository to your device with `git clone https://github.com/NiciusB/twitch-drops-lurker.git`\n2. Install npm depencencies. First go to the downloaded folder `cd twitch-drops-lurker`, then run `npm install`\n3. Create a `.env` file by copying and modifying the example `.env.example` file. For further information, refer to the .env section below\n4. Create a `localStorage.json` file. For the content, run `copy(Object.entries(localStorage))` in the console when having twitch.tv open. This will fill your clipboard and you can paste it directly into `localStorage.json`\n5. Create a `cookies.json` file. Some of the cookies are not accesible from javascript, so you'll need to export them using the extension EditThisCookie\n6. Start the node process. You could run `node index.js`, but please check the Deploying section below\n\n## .env\n* `CHROME_EXEC_PATH`: The path for your chrome executable. In windows it's usually `C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe`, in macOS `/Applications/Google Chrome.app/Contents/MacOS/Google Chrome`, and in linux you can run `which chrome`\n* `GAME`: The game you want to lurk. You can get this value by going to Browse -\u003e Your game of choice. Then, copy the ID from the address bar. For example, for Dark Souls III the address bar will be `https://www.twitch.tv/directory/game/Dark%20Souls%20III`, so the GAME value will be `Dark%20Souls%20III`\n* `PORT`: Port for the webserver that allows monitoring the bot's status\n* `SCREENSHOT_INTERVAL`: Interval in seconds between every screenshot. The webserver serves these screenshots for easier debugging\n\n## Deploying\nWe recommend using a tool like `pm2` to manage your node process. It will automatically launch on boot, recover from errors, and save logs and crashes to disk.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fniciusb%2Ftwitch-drops-lurker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fniciusb%2Ftwitch-drops-lurker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fniciusb%2Ftwitch-drops-lurker/lists"}