13 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
24956f1ac8 fix: update adapterProvider conditions for edgeone 2025-12-25 21:12:47 +08:00
ccbikai
7faaace1ad feat: update adapterProvider logic for edgeone support 2025-12-13 17:06:36 +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
6632363520 feat: switch to server-side rendering 2024-11-06 20:03:43 +08:00
ccbikai
89ba27cd9b feat: add 'util' module to Node.js integration
Enhance compatibility by including the 'util' module in the Node.js integration configuration, ensuring broader functionality and support for utility functions.
2024-10-17 12:14:09 +08:00
ccbikai
a35dc1c016 feat: remove Sentry integration if DSN is missing
Enhance configuration robustness by disabling Sentry integration when DSN is not provided, preventing potential runtime errors.
2024-10-15 21:20:18 +08:00
ccbikai
b8f0d6fb78 feat: integrate Sentry in CI and Astro config for enhanced error tracking
Ensures Sentry is consistently configured across CI and project settings, improving error monitoring and issue resolution.
2024-10-15 20:41:40 +08:00
ccbikai
dac74bc9d8 chore: conditionally enable Sentry integration based on environment variable
Conditionally enables Sentry integration only if the SENTRY_DSN environment variable is set, improving build efficiency and reducing unnecessary dependencies.
2024-09-18 20:52:59 +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
2df9b66ed9 feat: enhance deployment and media handling
- Updated deployment configurations to disable Incremental Static Regeneration (ISR) and cache on demand pages for better performance control.
- Extended .gitignore to include deployment-specific directories, preventing unnecessary files from being tracked.
- Improved video handling in content by adding support for additional video types and enhancing video element attributes for better playback control.
- Refactored post retrieval logic to ensure channel information is correctly merged and SEO data is accurately assigned.
- Enhanced static file handling to include error handling and domain whitelisting for security and reliability.
2024-08-05 18:57:28 +08:00
ccbikai
c39ab2d528 feat: init 2024-08-04 20:42:51 +08:00