Skip to main content

Under construction

gitnasrgitnasr

Instagram Saved Posts

A free app you run yourself that keeps a copy of your Instagram saved posts and records when the accounts behind them change or disappear.

Instagram Saved Posts: project overview

What it is

Instagram Saved Posts is a free, open-source app (MIT license) that you run on your own computer or server. It keeps a copy of the posts you saved on Instagram, with their pictures, captions and details about the accounts that made them. It also records what happens to those accounts over time. I wrote the code myself.

The problem

I save a lot of posts on Instagram, and I kept forgetting about them. Sometimes a post disappeared: the creator deleted the account, changed the username or made it private. Instagram has no good search for saved posts and no long-term archive. I wanted a snapshot of them that I own.

How it works

You install it with one command. A short setup wizard asks for your Instagram login cookie, a small token that proves you are logged in, and tests it before saving. The app then reads your saved feed page by page, with pauses between pages. It stores each post and compares every account with what it saw last time. A change of username, name, privacy, verification badge or profile picture goes on that account's timeline. You can keep several profiles, one for each Instagram account.

This is not an official Instagram product. It talks to Instagram's website the way a browser does, and your cookie stays in the database on your own machine. Use it only with your own account, and know that Instagram's rules apply to you.

Under the hood

  • It can pick up where it stopped. The app saves its place after every page. If Instagram says "slow down", it waits and tries again with growing pauses, and a stopped run can be resumed.
  • No false alarms. An account is marked as "lost" only after a run that read the whole feed. A run that stopped halfway cannot make unread accounts look deleted.
  • Optional AI search. You can turn on search by description, by similar image or by face. It is off by default and runs on your own server, and it downloads about 600 MB of models the first time. It is marked beta.

Built with

Next.js, React, TypeScript, Prisma, MongoDB and Tailwind CSS, packaged with Docker. The optional AI search uses CLIP and Qdrant.

Website and docs · Code on GitHub