Tadashi is an online web-app that allows you to download Instagram photos and videos.
Tadashi is an online web-app that allows you to download Instagram photos and videos.
git clone https://github.com/sahilverma-dev/tadashi
for client folder
cd client
npm i # or yarn install
for server folder.
cd server
npm i # or yarn install
for client folder.
cd client
npm start # or yarn start
for server folder.
cd server
npm run dev # or yarn run dev
http://localhost:5000/ is the base for the API for example.
http://localhost:5000/p/${postId}
{
"id": 8798701427, //post id
"caption": "", // post caption
"shortcode": "", //post shortcode
"likes": 4, // likes number
"comments": 9, // comments number
"isVideo": false, //is video or not
"timestamp": 160987896, // timestamp of post
"duration": null, // duration of video only appears on video post
"hasAudio": null, // does video have audio only appears on video post
"views": null, // number of views on video only appears on video post
"plays": null, // number of plays on video only appears on video post
"thumbnail": "", // base64 of thumbnail image
"isCarousel": false, // is carousel post or not
"carouselCount": 0, // number of carousel media only appears on carousel post
"singleMedia": {
"thumbnail": "", // base64 of thumbnail image,
"isVideo": false, // is video or not
"duration": null, // duration of video
"hasAudio": null, // has audio or not
"resources": [
// array or posts in different resolution
{
"src": "", // cdn link of post
"width": "", // width in px
"height": "" // height in px
}
],
"videoResources": [
{
"src": "", // cdn link of post
"width": "", // width in px
"height": "" // height in px
}
]
},
"carouselMedia": [
{
"id": 276376524, // post id
"thumbnail": "", // base64 of thumbnail image
"isVideo": false, // is video of not
"duration": null, // duration of video only appears on video post
"resources": [
// array or posts in different resolution
{
"src": "", // cdn link of post
"width": "", // width in px
"height": "" // height in px
}
],
"videoResources": [
{
"src": "", // cdn link of post
"width": "", // width in px
"height": "" // height in px
}
]
}
],
"user": {
"id": 1697987987, // user id
"username": "", // username of user
"fullName": "", // full name of user
"isVerified": "", // is user verified or not
"isPrivate": false, // is user profile private or not
"profilePic": "" // base64 code of user profile
}
}
http://localhost:5000/user/${username}
{
"id": 40825814016,
"bio": "Freelance Front End Developer.\nDM or mail me for freelance projects.\nEmail: sahil.verma.webdev@gmail.com",
"username": "sahilverma.dev",
"profilePic": {
"thumbnail": "", // gives base64 code of user profile image
"link": "" // gives cdn url of user profile image
},
"category": "Web Developer", // category of user
"fullName": "Sahil Verma", // full name of user
"isPrivate": false, // is user profile private or not?
"isVerified": false, // is user profile verified or not?
"followers": 104, // followers of profile
"following": 27, // following of following users
"posts": {
"total": 27, // total number of posts
"data": [
// array of maximum 12 posts of profile
{
"id": 2914183618471276612, // post id
"shortcode": "ChxQo-dPjBE", // post shortcode
"thumbnail": "", // base64 code of post image
"location": null, // geo location of post
"caption": {
"main": "", // caption of post
"accessible": null // accessible caption of post
},
"comments": 2, // number of comments
"isVideo": false, // is post video or not
"likes": 6, // number of likes
"isCollection": true, // is collection post or not
"resolution": [
// array of resolutions of post
{
"src": "", //cdn image url
"config_width": "", // image width in px
"config_height": "" // image height in px
}
]
}
]
}
}
React JS, Next JS, TailwindCSS, Firebase 9, Node JS, Express.