Metadata-Version: 2.4
Name: reloadify
Version: 0.1.15
Summary: A blazing-fast, ultra-lightweight Python CLI tool for live-reloading web content.
Author-email: LousyBook01 <lousybook94@gmail.com>
Project-URL: Homepage, https://github.com/LousyBook94/reloadify
Project-URL: Bug Tracker, https://github.com/LousyBook94/reloadify/issues
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.7
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: click
Requires-Dist: rich
Requires-Dist: watchdog
Requires-Dist: websockets
Requires-Dist: prompt_toolkit
Provides-Extra: test
Requires-Dist: pytest; extra == "test"
Dynamic: license-file

# Reloadify 🚀

Welcome to **Reloadify**! A super-fast, feather-light Python tool that automatically reloads your HTML, CSS, and JavaScript files in the browser while you code. Say goodbye to manual refreshing! 👋

## 🌟 Features

-   **⚡ Blazing Fast:** Built for speed and efficiency.
-   **🤏 Ultra-Lightweight:** No heavy dependencies, just pure performance.
-   **🔄 Live Reloading:** Instantly see your changes in the browser.
-   **🛠️ Customizable:** Easily configure the file, directory, and port.

## 📦 Installation

Getting started is as easy as pie! Just open your terminal and run:

```bash
pip install reloadify
```

## 🚀 Usage

Once installed, navigate to your project's folder and let the magic happen!

```bash
reloadify [FILE]
```

-   `[FILE]` (optional): This is your main HTML file. If you don't specify one, `reloadify` will search the current directory and all subdirectories for `.html` files. If multiple `.html` files are found, it will prompt you to select one. If only one is found, it will be served automatically.

### ⚙️ Options

You can customize `reloadify` to fit your needs:

-   `-d, --directory <PATH>`: Tell `reloadify` which specific folder to watch for changes.

    *Example:*
    ```bash
    # Watch the 'src' folder for changes
    reloadify -d ./src
    ```

-   `-p, --port <PORT>`: Choose a custom port to run the server on. The default is `4005`.

    *Example:*
    ```bash
    # Run on port 8000
    reloadify -p 8000
    ```

-   `-t, --timeout <SECONDS>`: Automatically shut down the server after a specified number of seconds.

    *Example:*
    ```bash
    # Shut down after 60 seconds
    reloadify -t 60
    ```

### ✨ Examples

Here are a few ways you can use `reloadify`:

-   **Serve `index.html` and watch its folder (the default way):**
    ```bash
    reloadify
    ```

-   **Serve a specific HTML file and watch its folder:**
    ```bash
    reloadify my_app/index.html
    ```

-   **Serve `index.html` but watch a different folder for changes:**
    ```bash
    reloadify index.html -d ./src
    ```

-   **Serve `index.html` on a different port:**
    ```bash
    reloadify -p 8080
    ```

## 🌐 Connect with Me!

-   **Discord:** `lousybook01` 💬
-   **GitHub:** [LousyBook94](https://github.com/LousyBook94/) 🐙
-   **YouTube:** [@LousyBook01](http://youtube.com/@LousyBook01) 📺


## 🤝 Contributing

Contributions are welcome! If you'd like to help improve reloadify, please follow these steps:

1.  **Fork the repository.**
2.  **Create a new branch.**
3.  **Set up a virtual environment:**
    ```bash
    python -m venv venv
    source venv/bin/activate
    ```
4.  **Install the dependencies:**
    ```bash
    pip install -r requirements.txt
    ```
5.  **Make your changes.**
6.  **Run the tests:**
    ```bash
    pytest
    ```
7.  **Submit a pull request.**

## 📝 License

This project is licensed under the MIT License.
See the [LICENSE](./LICENSE) file for details.

---

*Made with ❤️ by LousyBook & Gemini.*
