14 Commits

Author SHA1 Message Date
面条
6ec262d8cf refactor: migrate to Tailwind CSS v4 and TypeScript
Replaces PostCSS-based styling with Tailwind CSS v4 via Vite plugin
Converts all .js files to .ts with proper type annotations
Adds comprehensive type definitions for Telegram data structures
Extracts reusable UI components and standardizes class utilities

Improves maintainability by eliminating custom CSS in favor of
Tailwind utilities and design tokens
Enhances type safety across Telegram parsing, env access, and API routes
Centralizes agent guidelines in AGENTS.md following repository standards
Upgrades iconography to astro-icon with Remix Icon integration

Expands accessible HTML patterns including ARIA labels, semantic
navigation, and keyboard interaction support
Refactors static proxy logic into shared utility functions
Consolidates modal and image preview markup for consistency
2026-03-26 21:11:11 +08:00
ccbikai
7874c13ee2 chore: Update dependencies 2025-12-25 20:59:39 +08:00
ccbikai
4dbe36fa77 feat: add EdgeOne adapter support
Integrates EdgeOne as a deployment adapter alongside existing providers like Cloudflare, Netlify, Node, and Vercel.

Enables deployment to EdgeOne platform by adding the adapter package and configuration, expanding the available deployment options for the project.
2025-12-13 16:33:34 +08:00
ccbikai
6a0bf4abdd chore: upgrade version 2025-11-15 19:46:00 +08:00
ccbikai
58be3f399c chore: eslint fix and upgrade dependencies 2024-08-31 16:29:02 +08:00
ccbikai
2b9807bd89 feat: add Docker support and enhance environment configuration
- Introduce .dockerignore for Docker build optimization
- Add Dockerfile for containerization setup
- Update .env.example to clear Sentry variables and rename HOST to TELEGRAM_HOST
- Modify astro.config.mjs to conditionally exclude SSR dependencies in Docker builds
- Adjust postinstall script to safely handle missing .git directory
- Refactor telegram host retrieval for clarity and consistency
2024-08-31 13:41:16 +08:00
ccbikai
67e4f89e35 chore: upgrade pnpm to 9.8.0 and update various package versions 2024-08-23 19:19:43 +08:00
ccbikai
204cdded9f chore: upgrade dependencies 2024-08-13 19:26:43 +08:00
ccbikai
ca765c9b18 feat: integrate prismjs components importer for modular syntax highlighting
Enhances PrismJS usage by adopting a dedicated importer tool to manage language components, improving maintainability and reducing bundle size.
2024-08-11 15:36:36 +08:00
ccbikai
f2304673b3 feat: enhance build and syntax highlighting
- Updated .gitignore to include new deployment and build tools
- Added @types/prismjs for improved TypeScript support in syntax highlighting
- Integrated PrismJS with additional languages for comprehensive code highlighting
2024-08-11 10:36:06 +08:00
ccbikai
793bc52f19 feat: enhance code highlighting with flourite
Integrate flourite for improved language detection in code blocks, replacing manual detection logic. This enhances accuracy and supports a broader range of languages for syntax highlighting. Additionally, streamline CSS inclusion for code highlighting by importing directly from the package, reducing reliance on external CDN.
2024-08-11 10:14:03 +08:00
ccbikai
4fa62bf68d feat: add sanitize-html for content filtering
Enhance RSS feed content safety by integrating sanitize-html to allow specific media tags and attributes, ensuring a secure and controlled presentation of content.
2024-08-07 21:00:55 +08:00
ccbikai
b8ab845520 feat: enhance CSS processing and content rendering
- Added postcss-nesting for improved CSS nesting support
- Updated dependencies to support new CSS processing features
- Modified HTML content handling to improve accessibility and styling
- Enhanced post content parsing for better rendering and SEO
2024-08-06 13:02:57 +08:00
ccbikai
c39ab2d528 feat: init 2024-08-04 20:42:51 +08:00