๐Ÿ“š Macagram Documentation

Complete guide to your self-hosted social platform. Everything you need to know.

๐Ÿ“ก API Reference

All REST endpoints, request/response formats, auth methods

๐Ÿค– Bot SDK

Build bots in Python, Node.js, curl. Webhooks & API keys

โœจ Features

Posts, reactions, DMs, live streaming, games, themes

๐Ÿ”‘ OAuth Login

GitHub, Discord, Google, GitLab sign-in setup guide

๐Ÿ–ฅ Self-Hosting

Run Macagram on your own hardware. Drive setup, tunnels

๐Ÿ”’ Privacy

Data storage, encryption, your rights

โœจ Features Guide

๐Ÿ“ Posts & Feed

โค๏ธ Reactions

๐Ÿ’ฌ Comments

๐Ÿ’ฌ DMs (Direct Messages)

๐ŸŽฌ Videos

๐Ÿ“ฑ Shorts

๐Ÿ”ด Live Streaming

๐ŸŽฎ Mini Games

๐ŸŽจ Themes

๐Ÿ” Security

๐Ÿ“Š Analytics

๐Ÿค– Bots & API

๐Ÿ‘ค Profile Customization

๐Ÿ“ฑ QR Code Login

๐Ÿ” Global Search

๐Ÿ”‘ OAuth Login Setup

GitHub

  1. Go to GitHub Developer Settings โ†’ OAuth Apps โ†’ New
  2. Callback URL: https://YOUR-DOMAIN/api/auth/github/callback
  3. Set env: GITHUB_CLIENT_ID and GITHUB_CLIENT_SECRET

Discord

  1. Go to Discord Developer Portal โ†’ OAuth2
  2. Add Redirect: https://YOUR-DOMAIN/api/auth/discord/callback
  3. Scopes: identify email

Google

  1. Go to Google Cloud Console
  2. Create OAuth Client ID โ†’ Web Application
  3. Redirect URI: https://YOUR-DOMAIN/api/auth/google/callback

GitLab

  1. Go to GitLab Applications
  2. Redirect URI: https://YOUR-DOMAIN/api/auth/gitlab/callback
  3. Scopes: read_user

๐Ÿ–ฅ Self-Hosting Guide

Requirements

Quick Start

cd ~/Desktop/login-app
npm install
NODE_ENV=production node server.js

Cloudflare Tunnel

cloudflared tunnel --url http://localhost:3000

Database

Stored on your external drive at /Volumes/drive. 1/users.db. SQLite, no setup needed.

Uploads

Images/videos stored at /Volumes/drive. 1/uploads/. No size limits (your drive, your rules).

Environment Variables