Skip to main content

A blazing-fast, ultra-lightweight Python CLI tool for live-reloading web content.

Project description

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 look for index.html in your current folder. It will automagically watch for changes in the same directory.

⚙️ 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!

📝 License

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


Made with ❤️ by LousyBook & Gemini.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

reloadify-0.1.1.tar.gz (6.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

reloadify-0.1.1-py3-none-any.whl (6.6 kB view details)

Uploaded Python 3

File details

Details for the file reloadify-0.1.1.tar.gz.

File metadata

  • Download URL: reloadify-0.1.1.tar.gz
  • Upload date:
  • Size: 6.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for reloadify-0.1.1.tar.gz
Algorithm Hash digest
SHA256 2c79770e462cd99021ec14ed27f9b6e48a64b4c06316387d5ad0a8c142a12366
MD5 3fa6cc3c62a9509ab3049e0006654c78
BLAKE2b-256 4234684d17719776a6aee47e3a25772a38ff4f807aa0fff34a86e11af688f322

See more details on using hashes here.

File details

Details for the file reloadify-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: reloadify-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 6.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for reloadify-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2cc900cbd84d226b9ca6d68108bff690e696a252a8a92146fde1e20211f31ca8
MD5 aef0519cfb315ea2b3f92f26dc200c37
BLAKE2b-256 371ad79ec1f672fe9d949bad523803db4f0196512ba7107dbe8d2b04b24f379b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page