Skip to content
This repository has been archived by the owner on Apr 30, 2022. It is now read-only.
/ PrivateInstagram Public archive

Private version of instagram from their export powered by MongoDB Stitch

License

Notifications You must be signed in to change notification settings

graboskyc/PrivateInstagram

Repository files navigation

Private Instagram

Background

See an example at ig.gsky.us

This is a simple website demonstrating MongoDB Atlas, MongoDB Stitch, Azure Cognitive Vision API, and AWS Rekognition.

Basically it was orginally an export of Instagram (see below) loaded into MongoDB Atlas then building a grid of those images using Stitch Query Anywhere. Now extra functionality exists such that there is a Stitch REST API that accepts uploads from a mobile app to upload new photos to Azure Blob Storage, store the record in the MongoDB DB, then use Stitch Triggers to automatically call the Cognitive Vision and Rekognition APIs to discover what the photo is a picture of.

Getting Data

  • In your instagram settings, there is a button to export your data. This can take up to a few days. However once exported, unzip the file they send you.
  • Move the photos and videos directories as-is into the assets directory
  • Edit the media.json file they give you. Later I will look at making a script for this but you want one media file per line and a new field called type which is either picture or video
  • import this into database called ig in collection called media

Stitch

  • Set up stitch. You want to create a rule for anonymous read-only to the ig.media collection
  • modify index.html and media.html to use your database path and your details for Disqus

Screenshots

Mobile App

Web Site (Stitch Query Anywhere)

About

Private version of instagram from their export powered by MongoDB Stitch

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published