Skip to content

Commit fa721f5

Browse files
authored
feat!: Replace with Astro (#1)
1 parent eba8bf5 commit fa721f5

121 files changed

Lines changed: 10303 additions & 21298 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.env

Lines changed: 0 additions & 1 deletion
This file was deleted.

.github/workflows/deploy.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: Deploy to GitHub Pages
2+
3+
on:
4+
# Trigger the workflow every time you push to the `main` branch
5+
# Using a different branch name? Replace `main` with your branch's name
6+
push:
7+
branches: [ main ]
8+
# Allows you to run this workflow manually from the Actions tab on GitHub.
9+
workflow_dispatch:
10+
11+
# Allow this job to clone the repo and create a page deployment
12+
permissions:
13+
contents: read
14+
pages: write
15+
id-token: write
16+
17+
jobs:
18+
build:
19+
runs-on: ubuntu-latest
20+
steps:
21+
- name: Checkout your repository using git
22+
uses: actions/checkout@v4
23+
- name: Install, build, and upload your site
24+
uses: withastro/action@v2
25+
# with:
26+
# path: . # The root location of your Astro project inside the repository. (optional)
27+
# node-version: 20 # The specific version of Node that should be used to build your site. Defaults to 20. (optional)
28+
# package-manager: pnpm@latest # The Node package manager that should be used to install dependencies and build your site. Automatically detected based on your lockfile. (optional)
29+
30+
deploy:
31+
needs: build
32+
runs-on: ubuntu-latest
33+
environment:
34+
name: github-pages
35+
url: ${{ steps.deployment.outputs.page_url }}
36+
steps:
37+
- name: Deploy to GitHub Pages
38+
id: deployment
39+
uses: actions/deploy-pages@v4

.github/workflows/lepoco-publish-page.yml

Lines changed: 0 additions & 56 deletions
This file was deleted.

.gitignore

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
1-
# See https://help.github.com/ignore-files/ for more about ignoring files.
1+
# build output
2+
dist/
3+
# generated types
4+
.astro/
25

36
# dependencies
4-
/node_modules
7+
node_modules/
58

6-
# composer
7-
/vendor
9+
# logs
10+
npm-debug.log*
11+
yarn-debug.log*
12+
yarn-error.log*
13+
pnpm-debug.log*
814

9-
# testing
10-
/coverage
1115

12-
# production
13-
/build
16+
# environment variables
17+
.env
18+
.env.production
1419

15-
# misc
20+
# macOS-specific files
1621
.DS_Store
17-
.env.local
18-
.env.development.local
19-
.env.test.local
20-
.env.production.local
2122

22-
npm-debug.log*
23-
yarn-debug.log*
24-
yarn-error.log*
23+
# jetbrains setting folder
24+
.idea/

.prettierrc

Lines changed: 0 additions & 15 deletions
This file was deleted.

.vscode/extensions.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"recommendations": ["astro-build.astro-vscode"],
3+
"unwantedRecommendations": []
4+
}

.vscode/launch.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"version": "0.2.0",
3+
"configurations": [
4+
{
5+
"command": "./node_modules/.bin/astro dev",
6+
"name": "Development server",
7+
"request": "launch",
8+
"type": "node-terminal"
9+
}
10+
]
11+
}

README.md

Lines changed: 95 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,95 @@
1+
# lepo.co - Personal Blog & Portfolio
2+
3+
Welcome to the source code of my personal website and blog! This is where I share my journey as a .NET developer, open-source contributor, and creator of WPF UI.
4+
5+
## 🚀 About
6+
7+
This site showcases:
8+
- **My Projects**: WPF UI, MCP Servers, and other open-source contributions
9+
- **Blog Posts**: Technical articles about .NET development, WPF, and modern Windows apps
10+
- **Achievements**: Microsoft collaboration, PowerToys integration, and community impact
11+
- **Professional Services**: Support plans and consulting through lepo.co
12+
13+
## 🛠️ Tech Stack
14+
15+
Built with modern web technologies:
16+
- **Astro** - Static site generation with excellent performance
17+
- **Terminal Theme** - Retro aesthetic perfect for developer content
18+
- **Markdown** - Simple content management
19+
- **TypeScript** - Type-safe development
20+
21+
## 🎯 Key Sections
22+
23+
### Projects
24+
- **WPF UI** - Modern Fluent Design controls for WPF (8.8k+ stars)
25+
- **Camunda MCP Server** - Official Docker MCP server for process automation
26+
- **OpenAPI MCP Server** - Tools for working with API specifications
27+
28+
### Achievements
29+
- 🤝 **Microsoft Partnership** - Collaborating on .NET 9 WPF improvements
30+
-**PowerToys Integration** - WPF UI powers Microsoft PowerToys Run
31+
- 🐳 **Official Docker MCP** - Published in Docker's official repository
32+
- 🌟 **Community Impact** - Libraries used by 2.5k+ projects
33+
34+
## 🔧 Development
35+
36+
```bash
37+
# Install dependencies
38+
npm install
39+
40+
# Start development server
41+
npm run dev
42+
43+
# Build for production
44+
npm run build
45+
46+
# Preview production build
47+
npm run preview
48+
```
49+
50+
## 📄 Content
51+
52+
All blog posts are written in Markdown and stored in `src/content/posts/`. The site automatically generates:
53+
- RSS feeds for blog content
54+
- Sitemap for SEO
55+
- Tag-based navigation
56+
- Post previews and pagination
57+
58+
## 🌐 Live Site
59+
60+
Visit the live site at [lepo.co](https://lepo.co) to see my latest projects and blog posts.
61+
62+
## 📞 Connect
63+
64+
- **GitHub**: [@lepoco](https://github.com/lepoco)
65+
- **Sponsors**: [GitHub Sponsors](https://github.com/sponsors/pomianowski)
66+
- **Professional Support**: [lepo.co](https://lepo.co/support)
67+
68+
---
69+
70+
## Based on Astro Terminal Theme
71+
72+
This site is based on the excellent [Astro Terminal Theme](https://github.com/dennisklappe/astro-theme-terminal) by Dennis Klappe,
73+
which is a port of the Hugo Terminal Theme by panr.
74+
75+
MIT License
76+
77+
Copyright (c) 2024 Astro Theme Terminal Contributors
78+
79+
Permission is hereby granted, free of charge, to any person obtaining a copy
80+
of this software and associated documentation files (the "Software"), to deal
81+
in the Software without restriction, including without limitation the rights
82+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
83+
copies of the Software, and to permit persons to whom the Software is
84+
furnished to do so, subject to the following conditions:
85+
86+
The above copyright notice and this permission notice shall be included in all
87+
copies or substantial portions of the Software.
88+
89+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
90+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
91+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
92+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
93+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
94+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
95+
SOFTWARE.

astro.config.mjs

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
// @ts-check
2+
import { defineConfig } from 'astro/config';
3+
import sitemap from '@astrojs/sitemap';
4+
5+
// https://astro.build/config
6+
export default defineConfig({
7+
site: 'https://lepo.co',
8+
// Only use base path in production (GitHub Pages)
9+
base: process.env.NODE_ENV === 'production' ? '/lepoco' : '/',
10+
integrations: [sitemap()],
11+
markdown: {
12+
shikiConfig: {
13+
theme: 'css-variables',
14+
langs: [],
15+
wrap: true,
16+
},
17+
},
18+
});

blog/hello-world.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)