This project allows you to see your instagram direct messages on your terminal :)
After several attempts, I have decided to abandon this project due to Instagram's highly advanced automatic behavior detection... Unfortunately, I don't have the time or determination to reverse-engineer their requests and bypass these restrictions.
If you feel up to the challenge, don't hesitate to take over! This project is close to my heart, and I'd love to see it completed.🙂
To install all the necessary libraries, you will need to use:
pip install -r requirements.txt
To start the program execute the main.py
file.
- Windows
python main.py
- MacOS & Linux
python3 main.py
To link your Instagram account to this program, you will need to obtain your sessionid
and csrftoken
.
Open your web browser, log into your Instagram account, and search for the cookies used by Instagram.
Inside, you will find your sessionid
and csrftoken
.
- Example (Using Chrome):
Development tools > Application > Cookies > Instagram
Once you have those, you can run the main.py
file and enter your login information when prompted.
your login information can be saved as either:
- Clear text (not recommended)
- blowfish encrypted file, requires that you type a password at startup (recommended for use on linux with no DE)
- keyring uses your system's keyring to store info (requires a keyring, recommended for windows, mac and linux with a DE)
You can choose how many threads and items are displayed during runtime. To change those values, modify the two lines in the main.py
file.
CONV_INBOX_NB = 20 # Will display 20 conversations in the inbox menu.
CONV_ITEMS_NB = 30 # Will display 30 items in the selectec conversation.
Here is some screenshots of the program running :
(proudly) Supported features :
- 📄 Text
- 🌐 Link
- 🎬 Clip
- 🖼️ Media share (images & video)
- 🔊 Voice media
- 📷 See Once media
- 📖 Story share & reactions
- 📹 Reel share
⚠️ Placeholder- ❤️ Liked messages
📤 Sent direct message
- romainflcht