https://github.com/macx/davideiken
https://github.com/macx/davideiken
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/macx/davideiken
- Owner: macx
- License: mit
- Created: 2025-12-30T13:22:53.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2025-12-30T14:30:43.000Z (6 months ago)
- Last Synced: 2026-01-03T06:46:10.991Z (6 months ago)
- Language: Astro
- Size: 133 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# davideiken
Personal website built with Astro, TypeScript, MDX, and Tailwind CSS.
## ๐ Getting Started
This project uses **pnpm** as the package manager, enabled via corepack.
### Prerequisites
- Node.js 20 or higher
- Corepack enabled: `corepack enable`
### Installation
```bash
# Install dependencies
pnpm install
# Install Playwright browsers (required for tests)
pnpx playwright install chromium
```
### Development
```bash
# Start development server
pnpm dev
# Open http://localhost:4321
```
### Building
The build script runs three steps:
1. TypeScript type checking via `astro check`
2. End-to-end tests via Playwright
3. Production build
```bash
# Build the site (includes TypeScript check and tests)
pnpm build
# Preview the production build
pnpm preview
```
**Note:** CodeQL security analysis runs automatically via GitHub Actions on every push and pull request. See `.github/workflows/codeql.yml` for configuration.
### Testing
```bash
# Run Playwright tests
pnpm test
```
**Note:** Tests require the site to be built first. The test runner automatically starts a preview server from the `dist` folder.
## ๐ง Project Structure
```
/
โโโ public/ # Static assets
โโโ src/
โ โโโ layouts/ # Layout components
โ โโโ pages/ # Page components (.astro, .mdx)
โ โโโ components/ # Reusable components
โโโ tests/ # Playwright end-to-end tests
โโโ dist/ # Build output (generated)
```
## โจ Features
- ๐ **Dark/Light Mode** - Toggle with theme persistence
- โฟ **Accessible** - ARIA labels, keyboard navigation
- โก **Fast** - Built with Astro for optimal performance
- ๐ **MDX Support** - Rich content with Markdown and JSX
- ๐จ **Tailwind CSS** - Utility-first styling
- ๐ **Type-safe** - Strict TypeScript configuration
- ๐งช **Tested** - Playwright end-to-end tests
- ๐ **Secure** - CodeQL security scanning via GitHub Actions
## ๐ Security
This project uses GitHub CodeQL for automated security analysis. CodeQL scans run:
- On every push to main and feature branches
- On every pull request
- Weekly on a schedule
Security findings are reported in the GitHub Security tab.
## ๐ License
See [LICENSE](LICENSE) file for details.