Built with Dark Factory v4 — autonomous AI software development pipeline
Simple uptime monitor — pings endpoints, shows green/red status dashboard
- Real-time monitoring: Pings configured HTTP endpoints every 30 seconds
- Dark theme UI: Clean, responsive dashboard with status indicators
- Configurable endpoints: Easy to add/remove services to monitor
- Response time tracking: Shows latency for each service
- Auto-refresh: Dashboard updates automatically without page reload
- Mobile responsive: Works on desktop, tablet, and mobile devices
-
Install dependencies:
npm install
-
Configure environment (optional):
cp .env.example .env # Edit .env to change PORT if needed (defaults to 4003) -
Start development server:
npm run dev
-
Open in browser:
http://localhost:4003
Edit src/lib/config.ts to add or modify monitored endpoints:
export const endpoints: Endpoint[] = [
{ name: "Google", url: "https://www.google.com", expectedStatus: 200 },
{ name: "GitHub", url: "https://github.com", expectedStatus: 200 },
{ name: "Your API", url: "https://api.yoursite.com/health", expectedStatus: 200 },
];Returns current status of all configured endpoints:
[
{
"name": "Google",
"url": "https://www.google.com",
"status": "up",
"responseTime": 145,
"checkedAt": "2024-01-15T10:30:00.000Z"
}
]-
Build the application:
npm run build
-
Start production server:
npm start
-
Environment variables:
PORT: Server port (default: 4003)
- Type checking:
npm run type-check - Linting:
npm run lint - Development server:
npm run dev
- Framework: Next.js 15 (App Router)
- Language: TypeScript (strict mode)
- Styling: Tailwind CSS
- Font: Inter (Google Fonts)
- Deployment: Self-hosted
MIT