Skip to content

Latest commit

 

History

36 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Instacord

A Discord bot that embeds Instagram posts, reels, and albums using Components V2, with one-at-a-time album pagination.

Built with .NET 10 and NetCord. Deploy with the included Dockerfile.

Instagram account (optional)

Public posts work without any account. Age-restricted posts need a logged-in session:

  • Set Instagram:CookieHeader to cookies exported from a browser where you are logged in (sessionid, ds_user_id, csrftoken, mid, rur, ig_did), or
  • Set Instagram:Username and Instagram:Password so the bot can re-login automatically when the session expires (two-factor accounts are not supported).

Rotated cookies are persisted to Instagram:SessionStatePath; mount that path in Docker so the session survives restarts. Treat cookies and passwords as secrets: use environment variables (Instagram__CookieHeader, Instagram__Username, Instagram__Password) or an untracked appsettings.Production.json (excluded from Docker builds via .dockerignore).

https://discord.com/oauth2/authorize?client_id=1540429876706680945

About

No description, website, or topics provided.

Resources

Stars

4 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages