# openstatus
**Repository Path**: YouHeYu/openstatus
## Basic Information
- **Project Name**: openstatus
- **Description**: No description available
- **Primary Language**: Unknown
- **License**: AGPL-3.0
- **Default Branch**: main
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2024-04-17
- **Last Updated**: 2024-04-17
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
OpenStatus
The Open-Source website & API monitoring platform.
Learn more Β»
Discord
Β·
Website
Β·
Issues
Β·
Roadmap
## About OpenStatus π
OpenStatus is open-source synthetic monitoring platform with beautiful status
page and incident management. We are building it publicly for everyone to see
our progress. We believe great softwares are built this way.
You can choose to host it yourself or use our hosted version at
[openstatus.dev](https://www.openstatus.dev)
## Contact us π
If you want to learn more about this project or have any questions, book a call
with us or send us an email at [ping@openstatus.dev](mailto:ping@openstatus.dev)
## Built with π οΈ
- [Next.js](https://nextjs.org/)
- [Tailwind CSS](https://tailwindcss.com/)
- [shadcn/ui](https://ui.shadcn.com/)
- [tinybird](http://tinybird.co/?ref=openstatus.dev)
- [turso](http://turso.tech/)
- [drizzle](https://orm.drizzle.team/)
- [clerk](https://clerk.com/)
- [Resend](https://resend.com/)
## Getting Started π
### Requirements
- [Node.js](https://nodejs.org/en/) >= 20.0.0
- [pnpm](https://pnpm.io/) >= 8.6.2
### Setup
1. Clone the repository
```sh
git clone https://github.com/openstatushq/openstatus.git
```
2. Install dependencies
```sh
pnpm install
```
3. Set up your .env file
From `apps/web` and `packages/db`, you will find .env.example. Create your
own copy.
4. Follow the steps to run your sqlite database locally inside of
[README.md](https://github.com/openstatusHQ/openstatus/blob/main/packages/db/README.md)
5. Start the development with the below command
```sh
pnpm dev
```
It will:
- run the web app on port `3000`
- run the api server on port `3001`
- run the docs on port `3002`
6. See the results:
- open [http://localhost:3000](http://localhost:3000) for the web app
- open [http://localhost:3001/ping](http://localhost:3001/ping) for the api
server health check
- open [http://localhost:3002](http://localhost:3002) for the docs
For [clerk](https://clerk.com), you will need to create a webhook endpoint. To
access the link, you can use tunneling tools like
[Tunnelmole](https://github.com/robbie-cahill/tunnelmole-client), an open source
tunnelling tool or ngrok, a popular closed source tunnelling tool.
### Using Tunnelmole
1. Install Tunnelmole with
`curl -O https://install.tunnelmole.com/384HK/install && sudo bash install`.
(On Windows, download
[tmole.exe](https://tunnelmole.com/downloads/tmole.exe))
2. Run `tmole 3000`. In the output, you'll see two URLs, one HTTP, and an HTTPS
URL. It's best to use the HTTPS URL for privacy and security.
```
β ~ tmole 3000
http://bvdo5f-ip-49-183-170-144.tunnelmole.net is forwarding to localhost:3000
https://bvdo5f-ip-49-183-170-144.tunnelmole.net is forwarding to localhost:3000
```
Append `/api/webhook/clerk` to the HTTPs URL.
### Using ngrok
After login, append `/api/webhook/clerk` to the link you get after entering:
```
$ ngrok http 3000
```
### Videos
Videos to better understand the OpenStatus codebase:
- [The code behind OpenStatus and how it uses Turbopack](https://youtube.com/watch?v=PYfSJATE8v8).
- [Drop Betterstack and go open source](https://www.youtube.com/watch?v=PKag0USy3eQ)
## Roadmap πΊοΈ
Here's our [roadmap](https://openstatus.productlane.com/roadmap) feel free to
contribute to it.
## Contributing π€
If you want to help us building the best status page and alerting system, you
can check our
[contributing guidelines](https://github.com/openstatusHQ/openstatus/blob/main/CONTRIBUTING.MD)
### Top Contributors
Made with [Contrib.rocks](https://contrib.rocks)
### Stats
