Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GoShare

Facebook group auto-posting tool with a Flask web UI and Playwright-based browser automation.

Features

  • Post text + images to Facebook groups automatically
  • Manage multiple Facebook profiles via cookies
  • Fetch joined groups from your Facebook account
  • Schedule posts for specific dates/times
  • AI-powered content generation (Groq API)
  • Real-time log streaming
  • Posting history tracking
  • Cookie expiry detection & manual login fallback

Requirements

  • Python 3.10+
  • Google Chrome

Quick Start

pip install -r requirements.txt
playwright install chromium
cp .env.example .env    # Edit .env with your settings
python app.py

Open http://localhost:5000 in your browser.

Environment Variables

Copy .env.example to .env and configure:

Variable Description Default
SECRET_KEY Flask session secret change-this-to-a-random-secret-key
GROQ_API_KEY Groq API key for AI content (optional) (empty)
APP_USERNAME Login username Ali-Murtaza
APP_PASSWORD Login password amj123

Login Credentials

Field Default Value
Username Ali-Murtaza
Password amj123

Developed with ❤️ by AMJ

Project Structure

GoShare/
├── app.py                 # Flask web application
├── scripts/
│   ├── poster.py          # Playwright posting logic
│   ├── fetch_groups.py    # Group scraping
│   ├── facebook_cookies.py# Cookie validation
│   ├── manual_login.py    # Manual login handler
│   └── cookie_utils.py    # Cookie format normalization
├── templates/
│   ├── index.html         # Login page
│   ├── dash.html          # Main dashboard
│   └── pages/             # Sub-pages
├── static/
│   ├── style.css
│   ├── logs/              # Application logs
│   └── profiles/          # Per-profile data (cookies, groups, history)
└── requirements.txt

About

Facebook group auto-posting tool with a Flask web UI and Playwright-based browser automation.

Resources

Stars

2 stars

Watchers

0 watching

Forks

Contributors

Languages