A modern, component-based refactor of the Bangumi/Chii.in chat userscript "Re:Dollars". Built with Preact and Vite for better performance and maintainability.
- Modern Tech Stack: Written in TypeScript using Preact and Signals for reactive UI state management.
- Component-Based: Modular UI components for easier maintenance and development.
- Optimized Rendering: Virtual DOM and efficient updates for smooth scrolling and interaction.
- Enhanced UI: Glassmorphism design, smooth animations, and responsive layout.
- Standalone: Bundles necessary dependencies (like
react-photo-view) to ensure stability independent of site updates.
- Install a Userscript manager like Tampermonkey or Violentmonkey.
- Click here to install the script (GitHub raw link).
-
Clone the repository
git clone <your-repo-url> cd userscript-preact
-
Install dependencies
npm install
-
Start development server
npm run dev
This will start Vite in watch mode.
-
Build
npm run build
The output file will be generated at
dist/userscript.user.js.
MIT License. See LICENSE for details.