Code Monkey home page Code Monkey logo

igallery's Introduction

iGallery: Repost Your Saved Instagram Pictures

Tired of limitations when trying to repost saved Instagram pics? Instagram's API doesn't directly support reposting saved media. iGallery offers a workaround! This Django web app lets you view your saved Instagram pictures and provides a way to download them, making it easy to repost them as you wish.

✨ Features

  • Instagram Authentication: Securely log in with your Instagram account.
  • View Saved Pictures: Browse through all the pictures you've saved on Instagram.
  • Download for Reposting: Download your saved pictures locally. Repost them using Instagram's regular posting features—no more restrictions!

🚀 Getting Started

Prerequisites

  • Python 3.7+ (check with python --version)
  • pip (usually comes with Python - check with pip --version)
  • Git (optional for cloning the repo - check with git --version)

Setup

  1. Clone the Repository (Optional):

    git clone https://github.com/your-username/igallery.git
    cd igallery
  2. Create and Activate a Virtual Environment:

    python -m venv .venv
    source .venv/bin/activate  # On Windows: .venv\Scripts\activate
  3. Install Dependencies:

    pip install -r requirements.txt
  4. Set Up Instagram App Credentials:

    • Create an Instagram developer account.
    • Register a new app, selecting "Consumer" as the app type.
    • In your app settings, set the following:
      • Valid OAuth Redirect URIs: https://localhost:8000/instagram/callback/ (adjust the port if needed).
    • Obtain your app's Client ID and Client Secret.
    • Create a .env file in your project root:
      INSTAGRAM_CLIENT_ID=your_client_id
      INSTAGRAM_CLIENT_SECRET=your_client_secret
      DJANGO_SECRET_KEY=your_django_secret_key
      
  5. Apply Migrations:

    python manage.py migrate
  6. Run the Development Server:

    python manage.py runserver 
  7. Access the App:

    • Open your web browser and go to http://127.0.0.1:8000/ (or your specified port).

🔐 Security

  • We strongly recommend NOT hardcoding sensitive information directly into the code.
  • Use a robust production server and deployment strategy for live environments.
  • Consider using HTTPS for all communication.

🤝 Contributing

Contributions are welcome! Please open an issue or submit a pull request if you have any ideas or improvements.

📄 License

This project is licensed under the MIT License.

igallery's People

Contributors

playfuldreamz avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.