Skip to content

Miam Cloud is a Flask-based application designed to create a local cloud drive, allowing users to store, manage, and access files on all local devices within a home. Miam Cloud stands out with its unique features and lightweight setup.

License

Notifications You must be signed in to change notification settings

nildontsleep/miam-cloud

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BannerMiamCloud

⭐ 🍴 🐞 ⚡ 🆙 📚

🌩️ miamcloud - v4.0.1

author: planetwide


✨ description

miamcloud is a flask-based web app designed to make file management simple and accessible through a sleek web interface. easily upload, download, and manage files or images directly from your server. the app also integrates with pystyle for a visually appealing experience, including interactive ascii banners and a clean terminal display.

UPDATE: added a login page for security and logs via webhook (discord)


🌟 features

  • 🚀 file uploading: upload files effortlessly via the web interface.
  • 🎯 file downloading: securely retrieve files through a custom download link.
  • 🛠️ flask-based: works on any flask-supported platform, making deployment a breeze.
  • 🌐 dynamic ip & port: automatically detects ip and port, or set them manually if preferred.
  • 🧩 clean code: modular and easy-to-follow structure, perfect for customization.

📜 table of contents


📥 installation

prerequisites

before starting, make sure you have:

  • python 3.6+
  • depandancies (pip install Flask pystyle PyYAML requests)

steps

  1. clone the repo or download the project files:
git clone https://github.com/planetwiide/miam-cloud.git
cd miam-cloud
  1. install the dependencies:
   pip install -r requirements.txt

🔐 user authentication

  • Login system with credentials stored in users.yml.
  • Session management via Flask's session handling.
  • Webhook logs for successful and failed login attempts.

🌐 webhook logging

  • Discord webhook integration to log key events, including:
    • Login Success/Failure.
    • File Uploads.
    • File Downloads.
    • App Start/Quit.

🔧 usage

  1. start the app:
   python main.py
  1. input the ip and port when prompted, or hit enter to auto-configure.

  2. open your browser and visit the displayed url (e.g., http://127.0.0.1:8080) to access the app.


🗂️ file routes

  • get /: returns the index.html page from front/.
  • post /upload: handles file uploads.
    • params:
      • file: file to be uploaded.
      • filename: custom name for the uploaded file.
  • get /get/: retrieves a file by its filename. returns a default image if the file isn't found.
  • get /images/: fetches an image from front/images/. if the image doesn't exist, returns a default image.

🤝 contributing

want to contribute? awesome! follow the steps below to get started:

  1. fork the repo.
  2. create a new branch for your feature/bug fix.
  3. commit your changes.
  4. push the changes to your fork.
  5. open a pull request.

🐞 issues

found a bug or have a feature request? feel free to open an issue. we'll address it as soon as we can!


📗 credits

this project was inspired by the ♉ zodiac project by 🐐 billythegoat365. while i drew inspiration from his work, i want to clarify that i did not copy it directly. all code has been rewritten from scratch, and i have implemented my own ideas and features. i plan to continue developing and maintaining this project, with new features on the way soon. thanks to billy for the initial inspiration!


📝 license

this project is licensed under the mit license.


🖼️ preview

image0 image1 image2 image3 image4

About

Miam Cloud is a Flask-based application designed to create a local cloud drive, allowing users to store, manage, and access files on all local devices within a home. Miam Cloud stands out with its unique features and lightweight setup.

Resources

License

Stars

Watchers

Forks