Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/expelledboy/threejs-manual-generator

Single-page Three.js documentation generator for use as docs in Cursor AI
https://github.com/expelledboy/threejs-manual-generator

cursor-ai documentation puppeteer single-page threejs web-scraping

Last synced: about 1 month ago
JSON representation

Single-page Three.js documentation generator for use as docs in Cursor AI

Awesome Lists containing this project

README

        

# Three.js Documentation Scraper

Scrapes the Three.js documentation into a single HTML file for Cursor AI integration. Preserves original styling, search functionality, and navigation.

View it at: `https://expelledboy.github.io/threejs-manual-generator`

## Quick Start

```bash
# Install
npm install

# Development (scrapes 10 pages)
npm run dev

# Production (scrapes all pages)
npm run prod
```

## Requirements

- Node.js >= 18.0.0

## Output

Generated file: `docs/index.html`

## Development

```bash
npm test # Run tests
npm run lint # Check code style
npm run format # Format code
npm run clear-cache # Clear cached pages
```

## Structure

```
src/
├── scraper.js # Main implementation
└── scraper.test.js # Tests
```

## License

MIT