📝 My old blogpage
  • MDX 72.2%
  • Svelte 19.9%
  • TypeScript 5%
  • TeX 1.5%
  • CSS 1%
  • Other 0.4%
Find a file
2026-05-29 18:59:08 +03:00
.idea feat(content): add more drafts 2025-04-30 12:49:43 +03:00
.vscode feat: initialize the project 2025-04-23 03:44:12 +03:00
.zed feat(og): add opegraph support for articles 2025-05-01 16:44:51 +03:00
content/articles fix: shorten description of age-of-agents a little bit 2026-05-23 00:22:51 +03:00
docs/assets feat(readme): add readme 2025-06-05 04:22:14 +03:00
src fix(og): fixed og meta tags 2026-05-29 18:59:08 +03:00
static feat: add age-of-agents article 2026-05-21 00:36:38 +03:00
.gitignore feat: initialize the project 2025-04-23 03:44:12 +03:00
.npmrc feat: initialize the project 2025-04-23 03:44:12 +03:00
.prettierignore feat: initialize the project 2025-04-23 03:44:12 +03:00
.prettierrc feat: initialize the project 2025-04-23 03:44:12 +03:00
.vercelignore chore(vercel): add vercel ignore 2025-06-27 19:16:36 +03:00
bun.lock feat: replace medium-zoom with panzoom viewer 2026-05-21 01:18:34 +03:00
eslint.config.js feat: initialize the project 2025-04-23 03:44:12 +03:00
package.json feat: replace medium-zoom with panzoom viewer 2026-05-21 01:18:34 +03:00
postcss.config.mjs feat: initialize the project 2025-04-23 03:44:12 +03:00
README.md feat(readme): add readme 2025-06-05 04:22:14 +03:00
svelte.config.js fix(theme): improve dark mode content contrast 2026-05-21 00:45:35 +03:00
tsconfig.json feat: initialize the project 2025-04-23 03:44:12 +03:00
uno.config.ts feat(theme): add theme toggle 2026-02-25 02:12:18 +03:00
vite.config.ts fix(twa): fixed unocss config import 2025-07-17 16:36:15 +03:00

Logo

/dev/tokiory

Personal blog and portfolio website built with SvelteKit and MDX

Deployed on Vercel Built with SvelteKit


🚀 Features

  • ⚙️ Modern Tech Stack: Built with SvelteKit, TypeScript, and UnoCSS
  • 📝 MDX Support: Write articles in Markdown with embedded Svelte components
  • 🎨 Syntax Highlighting: Code blocks with Shiki highlighter and custom transformers
  • 🔍 SEO Optimized: Automatic sitemap generation and meta tags
  • 📱 Responsive Design: Mobile-first design with UnoCSS
  • Fast Performance: Optimized builds and Vercel deployment
  • 🛡️ Type Safety: Full TypeScript support throughout the codebase

🛠️ Tech Stack

  • Framework: SvelteKit
  • Styling: UnoCSS with custom presets
  • Content: MDsveX for MDX support
  • Syntax Highlighting: Shiki
  • Icons: Iconify
  • Fonts: Variable fonts from Fontsource
  • Deployment: Vercel
  • Package Manager: Bun

📁 Project Structure

_dev_tokiory/
├── content/
│   └── articles/           # Blog articles in MDX format
│       ├── drafts/         # Draft articles
│       └── *.mdx           # Published articles
├── src/
│   ├── lib/
│   │   ├── components/     # Reusable Svelte components
│   │   └── modules/        # Feature modules
│   ├── routes/
│   │   ├── (standard)/     # Main site routes
│   │   ├── (cv)/           # CV/Resume routes
│   │   └── api/            # API endpoints
│   └── styles/             # Global styles
├── static/                 # Static assets
└── docs/                   # Documentation and assets

🚦 Getting Started

Prerequisites

  • Bun (recommended) or Node.js 18+
  • Git

Installation

  1. Clone the repository:
git clone https://github.com/tokiory/dev-tokiory.git
cd dev-tokiory
  1. Install dependencies:
bun install
  1. Start the development server:
bun run dev
  1. Open your browser and navigate to http://localhost:5173

Available Scripts

  • bun run dev - Start development server
  • bun run build - Build for production
  • bun run preview - Preview production build locally
  • bun run check - Run type checking and linting

📝 Writing Articles

Articles are written in MDX format and stored in the content/articles/ directory. Each article should include frontmatter with metadata:

---
title: Your Article Title
description: Brief description of the article
date: 2024-01-15
tags:
  - tag1
  - tag2
---

Your article content here with support for:
- Markdown syntax
- Embedded Svelte components
- Code blocks with syntax highlighting

Code Highlighting

The project uses Shiki for syntax highlighting with custom transformers:

  • Focus notation: // [!code focus]
  • Diff notation: // [!code ++] and // [!code --]
  • Highlight notation: // [!code highlight]

🎨 Styling

The project uses UnoCSS with:

  • Custom presets for icons and styling
  • CSS variables for theming
  • Responsive design utilities
  • Variable fonts (Manrope, Martian Mono, Podkova, Iosevka)

🔧 Configuration

Key configuration files:

  • svelte.config.js - SvelteKit and MDsveX configuration
  • uno.config.ts - UnoCSS configuration
  • vite.config.ts - Vite build configuration
  • tsconfig.json - TypeScript configuration

📦 Deployment

The site is automatically deployed to Vercel on push to the main branch. The deployment configuration is handled by the Vercel adapter in svelte.config.js.

Manual Deployment

To deploy manually:

  1. Build the project:
bun run build
  1. Deploy to Vercel:
vercel --prod

🤝 Contributing

While this is a personal blog, suggestions and bug reports are welcome! Please:

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Submit a pull request

📄 License

This project is open source and available under the MIT License.


Built with ❤️ by tokiory