Skip to content

**Draxon Images** is a fast image hosting platform built with Flask, using the ImgBB API for scalable, reliable image storage, sharing, and embeds.

License

Notifications You must be signed in to change notification settings

DraxonV1/DraxonImages

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Draxon Images 📸

Draxon Images is a robust, Flask-based image hosting platform designed for speed, reliability, and ease of use. It offers seamless image uploading, secure storage via ImgBB integration, and a user-friendly dashboard for managing your visual assets.

Draxon Images Banner

✨ Features

  • 🚀 Fast & Reliable Uploads: Supports drag-and-drop uploads for PNG, JPG, JPEG, GIF, and WEBP formats.
  • ☁️ ImgBB Integration: Leverages the power of ImgBB for secure and scalable image storage.
  • 🔐 User Accounts: complete registration and login system to manage your uploads.
  • 📊 Dashboard & Analytics: Track image views, storage usage, and manage your gallery from a centralized dashboard.
  • 🔗 Flexible Sharing: Instantly generate Direct links, HTML embed codes, Markdown snippets, and BBCode for forums.
  • ⏱️ Expiration Control: Choose how long your images stay live: 1 day, 1 week, 1 month, or forever.
  • 📱 Mobile-Responsive: A clean, modern interface that works perfectly on desktop and mobile devices.
  • 🛡️ Secure: Environment-based configuration for API keys and secrets.

🛠️ Prerequisites

Before you begin, ensure you have the following installed:

📥 Installation

  1. Clone the repository:

    git clone https://github.com/DraxonV1/DraxonImages.git
    cd draxon-images
  2. Install dependencies:

    pip install -r requirements.txt
  3. Configure Environment Variables: Create a .env file in the root directory by copying the example below or using the provided template.

    # .env
    MAIN_DOMAIN=localhost:3008
    CDN_DOMAIN=cdn.yourdomain.com
    IMGBB_API_KEY=your_imgbb_api_key_here
    SECRET_KEY=your_generated_secret_key
    MAX_IMAGES_PER_USER=25
    MAX_FILE_SIZE=15728640  # 15MB in bytes

    Note: For local development, you can set MAIN_DOMAIN to localhost:3008 (or your chosen port).

🚀 Usage

  1. Start the application:

    python app.py
  2. Access the app: Open your browser and navigate to http://localhost:3008.

  3. Upload an Image:

    • Click "Upload" to try it out as a guest (images expire in 1 day).
    • Register for an account to unlock permanent storage and the dashboard.

📂 Project Structure

DraxonImages/
├── app.py              # Main Flask application
├── config.py           # Configuration loader
├── requirements.txt    # Project dependencies
├── .env                # Environment variables (not committed)
├── database.json       # Local JSON database for user/image metadata
├── static/             # CSS, JS, and image assets
└── templates/          # HTML templates (Jinja2)

🤝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

  1. Fork the project
  2. Create your feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

📄 License

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


Built with ❤️ in free time by DraxonV1

About

**Draxon Images** is a fast image hosting platform built with Flask, using the ImgBB API for scalable, reliable image storage, sharing, and embeds.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published