Skip to content

sarthaksharma27/Flow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flow - cursor for 2D animation

Built something cool that turns prompts into 2D animated videos using the Manim animation engine!

Perfect for teaching, Explaining dev concepts or just geeking out. Just type a prompt → Get a slick animation

Here is the System desing doc - https://www.notion.so/Flow-System-design-doc-220c591ae88a80da87bbe95ade0222f1?source=copy_link

It explains exactly what this application does, its architecture, the limitations of that architecture, and the design choices I made — along with the reasoning behind them.

FLow.Demo.twitter.-.Made.with.Clipchamp.mp4

Run Locally

Clone the project

git clone https://github.com/sarthaksharma27/Flow.git
 cd Flow
 cd next-app

Create a .env file and paste this configuration

GOOGLE_CLIENT_ID=
GOOGLE_CLIENT_SECRET=
NEXTAUTH_URL=http://localhost:3000
NEXTAUTH_SECRET=
OPENROUTER_API_KEY=
REDIS_URL=redis://localhost:6379
NEXT_PUBLIC_WS_URL=http://localhost:4000
 npm run dev

Frontend is live on http://localhost:3000

Now, to start the Backend

cd ws-server

Create a .env file and paste this configuration

PORT=4000
REDIS_URL=redis://redis:6379
cd worker

Create a .env file and paste this configuration

REDIS_URL=redis://redis:6379
AZURE_STORAGE_CONNECTION_STRING=

Build the Docker image

 docker compose build

Start the Backend

docker compose up

The will start Backend and redis server.

About

Turns prompts into 2D animated videos

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors