BTCforPlebs.com Link Status Server
This server checks the status of various BTCforPlebs services and provides a JSON API endpoint.
Setup
-
Install dependencies:
npm install -
Start the server:
npm start
The server will start on port 5252 by default. You can change this by setting the PORT environment variable.
API Endpoints
- GET
/api/link-status- Returns the status of all monitored services
Configuration
Edit config.js to modify:
- Port number
- Allowed CORS origins
- Add or remove monitored URLs
Development
The server uses:
- Express.js for the API server
- node-fetch for making HTTP requests
- CORS enabled for specified origins
Description
Languages
HTML
67.7%
JavaScript
31.3%
CSS
1%