Skip to main content

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:

pip install reloadify

🚀 Usage

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

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:

    # 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:

    # Run on port 8000
    reloadify -p 8000
    
  • -t, --timeout <SECONDS>: Automatically shut down the server after a specified number of seconds.

    Example:

    # 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):

    reloadify
    
  • Serve a specific HTML file and watch its folder:

    reloadify my_app/index.html
    
  • Serve index.html but watch a different folder for changes:

    reloadify index.html -d ./src
    
  • Serve index.html on a different port:

    reloadify -p 8080
    

🌐 Connect with Me!

🤝 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:
    python -m venv venv
    source venv/bin/activate
    
  4. Install the dependencies:
    pip install -r requirements.txt
    
  5. Make your changes.
  6. Run the tests:
    pytest
    
  7. Submit a pull request.

📝 License

This project is licensed under the MIT License. See the LICENSE file for details.


Made with ❤️ by LousyBook & Gemini.

Metadata

Release files for reloadify 0.1.16

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for reloadify 0.1.16
File Size Uploaded Provenance
reloadify-0.1.16.tar.gz 7.5 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for reloadify 0.1.16
File Interpreter ABI Platform
reloadify-0.1.16-py3-none-any.whl Python 3 none any Details

Total release size: 15.1 kB

Release files / reloadify-0.1.16.tar.gz

Download URL reloadify-0.1.16.tar.gz
Size 7.5 kB
Tags Source
SHA-256 checksum
How to use checksums
9203ad2edb1fa61536494e45fa9138083c9477f21f846548cc7dca008b877948
BLAKE2b-256 checksum
How to use checksums
9b2b75f0bfa1cbf8881a7b28d05dc174cd9a399a8e2f07c4cd84d9d8983402c9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.9

Release files / reloadify-0.1.16-py3-none-any.whl

Download URL reloadify-0.1.16-py3-none-any.whl
Size 7.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
43d0eee19309b6339ff935f9422de484606e5f6ed36b442bce91523be261560a
BLAKE2b-256 checksum
How to use checksums
fe146bc9da881d36409c40809d554f2bd7151cff95979c6622f4b9a21f2cf223
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.9

Security for reloadify 0.1.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page