Skip to content

dg4-dev/dgdgdgdg.com

Repository files navigation

dgdgdgdg.com

https://dgdgdgdg.com

dgdgdgdg.com Banner

Astro TypeScript Sass Notion Cloudflare Bun


English | 日本語


🚀 About

This is the source code for dgdgdgdg.com, a personal website built with Astro and Cloudflare Pages. It leverages the Notion API for content management, providing a dynamic and easily updatable site.

⚡ Quick Start

Prerequisites

  • Bun (latest version)

Installation & Run

# Install dependencies
bun install

# Start development server
bun run dev

🔐 Environment Variables

Managed via dotenvx.

# 1. Copy template
cp .env.example .env

# 2. Edit .env with real values
vi .env

# 3. Encrypt (generates .env.keys)
npx dotenvx encrypt

Important

Set DOTENV_PRIVATE_KEY from .env.keys in your local environment or CI/CD secrets.

🛠 Project Structure

src/
├── components/    # Reusable UI components
├── layouts/       # Page layouts
├── lib/           # Utilities & Notion API client
├── pages/         # File-based routing
└── styles/        # Global styles (Sass)

📜 Scripts

Command Description
bun run dev Start development server
bun run build Build for production
bunx wrangler pages dev dist/ Preview build with Wrangler

About

Astro と Cloudflare Pages で構築された個人サイト dgdgdgdg.com のソースコードです。コンテンツ管理に Notion API を利用しており、動的かつ簡単に更新できるサイトを実現しています。

Topics

Resources

Stars

Watchers

Forks

Contributors