Commit Graph

209 Commits

Author SHA1 Message Date
Zijie Fang
be36d7dd6b docs: add 热干面拌 10 号土豆泥 to demo list 2026-04-08 18:04:52 +08:00
面条
b800869aa5 refactor: improve image dimension inference logic
Enhances the algorithm for extracting image dimensions from Telegram widget styles by introducing a more robust fallback mechanism. Previously relied on partial style matching which could miss dimension data encoded across multiple DOM elements.

Now checks wrapper elements and padding-top percentage ratios more systematically to synthesize layout dimensions when explicit width/height are unavailable. This ensures more reliable image aspect ratio calculation for content rendering.

Also clarifies error messages in the sync workflow and updates code comments from Chinese to English for better maintainability.
2026-03-27 13:46:55 +08:00
面条
39b27a5aaf 0.2.0 2026-03-26 21:12:34 +08:00
面条
b84c1a0bc5 Merge branch 'tailwind' 2026-03-26 21:11:24 +08:00
面条
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
面条
5d1001011e Merge pull request #130 from bunizao/main
Add `reaction` display support
2026-01-17 10:52:59 +08:00
bunizao
8a92952c54 refactor: remove async/await from getCustomEmojiImage and getReactions functions for improved performance 2026-01-16 21:42:09 +08:00
bunizao
9118442a7e feat: enable conditional loading of reactions in getPost function 2026-01-16 21:36:33 +08:00
bunizao
571072fe58 fix: correct static proxy usage in custom emoji image URL construction 2026-01-16 21:32:00 +08:00
bunizao
eda760beb9 docs: add REACTIONS configuration section to README files 2026-01-16 21:26:14 +08:00
bunizao
116a20dc89 fix: normalize target URL construction to handle protocol-less URLs 2026-01-12 04:50:48 +08:00
bunizao
fbd6bbe018 feat: add REACTIONS environment variable and integrate it into item component 2026-01-12 04:39:24 +08:00
bunizao
63f7dab32d refactor: simplify custom emoji image retrieval by removing caching logic and using direct URL construction 2026-01-12 04:28:58 +08:00
bunizao
56a06cc410 style: update reaction styling and layout; remove unused emoji fallback logic 2026-01-12 04:10:12 +08:00
bunizao
d56245169a feat: add reaction support with custom emoji handling and styling 2026-01-12 03:56:37 +08:00
面条
6a6a191bde fix: update packageManager version to pnpm@10.27.0 2026-01-01 19:44:13 +08:00
ccbikai
14b707dd31 Merge branch 'edge-one' 2025-12-25 21:19:08 +08:00
ccbikai
24956f1ac8 fix: update adapterProvider conditions for edgeone 2025-12-25 21:12:47 +08:00
ccbikai
7874c13ee2 chore: Update dependencies 2025-12-25 20:59:39 +08:00
ccbikai
16d965a0fd v0.1.8 2025-12-14 11:41:39 +08:00
面条
2e9f7e2223 Merge pull request #123 from miantiao-me/copilot/add-env-variable-tg-intro
feat: add HIDE_DESCRIPTION env variable to control TG description visibility
2025-12-14 11:14:13 +08:00
copilot-swe-agent[bot]
e46b1cebc3 docs: add HIDE_DESCRIPTION to README configuration section
Co-authored-by: miantiao-me <2959393+miantiao-me@users.noreply.github.com>
2025-12-14 02:57:38 +00:00
copilot-swe-agent[bot]
9e6da8fdb8 fix: properly compare HIDE_DESCRIPTION env variable as string
Co-authored-by: miantiao-me <2959393+miantiao-me@users.noreply.github.com>
2025-12-14 02:44:31 +00:00
copilot-swe-agent[bot]
a3b8c97bc3 feat: add HIDE_DESCRIPTION env variable to control TG description visibility
Co-authored-by: miantiao-me <2959393+miantiao-me@users.noreply.github.com>
2025-12-14 02:43:11 +00:00
copilot-swe-agent[bot]
265113a44b Initial plan 2025-12-14 02:39:35 +00: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
面条
d5249adc12 Merge pull request #111 from NahidaBuer/main
feat: support expandable quoteblock
2025-12-13 16:25:03 +08:00
面条
7a0c6d729a Merge pull request #121 from looechao/fix/search-url-decode
fix: decode URL parameter in search page
2025-12-13 16:24:16 +08:00
looechao
7444e66994 fix: decode URL parameter in search page 2025-12-10 13:14:01 +08:00
ccbikai
bcc27cf219 chore: update usernames and references
Updates social media handles, repository links, and funding references from old username to new one across configuration files, documentation, and layouts.
2025-12-07 15:32:13 +08:00
ccbikai
d3978a3770 Merge branch 'astro' 2025-11-15 19:50:36 +08:00
ccbikai
6a0bf4abdd chore: upgrade version 2025-11-15 19:46:00 +08:00
Nahida
8069fe3266 feat: support expandable quoteblock 2025-09-07 00:29:52 +08:00
面条
dde6425a57 buy_me_a_coffee 2025-04-13 12:22:04 +08:00
ccbikai
f8951544c4 fix(rss): add atom namespace to RSS XSL stylesheet
Adds xmlns:atom namespace declaration to the XSL stylesheet to support Atom feed elements and ensure proper XML namespace resolution

This enables handling of Atom elements within RSS feeds while maintaining compatibility with existing RSS functionality.
2025-01-04 12:21:26 +08:00
ccbikai
c50f475ad8 fix: update RSS_BEAUTIFY env var to empty string
Changes default value of RSS_BEAUTIFY from boolean false to empty string for consistency with other environment variables in the configuration file.
2025-01-01 19:13:50 +08:00
ccbikai
876ba3e9a2 refactor: optimize RSS feed generation
Switches from getRssString to modern rss helper function
Moves XSL stylesheet to dedicated static file
Improves code organization and maintainability

Simplifies RSS feed configuration while maintaining beautification option
2025-01-01 19:03:22 +08:00
ccbikai
0dbec343b4 feat: add RSS feed beautification option
Introduces a new RSS_BEAUTIFY configuration flag to enable RSS feed styling
- Adds XSL styling support for RSS feeds when enabled
- Updates documentation in both English and Chinese
- Modifies RSS generation to support the new styling option

Migration from rss to getRssString for enhanced customization
2025-01-01 18:07:00 +08:00
面条
668b70df1d docs: add x links 2024-12-26 18:41:24 +08:00
ccbikai
a4ee6ef435 feat: enhance channel favicon with dynamic resizing
Implements dynamic favicon handling using wsrv.nl image service:
- Resizes channel avatar to 64x64
- Applies circular mask for consistent appearance
- Ensures HTTPS compatibility by stripping protocol
- Falls back to default favicon when no avatar exists

Improves visual consistency across different platforms and scales
2024-12-22 19:24:32 +08:00
ccbikai
72688949ba fix: update X (Twitter) social profile link
Updates social profile link on X (formerly Twitter) to use a redirect URL through 404.li service instead of direct x.com link
2024-12-14 21:13:53 +08:00
ccbikai
13b1d7fd8e fix: update Sentry configuration in Docker builds
Improves Sentry integration in Docker builds by:
- Moving Sentry environment variables to build args
- Adding .env to dockerignore for security
- Properly passing Sentry configuration during build process

This change ensures better security practices and more reliable Sentry configuration in containerized environments.
2024-11-23 18:25:40 +08:00
ccbikai
b4a5dd021c feat: enhance SEO settings and improve title extraction
- Prioritize SEO settings from page data over environment variables
- Improve title extraction logic to handle new line characters
- Set SEO parameters for specific pages to improve search visibility
2024-11-14 20:37:13 +08:00
面条
15e27d475f Merge pull request #83 from zijiuok/patch-1
Added a new real user
2024-11-14 19:24:57 +08:00
ZiJiu
0ea8d4bd66 Update README.zh-cn.md 2024-11-14 12:36:13 +08:00
ZiJiu
8431086704 Update Real users of README.md 2024-11-14 12:30:59 +08:00
ccbikai
1d22719070 fix: ensure canonical URL pathname consistency 2024-11-09 15:46:43 +08:00
ccbikai
7da142ad1e 0.1.7 2024-11-07 19:05:23 +08:00
ccbikai
e12a0d0f95 feat: enhance RSS handling and improve middleware logic 2024-11-07 19:05:16 +08:00