chore: update README for clearer instructions
This commit is contained in:
87
README.md
87
README.md
@ -6,32 +6,47 @@ Features:
|
|||||||
|
|
||||||
- Stream AI responses for realtime feedback
|
- Stream AI responses for realtime feedback
|
||||||
- Viasualization of the research process using a tree structure
|
- Viasualization of the research process using a tree structure
|
||||||
|
- Export research report as PDF
|
||||||
- Bring Your Own API Key: Everything (config, API requests, ...) happens in your browser
|
- Bring Your Own API Key: Everything (config, API requests, ...) happens in your browser
|
||||||
|
|
||||||
Available providers currently:
|
Currently available providers:
|
||||||
- AI: OpenAI compatible
|
- AI: OpenAI compatible
|
||||||
- Web Search: Tavily (similar to Firecrawl, but with more free quota (1000 credits / month))
|
- Web Search: Tavily (similar to Firecrawl, but with more free quota (1000 credits / month))
|
||||||
|
|
||||||
> Note: The project is currently WIP, expect bugs.
|
Please give a 🌟 Star if you like this project!
|
||||||
|
|
||||||
https://github.com/user-attachments/assets/2f5a6f9c-18d1-4d40-9822-2de260d55dab
|
<video src="https://github.com/user-attachments/assets/2f5a6f9c-18d1-4d40-9822-2de260d55dab" controls></video>
|
||||||
|
|
||||||
## Setup
|
## How to use
|
||||||
|
|
||||||
|
Live demo: <a href="https://deep-research.ataw.top" target="_blank">https://deep-research.ataw.top</a>
|
||||||
|
|
||||||
|
### Self hosted
|
||||||
|
|
||||||
|
Use pre-built Docker image:
|
||||||
|
```bash
|
||||||
|
docker run -p 3000:3000 --name deep-research-web -d anotia/deep-research-web:latest
|
||||||
|
```
|
||||||
|
|
||||||
|
Use self-built Docker image:
|
||||||
|
```
|
||||||
|
git clone https://github.com/AnotiaWang/deep-research-web-ui
|
||||||
|
cd deep-research-web-ui
|
||||||
|
docker build -t deep-research-web .
|
||||||
|
docker run -p 3000:3000 --name deep-research-web -d deep-research-web
|
||||||
|
```
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Developing
|
||||||
|
|
||||||
|
### Setup
|
||||||
|
|
||||||
Make sure to install dependencies:
|
Make sure to install dependencies:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# npm
|
|
||||||
npm install
|
|
||||||
|
|
||||||
# pnpm
|
# pnpm
|
||||||
pnpm install
|
pnpm install
|
||||||
|
|
||||||
# yarn
|
|
||||||
yarn install
|
|
||||||
|
|
||||||
# bun
|
|
||||||
bun install
|
|
||||||
```
|
```
|
||||||
|
|
||||||
## Development Server
|
## Development Server
|
||||||
@ -39,63 +54,27 @@ bun install
|
|||||||
Start the development server on `http://localhost:3000`:
|
Start the development server on `http://localhost:3000`:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# npm
|
|
||||||
npm run dev
|
|
||||||
|
|
||||||
# pnpm
|
|
||||||
pnpm dev
|
pnpm dev
|
||||||
|
|
||||||
# yarn
|
|
||||||
yarn dev
|
|
||||||
|
|
||||||
# bun
|
|
||||||
bun run dev
|
|
||||||
```
|
```
|
||||||
|
|
||||||
## Production
|
## Production
|
||||||
|
|
||||||
Build the application for production:
|
Build the application for production:
|
||||||
|
|
||||||
|
If you want to deploy a SSR application:
|
||||||
```bash
|
```bash
|
||||||
# npm
|
|
||||||
npm run build
|
|
||||||
|
|
||||||
# pnpm
|
|
||||||
pnpm build
|
pnpm build
|
||||||
|
```
|
||||||
|
|
||||||
# yarn
|
If you want to deploy a static, SSG application:
|
||||||
yarn build
|
```bash
|
||||||
|
pnpm generate
|
||||||
# bun
|
|
||||||
bun run build
|
|
||||||
```
|
```
|
||||||
|
|
||||||
Locally preview production build:
|
Locally preview production build:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# npm
|
|
||||||
npm run preview
|
|
||||||
|
|
||||||
# pnpm
|
|
||||||
pnpm preview
|
pnpm preview
|
||||||
|
|
||||||
# yarn
|
|
||||||
yarn preview
|
|
||||||
|
|
||||||
# bun
|
|
||||||
bun run preview
|
|
||||||
```
|
|
||||||
|
|
||||||
### Docker
|
|
||||||
|
|
||||||
Build the Docker image:
|
|
||||||
```
|
|
||||||
docker build -t deep-research-web .
|
|
||||||
```
|
|
||||||
|
|
||||||
Run the Docker image:
|
|
||||||
```
|
|
||||||
docker run -p 3000:3000 deep-research-web
|
|
||||||
```
|
```
|
||||||
|
|
||||||
Check out the [deployment documentation](https://nuxt.com/docs/getting-started/deployment) for more information.
|
Check out the [deployment documentation](https://nuxt.com/docs/getting-started/deployment) for more information.
|
||||||
|
Reference in New Issue
Block a user