Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: about 1 month 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 (3 months ago)
- Default Branch: master
- Last Pushed: 2024-08-25T19:26:15.000Z (3 months ago)
- Last Synced: 2024-09-30T09:41:52.333Z (about 2 months ago)
- Topics: apache, caddy, lighttpd, nginx, webserver
- Language: JavaScript
- Homepage: http://webserver.gkanev.com/
- Size: 19.5 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.## Development
### Setup
1. Clone the repository:
```
git clone https://github.com/MrGKanev/webserver.git
cd webserver
```2. Install dependencies:
```
npm install
```3. Run Tailwind CSS in watch mode:
```
npx tailwindcss -i ./src/input.css -o ./src/output.css --watch
```4. Open `index.html` in your browser to view the application.
### Building for Production
To generate a minified version of the CSS for production:
```
npx tailwindcss -o ./src/output.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/)