> ## Documentation Index
> Fetch the complete documentation index at: https://servitlive.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Quickstart

> Run StoryGet locally.

## Requirements

* Node.js 20.18.1 or later (required by `cheerio`)
* Enough disk space for Puppeteer's bundled Chromium

## Install and run

```bash theme={null}
git clone https://github.com/wbohanon/StoryGet1.git
cd StoryGet1
npm install
node server.js
```

The server listens on `http://localhost:3000`. Set the `PORT` environment variable to use a different port.

## Scrape your first story

```bash theme={null}
curl -X POST http://localhost:3000/scrape \
  -H "Content-Type: application/json" \
  -d '{"url": "https://example.com/my-story"}'
```

The story is saved to `stories.db` and the response contains its title, author, content, and word count.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.