108 lines
3.1 KiB
Markdown
108 lines
3.1 KiB
Markdown
<div align="center">
|
|
<h1>WR.DO</h1>
|
|
<p><a href="https://discord.gg/AHPQYuZu3m">Discord</a> · English | <a href="/README-zh.md">简体中文</a></p>
|
|
<p>Make Short Links, Manage DNS Records, Receive Emails.</p>
|
|
</div>
|
|
|
|
## Features
|
|
|
|
- 🔗 **URL Shortening:** Generate short links with visitor analytic and password(support api)
|
|
- 📮 **Email Support:** Receive emails and send emails(support api)
|
|
- 💬 **P2P Chat:** Start chat in seconds
|
|
- 🌐 **Multi-Tenant Support:** Manage multiple DNS records seamlessly
|
|
- 📸 **Screenshot API:** Access to screenshot api、website meta-info scraping api.
|
|
- 😀 **Permission Management:** A convenient admin panel for auditing
|
|
- 🔒 **Secure & Reliable:** Built on Cloudflare's robust DNS API
|
|
|
|
## Screenshots
|
|
|
|
<table>
|
|
<tr>
|
|
<td><img src="https://wr.do/_static/images/light-preview.png" /></td>
|
|
<td><img src="https://wr.do/_static/images/example_02.png" /></td>
|
|
</tr>
|
|
<tr>
|
|
<td><img src="https://wr.do/_static/images/example_01.png" /></td>
|
|
<td><img src="https://wr.do/_static/images/realtime-globe.png" /></td>
|
|
</tr>
|
|
<tr>
|
|
<td><img src="https://wr.do/_static/images/example_03.png" /></td>
|
|
<td><img src="https://wr.do/_static/images/domains.png" /></td>
|
|
</tr>
|
|
</table>
|
|
|
|
|
|
## Quick Start
|
|
|
|
See step by step installation tutorial at [Quick Start for Developer](https://wr.do/docs/developer/quick-start).
|
|
|
|
## Self-hosted
|
|
|
|
### Deploy with Vercel
|
|
|
|
[](https://vercel.com/new/clone?repository-url=https://github.com/oiov/wr.do.git&project-name=wrdo&env=DATABASE_URL&env=AUTH_SECRET&env=RESEND_API_KEY&env=NEXT_PUBLIC_EMAIL_R2_DOMAIN&env=NEXT_PUBLIC_OPEN_SIGNUP&env=GITHUB_TOKEN)
|
|
|
|
Remember to fill in the necessary environment variables.
|
|
|
|
### Deploy with Docker Compose
|
|
|
|
Create a new folder and copy the [`docker-compose.yml`](https://github.com/oiov/wr.do/blob/main/docker-compose.yml)、[`.env`](https://github.com/oiov/wr.do/blob/main/.env.example) file to the folder.
|
|
|
|
```yml
|
|
- wrdo
|
|
| - docker-compose.yml
|
|
| - .env
|
|
```
|
|
|
|
Fill in the environment variables in the `.env` file, then:
|
|
|
|
```bash
|
|
docker compose up -d
|
|
```
|
|
|
|
## Local development
|
|
|
|
```bash
|
|
git clone https://github.com/oiov/wr.do
|
|
cd wr.do
|
|
pnpm install
|
|
```
|
|
|
|
copy `.env.example` to `.env` and fill in the necessary environment variables.
|
|
|
|
```bash
|
|
# run on localhost:3000
|
|
pnpm dev
|
|
```
|
|
|
|
#### Init database
|
|
|
|
```bash
|
|
pnpm postinstall
|
|
pnpm db:push
|
|
```
|
|
|
|
#### Setup Admin Panel
|
|
|
|
Follow https://localhost:3000/setup
|
|
|
|
## Community Group
|
|
|
|
- Discord: https://discord.gg/AHPQYuZu3m
|
|
- 微信群:
|
|
|
|
<img width="300" src="https://wr.do/s/group" />
|
|
|
|
## License
|
|
|
|
[MIT](/LICENSE.md)
|
|
|
|
## Star History
|
|
|
|
<a href="https://star-history.com/#oiov/wr.do&Date">
|
|
<picture>
|
|
<source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/svg?repos=oiov/wr.do&type=Date&theme=dark" />
|
|
<source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/svg?repos=oiov/wr.do&type=Date" />
|
|
<img alt="Star History Chart" src="https://api.star-history.com/svg?repos=oiov/wr.do&type=Date" />
|
|
</picture>
|
|
</a> |