Metadata-Version: 2.1
Name: shutdown-on-lan
Version: 0.0.1
Summary: Shutdown On Lan is a FastAPI application that allows you to remotely shut down the system.
License: GPL-3.0-or-later
Author: Licantropo3392
Author-email: denisalbu287@gmail.com
Requires-Python: >=3.12,<4.0
Classifier: License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Requires-Dist: fastapi[standard] (>=0.115.6,<0.116.0)
Description-Content-Type: text/markdown

# Shutdown On Lan

Shutdown On Lan is a FastAPI application that allows you to remotely shut down the system.

## Why?
It's easy to integrate into existing projects like [UpSnap](https://github.com/seriousm4x/UpSnap)

## Installation

1. Clone the repository:
    ```sh
    git clone https://github.com/yourusername/shutdown-on-lan.git
    ```
2. Navigate to the project directory:
    ```sh
    cd shutdown-on-lan
    ```
3. Activate the virtual environment:
    ```sh
    poetry shell
    ```
4. Install the required dependencies:
    ```sh
    poetry install
    ```

## Usage

1. Start the application:
    ```sh
    fastapi run main.py
    ```
2. Use `curl` to shut down the computer:
    ```sh
    curl "http://localhost:8000/shutdown"
    ```

## Contributing

Contributions are welcome! Please open an issue or submit a pull request.

## License

This project is licensed under the GNU General Public License v3.0. See the [LICENSE](LICENSE) file for details.

## Contact

For any questions or suggestions, please contact [yourname@example.com](mailto:yourname@example.com).
