{"id":18320272,"url":"https://github.com/gedex/ginsta","last_synced_at":"2025-06-27T01:32:25.931Z","repository":{"id":136685127,"uuid":"11156420","full_name":"gedex/ginsta","owner":"gedex","description":"Command line client written in Go that speaks to Instagram API","archived":false,"fork":false,"pushed_at":"2013-08-31T06:26:31.000Z","size":164,"stargazers_count":25,"open_issues_count":5,"forks_count":0,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-04-05T22:32:33.477Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gedex.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-07-03T17:02:30.000Z","updated_at":"2023-04-27T20:16:26.000Z","dependencies_parsed_at":"2023-03-13T07:15:52.582Z","dependency_job_id":null,"html_url":"https://github.com/gedex/ginsta","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/gedex/ginsta","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gedex%2Fginsta","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gedex%2Fginsta/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gedex%2Fginsta/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gedex%2Fginsta/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gedex","download_url":"https://codeload.github.com/gedex/ginsta/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gedex%2Fginsta/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262172527,"owners_count":23270036,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-05T18:15:46.492Z","updated_at":"2025-06-27T01:32:25.882Z","avatar_url":"https://github.com/gedex.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"ginsta\n======\n\nCommand line client written in Go that speaks to Instagram API.\n\n## Installation\n\nAll you need is [install Go](http://golang.org/doc/install) and run:\n\n~~~text\n$ go get github.com/gedex/ginsta\n~~~\n\n## Usage\n\nPlease note that some commands need `Config.AccessToken`. To retrieve that:\n\n~~~\n$ ginsta token_get\n\u003e open Instagram Authorize page\n~~~\n\nand to set retrieved `access_token`:\n\n~~~\n$ ginsta config access_token [ACCESS_TOKEN]\n~~~\n\n### Basic\n\n#### Help\n\n~~~text\nginsta help\n\nUsage: ginsta [command] [options] [arguments]\n\nUsers Commands:\n    user_info           Get basic information about a user\n    user_feed           Get authenticated user's feed.\n    user_recent_media   Get the most recent media published by a user.\n    user_liked_media    Get the authenticated user's list of media they've liked.\n    search_user         Search for a user by name\n\nRelationships Commands:\n    user_followings     Get the list of users this user follows.\n    user_followers      Get the list of users this user is followed by.\n    user_requested_by   Get the list of users who have requested this user's permission to follow\n    relationship_with   Get information about a relationship to another user.\n    follow_user         Follow a user specified with USER_ID\n    unfollow_user       Unfollow a user specified with USER_ID\n    block_user          Block a user specified with USER_ID\n    unblock_user        Unblock a user specified with USER_ID\n    approve_user        Approve request from user specified with USER_ID\n    deny_user           Deny request from user specified with USER_ID\n\nMedia Commands:\n    media_info          Get information about a media object.\n    search_media        Search for media in a given area.\n    popular_media       Get the list of what media is most popular at the moment.\n\nComments Commands:\n    media_comments      Get the list of comments for this MEDIA_ID.\n    add_comment         Add comment for MEDIA_ID.\n    del_comment         Delete comment COMMENT_ID from MEDIA_ID.\n\nLikes Commands:\n    media_likes         Get the list of users who like this MEDIA_ID.\n    add_like            Like this MEDIA_ID.\n    del_like            Unlike this MEDIA_ID.\n\nTags Commands:\n    tag_info            Get information about a tag [TAG_NAME].\n    recent_media_by_tag  Get the list of media tagged with [TAG_NAME].\n    search_tag          Search for tag.\n\nBasic Commands:\n    help                Show help\n    version             Show version\n    config              Get and set ginsta config\n    token_get           Get access_token\n    geocoding           Converting addresses into latitude and longitude representation.\n    reverse_geocoding   Converting geographic coordinates into a human-readable address.\n~~~\n\n#### Version\n\n~~~text\n$ ginsta version\nginsta version 0.1\n~~~\n\n#### Config\n\nView all configs:\n\n~~~text\n$ ginsta config\n~~~\n\nView particular config's key:\n\n~~~text\n$ ginsta config access_token\n~~~\n\nSet particular config's key:\n\n~~~text\n$ ginsta config access_token fb2e77d.47a0479900504cb3ab4a1f626d174d2d\n~~~\n\n#### Get access token\n\n~~~text\n# with default client_id\n$ ginsta token_get\n\u003e open Instagram Authorize page\n\n# specify client_id\n$ ginsta token_get -client-id [CLIENT_ID]\n\u003e open Instagram Authorize page\n\n# specify scope\n$ ginsta token_get -scope basic,comments\n\u003e open Instagram Authorize page\n~~~~\n\n### Users\n\n#### user_info\n\n~~~text\n$ ginsta user_info\nUser ID          : 174787104\nUsername         : akedabagus\nProfile Pic URL  : http://images.ak.instagram.com/profiles/profile_47172384_75sq_1335356735.jpg\nTotal media      : 1\nTotal followings : 0\nTotal followers  : 6\n\n$ ginsta user_info 3\nUser ID          : 3\nUsername         : kevin\nFull name        : Kevin Systrom\nProfile Pic URL  : http://images.ak.instagram.com/profiles/profile_3_75sq_1325536697.jpg\nBio              : CEO \u0026 Co-founder of Instagram\nTotal media      : 1313\nTotal followings : 507\nTotal followers  : 655735\n~~~\n\n#### user_feed\n\n~~~text\nginsta user_feed\nMedia ID             : 490313926454872962_312269417\nMedia type           : image\nFilter               : Normal\nLink                 : http://instagram.com/p/bN8esWxQuC/\nCaption              : Aku sexy ya.. @vancaocean #kids #fashionkids #sachi\nCaption by           : kikiwarnaen (312269417)\nNumber of comments   : 1\nNumber of likes      : 6\nCreated at           : 1372669996\nUploaded by          : kikiwarnaen (312269417)\n...\n\n$\n~~~\n\n## Roadmap\n\n* Users commands (In-progress)\n* Relationships commands\n* Likes commands\n* Media commands\n* Locations commands\n* Geographies commands\n* Tags commands\n* Better usage doc\n\n## Credits\n\nSome portion of the source code is taken from modified [gh](https://github.com/jingweno/gh/) project,\nwhich is licensed under the MIT license.\n\n## License\n\nginsta is released under the BSD-style license found in the LICENSE.md file.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgedex%2Fginsta","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgedex%2Fginsta","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgedex%2Fginsta/lists"}