{"id":17299993,"url":"https://github.com/mysteryblokhed/webpack-ts-userscript","last_synced_at":"2026-01-19T13:32:25.911Z","repository":{"id":42584131,"uuid":"418688303","full_name":"MysteryBlokHed/webpack-ts-userscript","owner":"MysteryBlokHed","description":"A template to create UserScripts using TypeScript and Webpack. Mirrored from https://gitlab.com/MysteryBlokHed/webpack-ts-userscript","archived":false,"fork":false,"pushed_at":"2024-04-04T00:24:28.000Z","size":118,"stargazers_count":2,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-06T10:17:31.507Z","etag":null,"topics":["greasemonkey","template","typescript","userscript","webpack"],"latest_commit_sha":null,"homepage":"","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/MysteryBlokHed.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-10-18T22:28:35.000Z","updated_at":"2023-09-09T17:21:58.000Z","dependencies_parsed_at":"2025-02-12T15:54:33.569Z","dependency_job_id":null,"html_url":"https://github.com/MysteryBlokHed/webpack-ts-userscript","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/MysteryBlokHed/webpack-ts-userscript","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MysteryBlokHed%2Fwebpack-ts-userscript","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MysteryBlokHed%2Fwebpack-ts-userscript/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MysteryBlokHed%2Fwebpack-ts-userscript/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MysteryBlokHed%2Fwebpack-ts-userscript/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MysteryBlokHed","download_url":"https://codeload.github.com/MysteryBlokHed/webpack-ts-userscript/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MysteryBlokHed%2Fwebpack-ts-userscript/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28569209,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-19T12:50:50.164Z","status":"ssl_error","status_checked_at":"2026-01-19T12:50:42.704Z","response_time":67,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["greasemonkey","template","typescript","userscript","webpack"],"created_at":"2024-10-15T11:25:04.693Z","updated_at":"2026-01-19T13:32:25.894Z","avatar_url":"https://github.com/MysteryBlokHed.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# webpack-ts-userscript\n\nA template to create UserScripts using TypeScript and Webpack.\n\n\u003c!-- Info on how to use the template --\u003e\n\n## Customizing the template\n\n### Changing UserScript info\n\nThe UserScript's name, description, version, and author are all retrieved from the project's `package.json`.\nAnything else such as the site to match and the grants are changed from the [Webpack Config].\n\nThere's a call to `genBanner` that can be used to change the values added to the banner.\nTo add a single value, add a string key and value. To add multiple values for\nthe same key (eg. multiple `@match`'s), use an array as the value.\n\nExample:\n\n```javascript\nconst banner = genBanner({\n  name: 'my-userscript',\n  version: '0.1.0',\n  match: ['*://example.com/*', 'https://*.foo.com/bar*'],\n})\n\n/* Above example becomes: */\n// ==UserScript==\n// @name        my-userscript\n// @version     0.1.0\n// @match       *://example.com/*\n// @match       https://*.foo.com/bar*\n// ==/UserScript==\n```\n\n### Creating a release commit\n\nTo create a commit for a release version, run `pnpm run release`.\nThis will re-build the UserScript in production mode, add all files with `git add .`,\nand prompt you to add a version to the commit message.\nYou can then create a new tag and release for your project with an optimized UserScript.\n\n\u003c!-- These instructions can be updated to fit your project's requirements --\u003e\n\n## Building\n\n### Setup\n\nBuilding this project requires Node.js and pnpm.\nTo install dependencies, run:\n\n```sh\npnpm install\n```\n\n### Building files\n\nTo build the project, run:\n\n```sh\npnpm run build\n```\n\nTo automatically build when a source file is modified, run:\n\n```sh\npnpm run dev\n```\n\nBuilding will result in JavaScript files in the `build/` directory (these can be ignored)\nand a file ending in `.user.js` in the root of the project.\nThis is the built UserScript.\n\n## Installation\n\nOpen the UserScript from the repository as raw with a UserScript extension installed,\nand you should be prompted to install it. You can install a locally built version\nby dragging and dropping the file into a new browser tab.\n\n## License\n\nThis project was created from [a template](https://gitlab.com/MysteryBlokHed/webpack-ts-userscript)\nlicensed under the MIT license\n([LICENSE](https://gitlab.com/MysteryBlokHed/webpack-ts-userscript/-/blob/main/LICENSE)\nor \u003chttp://opensource.org/licenses/MIT\u003e).\n\n[webpack config]: webpack.config.js\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmysteryblokhed%2Fwebpack-ts-userscript","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmysteryblokhed%2Fwebpack-ts-userscript","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmysteryblokhed%2Fwebpack-ts-userscript/lists"}