Skip to content

Frolov3/TheDraft

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

219 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TheDraft



TheDraft is a service for automating social media posts, enabling the creation, editing, scheduling, and publishing of content across multiple platforms from a simple interface.

Implemented Features

Projects And Team

  • Create and manage projects;
  • Invite team members;
  • Configure roles and access;
  • Configure available publishing platforms;

Posts

  • Create posts with text and media;
  • Choose target platforms for publishing;
  • Preview posts before publishing;
  • Schedule posts for later;
  • Send notifications about created, updated, published, and failed posts;

Platforms

TheDraft supports publishing to:

  • Telegram;
  • Discord;
  • VK;
  • Pachca;

AI And Media

  • Generate content with AI;
  • Generate HTML for visual materials;
  • Render images and videos through a separate render-service;
  • Configure AI models and generation settings in the admin area;

Admin Area

  • View system statistics;
  • Manage users;
  • Manage projects;
  • Review unfreeze requests;
  • Freeze and unfreeze projects;
  • Configure AI settings;

Stack

React, Tailwind, Docker
Laravel, Express, Puppeteer, Pino

Project Structure

├── backend/          # API and business logic
├── frontend/         # User interface
├── render-service/   # Image and video rendering
├── docker/           # Container configs
├── docker-compose.yml
└── .env.example      # Root environment example

First Run

Copy the environment files:

cp .env.example .env
cp backend/.env.example backend/.env

For the first run, the root .env already contains:

RUN_MIGRATIONS=true

With this setting, the backend will generate the application key, run migrations, and seed the basic reference data on startup.

After the first successful run, you can switch it back to:

RUN_MIGRATIONS=false

This prevents the project key from being regenerated on the next container starts.

Launch

Build and start the containers:

docker compose up -d --build

The application will be available at:

http://localhost

About

TheDraft is a service for automating social media posts, enabling the creation, editing, scheduling, and publishing of content across multiple platforms from a simple interface.

Topics

Resources

Stars

Watchers

Forks

Contributors