Automagically create brainrot short-form content from reddit comment https://youtube.com/shorts/RcNCMouwZTA
  • Go 90.4%
  • HTML 4.5%
  • Nix 3.3%
  • HCL 0.9%
  • Makefile 0.6%
  • Other 0.3%
Find a file
notarock-s-renovate[bot] 35520b9026
Update Go Dependencies (#47)
Co-authored-by: notarock-s-renovate[bot] <265181468+notarock-s-renovate[bot]@users.noreply.github.com>
2026-05-07 14:02:07 -04:00
.github/workflows Update GitHub Actions workflow triggers 2026-03-16 00:14:15 -04:00
cmd Add rain drop simulation preset 2026-04-24 23:57:50 -04:00
database/migrations Move migrations to subfolder 2025-01-19 22:07:05 -05:00
pkg Add rain drop simulation preset 2026-04-24 23:57:50 -04:00
terraform Update Terraform google to v7.30.0 (#45) 2026-04-28 22:54:21 -04:00
testing_resources Test data 2024-12-08 01:36:34 -05:00
.air.toml Nix develop comfymaxxing 2024-11-12 23:33:04 -05:00
.env.sample Sqlite db and video creation/pagination 2024-11-11 22:46:24 -05:00
.gitignore Nix develop comfymaxxing 2024-11-12 23:33:04 -05:00
.tuyauterie.yaml Update build type 2026-03-13 01:03:25 -04:00
CLAUDE.md Add tests for subs, config, chatgpt, video/title; fix database tests 2026-04-24 22:59:27 -04:00
docker-compose.yaml Move migrations to subfolder 2025-01-19 22:07:05 -05:00
Dockerfile Update packages 2026-03-13 01:00:56 -04:00
flake.lock Update golang Docker tag to v1.26 (#8) 2026-03-04 01:26:36 -05:00
flake.nix Add simulation video source with headless browser physics 2026-04-24 23:04:24 -04:00
go.mod Update Go Dependencies (#47) 2026-05-07 14:02:07 -04:00
go.sum Update Go Dependencies (#47) 2026-05-07 14:02:07 -04:00
LICENSE Update LICENSE 2024-07-04 14:49:41 -04:00
main.go Build using buildGoModule 2024-11-13 17:26:52 -05:00
Makefile Wrong arch 2024-11-18 21:15:40 -05:00
README.fr.md Translate README 2024-07-04 15:04:29 -04:00
README.md Translate README 2024-07-04 15:04:29 -04:00
renovate.json Configure Renovate (#3) 2026-03-03 21:27:38 -05:00

Slopify

Note

I created this project "For Science!". The goal was to find out how hard it is to completely automate low-effort content creation... Turns out it's really not that hard.

image

Introduction

Slopify is an innovative tool designed to transform Reddit comment threads into short, engaging videos. By leveraging natural language processing and video generation technologies, Slopify offers users a unique way to consume and share glimpses, jokes, stories, and discussions from Reddit in a visually appealing format

Thanks you chatGPT, bery cool.

What it can actually do

  • Create brainrot short-fort content videos : Automatically converts Reddit comment threads into short videos with text and narration.
  • Customizable video background : Offers customizable backgrounds to make each video unique using --footage
  • Easy upload : Built-in sharing options to easily distribute your generated videos on platforms like YouTube.
  • Built-in title generation : Prompt ChatGPT for SEO title and description to turn the Dead Internet Theory into a real thing!

Usage

go run main.go reddit <permalink to comment / thread> --footage <path to background content folder>

Project Setup

Requirements

  • Go 1.18
  • ffmpeg
  • terraform/opentofu
  • A GCP project.
  • OpenAPI key and some credits

1. Clone repository

git clone https://github.com/notarock/slopify

2. Configure GCP project

gcloud auth login
gcloud config set project slopify
gcloud auth application-default login

3. Create GCS storage bucket using provided terraform code

cd terraform
terraform init
terraform apply

GCS storage is only used temporarily during the execution of the program. To use the transcription API to obtain subtitles, the video passed as a parameter must be in GCS...

The video is deleted in all cases using a defer, so it should not incur additional costs related to storage usage.

4. Activate GCP API

Activate these required APIS:

image

5. Add yourself as a developer in the project's users and create an OAuth application for YouTube.

image image image

6. Authorize YouTube through the OAuth app. The CLI will ask for the code found in the app's callback URL.

Download the JSON configuration file for the OAuth app and run the program, which will initiate the authentication flow for YouTube. Then, copy the code from the callback URL and paste it into the terminal.