{"id":18515829,"url":"https://github.com/comir/twitch-drops-manager","last_synced_at":"2026-04-29T01:31:57.254Z","repository":{"id":61932412,"uuid":"556238829","full_name":"ComiR/twitch-drops-manager","owner":"ComiR","description":"Userscript to manage twitch drops","archived":false,"fork":false,"pushed_at":"2026-04-15T11:18:23.000Z","size":161,"stargazers_count":0,"open_issues_count":7,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-04-15T13:31:05.514Z","etag":null,"topics":["hacktoberfest","help-wanted","twitch","userscript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"wtfpl","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ComiR.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":["ComiR"]}},"created_at":"2022-10-23T11:49:12.000Z","updated_at":"2025-10-10T12:48:40.000Z","dependencies_parsed_at":"2024-01-01T12:24:01.950Z","dependency_job_id":"927d1cbd-f6e5-4d19-a9ac-945038ae4bea","html_url":"https://github.com/ComiR/twitch-drops-manager","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":"trim21/webpack-userscript-template","purl":"pkg:github/ComiR/twitch-drops-manager","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ComiR%2Ftwitch-drops-manager","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ComiR%2Ftwitch-drops-manager/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ComiR%2Ftwitch-drops-manager/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ComiR%2Ftwitch-drops-manager/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ComiR","download_url":"https://codeload.github.com/ComiR/twitch-drops-manager/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ComiR%2Ftwitch-drops-manager/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32407164,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-28T19:38:08.556Z","status":"ssl_error","status_checked_at":"2026-04-28T19:37:55.688Z","response_time":56,"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":["hacktoberfest","help-wanted","twitch","userscript"],"created_at":"2024-11-06T15:50:02.092Z","updated_at":"2026-04-29T01:31:57.239Z","avatar_url":"https://github.com/ComiR.png","language":"TypeScript","funding_links":["https://github.com/sponsors/ComiR"],"categories":[],"sub_categories":[],"readme":"# Twitch Drops Manager\n\n## dev\n\n1. Allow Tampermonkey access to local file URIs [tampermonkey/faq](https://tampermonkey.net/faq.php?ext=dhdg#Q204)\n2. install deps with `npm i` or `npm ci`.\n3. `npm run dev` to start your development.\n   Now you will see 2 files in `./dist/`\n    - `dist/index.dev.user.js`: **You should install this userscript in your browser.\n      ** It's a simple loader that load `dist/index.debug.js` on matched web page.\n    - `dist/index.debug.js`: This is the development build with `eval-source-map`.\n      It will be automatically loaded by `dist/index.dev.user.js` via `@require file://.../dist/index.debug.js`\n      metadata, **Don't add it to your userscript manager.**\n4. edit [src/index.ts](./src/index.ts), you can even import css or less files. You can use scss if you like.\n5. go to \u003chttps://twitch.com/\u003e and open the console, you'll see it's working.\n\nlivereload is enabled by default,\nuse [this Chrome extension](https://chrome.google.com/webstore/detail/jnihajbhpnppcggbcgedagnkighmdlei)\n\n### NOTICE\n\nEverytime you change your metadata config, you'll have to restart webpack server and install the newly\ngenerated `dist/index.dev.user.js` UserScript in your browser again.\n\n## Cross Site Request\n\nYou can call `GM.xmlHttpRequest` directly or use a fetch API based\non `GM.xmlHttpRequest` \u003chttps://github.com/Trim21/gm-fetch\u003e\n\n## TypeScript\n\nUse typescript as normal, see [src/index.ts](src/index.ts)\n\n## dependencies\n\nThere are two ways to using a package on npm.\n\n### UserScript way\n\nlike the original UserScript way, you will need to add them to\nyour [user script metadata's require section](./config/metadata.cjs#L16-L18) , and exclude them\nin [config/webpack.config.base.cjs](./config/webpack.config.base.cjs#L18-L20)\n\n### Webpack way\n\nJust install packages with npm and import them in your code, webpack will take care them.\n\n## Build\n\n```bash\nnpm run build\n```\n\n`dist/index.prod.user.js` is the final script. you can manually copy it to greasyfork for deploy.\n\n### Minify\n\nThere is a [limitation in greasyfork](https://greasyfork.org/en/help/code-rules), your code must not be obfuscated or\nminified.\n\nIf you don't need to deploy your script to greasyfork, enable minify as you like.\n\n## automatically Deploy\n\n[GitHub Actions](./.github/workflows/deploy.yaml#L36) will deploy production userscript to gh-pages branch.\n\n[example](https://github.com/Trim21/webpack-userscript-template/tree/gh-pages)\n\n[deployed](https://trim21.github.io/webpack-userscript-template/)\n\nYou can auto use greasyfork's auto update function.\n\n## Q\u0026A\n\nYou may find enabling source map not working well in production code, because Tampermonkey will add extra lines (all\nyour `@require`) before your script. I don't know if there is a good fix for this, You need to use webpack\nconfig `devtool` with `eval` prefix to make it work as expected, so source map is disabled in this template.\n\n\u003chttps://webpack.js.org/configuration/devtool/#development\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcomir%2Ftwitch-drops-manager","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcomir%2Ftwitch-drops-manager","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcomir%2Ftwitch-drops-manager/lists"}