Packages
Upptime consists of several packages written in TypeScript and Svelte/Sapper, which are consumed by the template repository.
@upptime/uptime-monitor
This package includes the uptime monitor that sends network requests to ensure that your endpoints are online. It also includes all features, including notifications, interactions with the GitHub API, and generating the status website and README.md
files. It's written in TypeScript.
@upptime/status-page
This package contains the source code of the status website written in Svelte using Sapper. Users don't directly interact with this package, rather the @upptime/uptime-monitor
fetches the source code of the static site from here.
@upptime/graphs
This package includes the response time graph generator using Chart.js. This is a separate package because it has several dependencies, and it's only installed when graphs are actually being generated (by default, once per day), and not in other workflows. It's written in TypeScript.