Skip to content

maho0x/re-dollars-preact

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Re:Dollars Userscript (Preact Refactor)

A modern, component-based refactor of the Bangumi/Chii.in chat userscript "Re:Dollars". Built with Preact and Vite for better performance and maintainability.

Features

  • 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.

Installation

For Users

  1. Install a Userscript manager like Tampermonkey or Violentmonkey.
  2. Click here to install the script (GitHub raw link).

For Developers

  1. Clone the repository

    git clone <your-repo-url>
    cd userscript-preact
  2. Install dependencies

    npm install
  3. Start development server

    npm run dev

    This will start Vite in watch mode.

  4. Build

    npm run build

    The output file will be generated at dist/userscript.user.js.

License

MIT License. See LICENSE for details.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors