Lunar is a recreation of the old Instagram API to revive old versions of the app, it functions on a custom server that isn't linked in any way to the official Instagram servers.
This code is a mess and I do apologize about that, I am still not an expert at writing backend code :/
If you need help setting this up or making it work with your phone, add me on Discord (ppvris) or DM me on Telegram
Lunar is not affiliated with Instagram/Meta in any way, this project is for educational purposes to revive older versions of the application.
Android: from 7.17.0 to 10.3.2
Windows Phone: 6tag: kinda works?, Instagram Beta: crashes very often
Windows 10 Desktop (UWP): Untested, and UWP version of Instagram for Windows is lost media, only PWA (web app) can be downloaded due to MS Store not serving old versions.
iOS: Crashes immediately after logging in
watchOS: Untested, part of certain iOS IG clients
Tizen: Untested, all versions of the client are lost media
Make sure to have MongoDB on your computer/server first then follow these steps:
Clone the project
git clone https://github.com/dialedup/lunar.gitGo to the project directory
cd lunarInstall dependencies
npm installStart the server
npm run startTo run this project, you will need to add the following environment variables to your .env file
NODE_ENV (can be production/prod or dev)
MONGO_URL
MONGO_USER
MONGO_PASS
host is used to make sure we get the right host link everywhere in the code where it needs it
autoFollowList is an array of user ID's that will be automatically followed everytime someone makes a new account
reservedUsernames are usernames that can't be taken when registering an account, even if an account with that username doesn't exist
Author:
-
with the help of GitHub Copilot (as i said i AM a beginner so copilot helped <3)
Contributors:
- None yet, contributions are always welcome!