{"repo":"Sv443/Userscript.ts","free":true,"listed":false,"github":"https://github.com/Sv443/Userscript.ts","clone":"git clone https://github.com/Sv443/Userscript.ts.git","description":"Template for making Userscripts in TypeScript with various utilities like directly importing and parsing HTML, Markdown and CSS and packing it with rollup","language":"TypeScript","stars":32,"topics":["template","typescript","typescript-template","userscript","rollup-boilerplate","template-project","userscript-development","script-template","userscript-template"],"license":"WTFPL","category":"security-tools","readme_excerpt":"Userscript.ts Extensive Typescript ESNext template and boilerplate for userscripts. Supports importing and parsing HTML and Markdown files directly in code, packing it all up with rollup and applying custom injections for the userscript header and more. It also offers ESLint to lint and auto-fix the code and GitHub Actions with ESLint to lint the code in pull requests and CodeQL to check it for vulnerabilities on every push. Requires a Git repo to be used as the asset CDN and for the build versioning system of the userscript. Supports distribution on GitHub, GreasyFork and OpenUserJS out of the box. Like this template? Please consider supporting the development ❤️ --- Installation &bull; First&nbsp;steps &bull; Project&nbsp;Structure &bull; Commands &bull; Development&nbsp;tips&nbsp;&&nbsp;notes Installation: 1. Make sure Node.js and a userscript manager are installed (I recommend ViolentMonkey) 2. Click here to create a repository on GitHub using this template 3. Clone the repository you created 4. Open a terminal in the root of the folder and use npm i to install dependencies 5. Refer to first steps First steps: 1. Copy .env.template to .env and change the values inside if needed 2. Search for #REPLACE: with your IDE in the entire project and replace all placeholders with your own values 3. Replace the icon at assets/icon.png with your own or use Google's or DuckDuckGo's favicon API in the userscript header (see step 5) 4. Replace the LICENSE.txt file with your own license ","default_branch":null,"files":null,"tree":[],"storefront":"/r/Sv443","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Sv443/Userscript.ts/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}