NetlifyStats is a comprehensive dashboard application built with Next.js that provides real-time insights and statistics for your Netlify deployments. Monitor your site's performance, track deployments, and visualize build statistics all in one place.
- Real-time Deployment Tracking: Monitor your Netlify deployments in real-time
- Build Statistics: Visualize build times, sizes, and performance metrics
- Site Information: View comprehensive details about your Netlify site
- Embeddable Views: Embed statistics and deployment information in other applications
- Customizable Dashboard: Configure the dashboard to show the metrics that matter to you
- Dark/Light Mode: Support for both dark and light themes
- Node.js (version 18 or higher recommended)
- A Netlify account with API access
- A Netlify site to monitor
-
Clone the repository:
git clone https://github.com/yourusername/netlifystats.git cd netlifystats -
Install dependencies:
npm install # or yarn install # or pnpm install
-
Configure your Netlify credentials:
- Create a
.env.localfile in the root directory - Add your Netlify API token and site ID:
NEXT_PUBLIC_NETLIFY_API_TOKEN=your_netlify_api_token NEXT_PUBLIC_NETLIFY_SITE_ID=your_netlify_site_id - Alternatively, you can set these credentials in the application settings page
- Create a
-
Start the development server:
npm run dev # or yarn dev # or pnpm dev
-
Open http://localhost:3000 in your browser to see the dashboard
The main dashboard displays an overview of your Netlify site, including:
- Recent deployments
- Build statistics
- Site information
Access the settings page to configure:
- Netlify API credentials
- Display preferences
- Refresh intervals
You can embed specific views of your dashboard in other applications using the provided embed codes. Available views include:
- Deployment history
- Build statistics
- Site information
/app - Next.js application routes
/components - React components
/lib - Utility functions and API clients
/public - Static assets
/styles - Global styles
npm run dev- Start the development servernpm run build- Build the application for productionnpm run start- Start the production servernpm run lint- Run ESLint to check code quality
Contributions are welcome! Please see our CONTRIBUTING.md file for details.
For information about reporting security vulnerabilities, please see our SECURITY.md file.
For information about how we handle data and privacy, please see our PRIVACY.md file.
This project is licensed under the MIT License - see the LICENSE file for details.