Skip to content

MoadSANI/website

 
 

Repository files navigation

BuildAtScale.tv

A website for sharing videos about AI tools, web development, DevOps, and database systems. Built with Astro and deployed on Cloudflare Pages.

Features

  • Video Integration: Fetches and displays YouTube videos using the YouTube Data API
  • Newsletter: Email newsletter subscription via Resend
  • Dark Mode: Tailwind CSS-powered dark mode support
  • Progressive Loading: Optimized video loading with thumbnails
  • Video Modal: Embedded YouTube player with modal interface
  • Content Requests: Form for viewers to request video topics

Tech Stack

Project Structure

/
├── public/             # Static assets
├── src/
│   ├── assets/        # Images and other assets
│   ├── components/    # Astro components
│   ├── content/       # Content collections (videos)
│   ├── layouts/       # Page layouts
│   └── pages/         # Routes (index.astro)
├── astro.config.mjs   # Astro configuration
├── tailwind.config.mjs
└── package.json

Getting Started

Prerequisites

  • Node.js (v18 or higher)
  • YouTube API key (for fetching video data)
  • Resend API key (for newsletter functionality)

Installation

npm install

Environment Variables

Create a .dev.vars file in the root directory (for local development):

YOUTUBE_API_KEY=your_youtube_api_key
RESEND_API_KEY=your_resend_api_key

For production deployment, set these as environment variables in your Cloudflare Pages project.

Development

Start the development server:

npm run dev

The site will be available at http://localhost:4321

Build & Deploy

Build for production:

npm run build

Preview production build locally:

npm run preview

Deploy to Cloudflare:

npm run deploy

Commands

Command Action
npm install Install dependencies
npm run dev Start local dev server at localhost:4321
npm run build Build production site to ./dist/
npm run preview Build and preview with Wrangler dev server
npm run deploy Build and deploy to Cloudflare Pages
npm run cf-typegen Generate TypeScript types for Cloudflare

Site URL

https://buildatscale.tv

About

BuildAtScale is a platform for learning in public - sharing real experiments, failures, and discoveries in AI-assisted development, web development, DevOps, and modern software engineering.

About

Companion website for BuildAtScale YouTube channel

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Astro 85.6%
  • TypeScript 13.3%
  • JavaScript 1.1%