https://github.com/mrgkanev/webserver
web-based tool for calculating resource usage and generating configuration files for various web servers. It helps system administrators and developers optimize their web server setups based on their specific requirements
https://github.com/mrgkanev/webserver
apache caddy lighttpd nginx webserver
Last synced: 4 months ago
JSON representation
web-based tool for calculating resource usage and generating configuration files for various web servers. It helps system administrators and developers optimize their web server setups based on their specific requirements
- Host: GitHub
- URL: https://github.com/mrgkanev/webserver
- Owner: MrGKanev
- License: mit
- Created: 2024-08-24T12:56:22.000Z (10 months ago)
- Default Branch: master
- Last Pushed: 2025-03-11T13:36:45.000Z (4 months ago)
- Last Synced: 2025-03-15T02:43:42.474Z (4 months ago)
- Topics: apache, caddy, lighttpd, nginx, webserver
- Language: JavaScript
- Homepage: http://webserver.gkanev.com/
- Size: 33.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
# Webserver Resource Calculator and Config Generator
This project provides a web-based tool for calculating resource usage and generating configuration files for various web servers. It helps system administrators and developers optimize their web server setups based on their specific requirements.
## Features
- Supports multiple web servers: Apache, Nginx, Lighttpd, and Caddy
- Calculates estimated resource usage (memory and CPU) based on input parameters
- Generates sample configuration files tailored to the input
- Provides recommendations for optimizing web server performance
- Offers downloadable configuration files## Usage
1. Open `index.html` in a web browser.
2. Select your web server from the dropdown menu.
3. Enter the required parameters:
- Concurrent Connections
- Number of Workers/Processes
- Available Memory (MB)
- Number of CPU Cores
- PHP Version (if applicable)
4. View the estimated resource usage, recommendations, and sample configuration.
5. Download the generated configuration file if desired.## Useful Commands
- Continuously watch for changes in the `style.css` file, updating the output file whenever changes occur.
```bash
npx @tailwindcss/cli -i ./s/style.css -o ./assets/style.min.css --watch
```- Generate a minified version of the CSS
```bash
npx @tailwindcss/cli -i ./assets/style.css -o ./assets/style.min.css --minify
```## Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
## License
This project is open source and available under the [MIT License](LICENSE).
## Created by
Gabriel Kanev - [https://gkanev.com/](https://gkanev.com/)