Skip to content

Latest commit

Β 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ§‡ ByteWaffle β€” Setup Guide

Folder Structure

bytewaffle/
β”œβ”€β”€ public/
β”‚   └── frames/              ← PASTE YOUR 200 FRAMES HERE
β”‚       β”œβ”€β”€ frame_001.jpg
β”‚       β”œβ”€β”€ frame_002.jpg
β”‚       └── ... frame_200.jpg
β”œβ”€β”€ pages/
β”‚   β”œβ”€β”€ _app.js
β”‚   └── index.js
β”œβ”€β”€ styles/
β”‚   └── globals.css
β”œβ”€β”€ next.config.js
└── package.json

Step-by-Step Setup

1. Install Node.js

Download from https://nodejs.org (LTS version)

2. Create project folder

mkdir bytewaffle
cd bytewaffle

3. Copy all these files into the folder (keeping the structure above)

4. Add your frames

  • Create folder: public/frames/
  • Paste your 200 frames named: frame_001.jpg to frame_200.jpg
  • EZGif usually exports them like this by default βœ…

5. Install dependencies

npm install

6. Run locally to preview

npm run dev

Open http://localhost:3000

7. Build for deployment

npm run build

This creates an out/ folder.

8. Deploy on Netlify

  1. Go to netlify.com β†’ Log in
  2. Drag the out/ folder onto Netlify
  3. Get your live URL instantly! πŸš€

Frame Rename Fix (if needed)

If your frames are named differently (e.g. 0001.jpg), open a terminal in the frames folder and run:

Windows (PowerShell):

$i=1; Get-ChildItem *.jpg | Sort-Object Name | ForEach-Object { Rename-Item $_ "frame_$('{0:D3}' -f $i).jpg"; $i++ }

Mac/Linux:

i=1; for f in *.jpg; do mv "$f" "$(printf 'frame_%03d.jpg' $i)"; ((i++)); done

WhatsApp Order Setup

The "Order Now" button is pre-configured to:

  • Phone: +91 6268238126
  • Pre-written message: "Hi Nitish! I'd like to order from ByteWaffle..."

To change the message, edit line 7 in pages/index.js.

About

🎬 A scroll-driven storytelling experience built with Next.js β€” crafted through vibe coding to explore visual narrative on the web.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages