Skip to content

Conversation

@ctorresmx
Copy link
Owner

This removes all Deno code and migrates to Rust with a sprinkle of NPM for CSS

Copilot AI review requested due to automatic review settings October 13, 2025 05:22
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR migrates the entire codebase from Deno Fresh/TypeScript to Rust with Axum web framework. The migration removes all TypeScript/Deno code and implements equivalent functionality in Rust while maintaining the same blog features including Markdown parsing, GitHub Flavored Markdown support, syntax highlighting, and asset serving.

Key Changes:

  • Complete rewrite from Deno Fresh/TypeScript to Rust with Axum framework
  • Replaced Preact components with Askama templates for server-side rendering
  • Updated build system to use Cargo with NPM for CSS compilation via build.rs
  • Migrated all functionality including routing, markdown processing, and configuration

Reviewed Changes

Copilot reviewed 48 out of 51 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
src/* New Rust implementation with main.rs, handlers, markdown processing, config, models, templates, and assets
templates/* New Askama HTML templates replacing TSX components
Cargo.toml Rust project configuration with dependencies
build.rs Build script for TailwindCSS compilation
Dockerfile Updated to use Rust builder instead of Deno
package.json Added for CSS processing dependencies
README.md Updated documentation for Rust workflow

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Copilot reviewed 49 out of 52 changed files in this pull request and generated 2 comments.


Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Copilot reviewed 49 out of 52 changed files in this pull request and generated 2 comments.


Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@ctorresmx ctorresmx merged commit 0d89942 into main Oct 13, 2025
2 checks passed
@ctorresmx ctorresmx deleted the rust-migration branch October 13, 2025 06:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants