Skip to content
/ GoGig Public

GoGig is a Discord bot project designed to automate job searching and subreddit/keyword management using Reddit and PostgreSQL. It features modular command handling, database-backed configuration, and supports Docker-based deployment.

Notifications You must be signed in to change notification settings

Tech-Dex/GoGig

Repository files navigation

GoGig

GoGig Logo

GoGig is a Discord bot project designed to automate job searching and subreddit/keyword management using Reddit and PostgreSQL. It features modular command handling, database-backed configuration, and supports Docker-based deployment.

Features

  • Discord bot with job search automation
  • Subreddit and keyword management (add/list/remove via commands)
  • SQLAlchemy ORM models and Alembic migrations
  • PostgreSQL database integration
  • Docker and Docker Compose support
  • Modular command structure (cogs)

Getting Started

Prerequisites

  • Docker & Docker Compose
  • Python 3.12+

Setup

  1. Clone the repository:
    git clone https://github.com/yourusername/gogig.git
    cd gogig
  2. Copy and edit environment variables:
    cp sample.env .env
    # Edit .env as needed
  3. Build and start with Docker Compose:
    docker-compose up --build
    # or
    docker-compose -f default.docker-compose.yml up --build

Database Migrations

  • Alembic is used for migrations:
    alembic upgrade head
    alembic revision --autogenerate -m "Your migration message"

Project Structure

GoGig/
├── alembic/           # Alembic migration scripts
├── cogs/              # Discord bot command modules
├── config/            # Configuration and database setup
├── models/            # SQLAlchemy ORM models
├── services/          # Business logic/services
├── main.py            # Bot entry point
├── Dockerfile         # Docker build file
├── default.docker-compose.yml # Docker Compose with PostgreSQL
├── requirements.txt   # Python dependencies
└── README.md          # Project documentation

Useful Commands

  • Add/list/remove subreddits and keywords via Discord bot commands
  • Run linter:
    ./lint.sh

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

MIT

About

GoGig is a Discord bot project designed to automate job searching and subreddit/keyword management using Reddit and PostgreSQL. It features modular command handling, database-backed configuration, and supports Docker-based deployment.

Topics

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors 2

  •  
  •