Code Monkey home page Code Monkey logo

instahack-flask's Introduction

instahack-flask

A flask app which asks you the url of the instagram picture and returns the picture which you can download and share. It works only for public accounts. Private accounts doesn't get affected.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

You need to have various python libraries, few important are

  • python3 (everything is in python3, my default python verison is 3.6.7 and my deafult pip is pi3)
  • a virtual environment (detailed in the Installing part)
  • Flask (framework)
  • requests and bs4 (modules)

Installing

  1. First of all you need to setup your virtual environment. (setup and activate)
pyvenv-3.6 ihenv

Install the python virtual environment setup using this command sudo apt install python3.6-venv

source ihenv/bin/activate
  1. Install all the dependencies, python modules
pip3 install -r requirements
  1. Run the python app
python3 app.py

Now, the app should be running on the localhost, browse to to the link where your app is running. (most probably, http://127.0.0.1:5000/)

Running the tests

  1. Once the site is running live. Give your desired instagram picture url and click on Submit button. It will return the high quality original picture.

And coding style tests

  1. If you are using any other module for implementing any new features, please install the modules in the virtual environment and update it in the requirements.txt by using the below command.
pip freeze > requirements.txt

Built With

  • Flask - Web framework used for backend.
  • Bootstrap - Web framework used for frontend.

Resources

Contributing

If you are really interested in contributing to the please follow the below steps and rules.

  1. Fork the project. (Give a star โญ to the repo before you fork :P)*
  2. Clone it.
git clone https://github.com/<username>/instahack-flask/
  1. Look for any issues clicking the issues tab. Go through it and assign take one. Make sure you get assigned or atleast say that you are gonna work on it.
  2. Always create a new branch and work on the feature or bug. Check this if you are not that familiar with branching, Git Branching
  3. Please follow the template created for raising issues or sending pull requests.

Authors

License

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

Acknowledgments

instahack-flask's People

Contributors

vchrombie avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

instahack-flask's Issues

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.