Instant multi-AI article summarizer
A userscript that adds AI-powered summarization to any webpage. Uses ChatGPT, Grok, Claude, or Gemini with custom prompts.
This project is a repository for developing a Tampermonkey script that summarizes web page content using AI, built with TypeScript and vanilla JavaScript. The script adds a floating button to web pages that allows users to quickly generate summaries of the content using various AI services.
pnpm install
# Start development server with hot reload
pnpm dev
# Run linting
pnpm lint
# Run formatting
pnpm format
# Build for production
pnpm build
# Build for development
pnpm dev
The build process will generate the userscript in the dist directory.
src/ # Source directory
├── assets/ # Static assets
├── components/ # UI Components
├── services/ # Business logic services
├── ui/ # UI utilities
├── constants.ts # Constant values and configurations
├── index.ts # Entry point
├── meta.ts # Userscript metadata
├── styles.ts # CSS styles
├── types.ts # Type definitions
└── utils.ts # Utility functions
pnpm dev: Start development serverpnpm dev:watch: Start development server with watch modepnpm build: Production buildpnpm format-check: Check code formatting with Prettierpnpm format-fix: Fix code formatting with Prettierpnpm eslint-check: Check code with ESLintpnpm eslint-fix: Fix code with ESLintpnpm format:all: Fix both code formatting and ESLint issuespnpm clean-install-modules: Clean install dependencies with pnpmFor detailed information about the technology stack, please refer to TECHNOLOGSTACK.md.
For detailed information about the project structure, please refer to DIRECTORYSTRUCTURE.md.
GlanceBriefe is released under MIT license, which means you can modify it, redistribute it or use it however you like.
Kojiro Futamura [email protected]