Skip to content

✨ Python library and CLI to upload photo on Instagram. W/o a phone!

License

Notifications You must be signed in to change notification settings

falcaomarcio/instapy-cli

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

instapy-cli

Build Status

Build Status instapy-cli version MIT license

Github Infos

GitHub issues GitHub forks GitHub stars


Python library and cli used to post photos on Instagram, without a phone! You can upload a local file or use a link, it does everything automagically.

instagram-private-api


Introduction

There are plenty of libraries written in Python dedicated to Instagram APIs (either public or private).. but most of them have unsolved issues and PRs not maintained for a time as long as 5-6 months.

At the same time, lots of developers want a simple and effective way to post photos programmatically.

So I dediced to start this repo and open-source it with ❤️

[FUTURE] spoiler: And what if I want to upload a video?

Usage

Install

pip install instapy-cli

Use

instapy -u USR -p PSW -f FILE/LINK -t 'TEXT CAPTION'

Help

instapy --help

Usage Hint

The images need to have an aspect ratio of 1:1, that is squared size.

Why instapy-cli?

First, long story short: instapy-cli is a fork of pynstagram, with the aim of extending its functionality and fixing all unresolved bugs.

Move this project to a better place ↪️

Anyone that wants to collaborate, I promise to be a good repo manager and merge all your pull requests as soon as possible. I have some ideas to improve this but I need collaboration. Join and support! 💡

But, wait! Instagram doesn't allow uploading photos except from the app (of course :trollface:)

Short answer:

Yes, you are right.

Long answer:

Every connection from a mobile phone could be intercepted. Someone has done the hard work to sniff the packets sent from the phone to Instagram and "spread the news". You can do a quick research.

Code Requirements

This packages will be installed automatically with instapy-cli

package Source Link
requests https://github.com/requests/requests

License

MIT

Contribute

To help instapy-cli developers to build and maintain this project, go to docs/CONTRIBUTING.md

instructions soon

(Write it and collaborate! 😉)

Support the project and the author

Offer me a beer and support me and instapy-cli. 🎉

Click the button here > Build Status

About

✨ Python library and CLI to upload photo on Instagram. W/o a phone!

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 97.8%
  • Shell 2.2%