Commit Graph

177 Commits

Author SHA1 Message Date
Pierre Nel
cee00bde0d Update base.astro
Undid vscode mangling the rest of the file
2024-08-09 11:46:50 +02:00
Pierre Nel
ddfcec21c2 parse code snippets ie ``js const a = 1;`` in Telegram and perform syntax highlighting in the post using Prism 2024-08-09 11:37:54 +02:00
ccbikai
50fc7413a9 feat: enhance UI and fix video handling
- Hide video elements in widget for improved user experience
- Update header background for better contrast
- Prevent empty image containers from rendering
- Remove unsupported video player elements
- Add onclick attribute to links for enhanced functionality
- Include Yandex.ru in target whitelist for expanded compatibility
2024-08-09 12:03:02 +08:00
ccbikai
4f9a403c90 feat: expand whitelist for secure redirects
Add telesco.pe to targetWhitelist to enhance security and allow for additional trusted redirect destinations.
2024-08-09 08:32:41 +08:00
ccbikai
5adc053b7c feat: add new link 2024-08-09 08:29:03 +08:00
ccbikai
331d31f810 Merge branch 'main' of github.com:ccbikai/BroadcastChannel 2024-08-09 08:21:04 +08:00
ccbikai
8bec08657d feat: enhance image layout and handling
Improved image display by introducing a responsive grid layout for image lists, optimizing the first image's placement in odd-numbered lists to span across both columns. This change enhances visual appeal and usability, especially on larger screens. Additionally, refactored image retrieval logic to wrap images in a container, dynamically adjusting the class based on the number of images for tailored styling.
2024-08-09 08:20:53 +08:00
面条
56ccc6425f Merge pull request #31 from chen2438/main
feat: automatic sync upstream using Github Actions
2024-08-09 08:20:42 +08:00
ccbikai
d72c03fd34 feat: improve back-to-top icon integration
Refactor back-to-top icon import for better performance and maintainability.
2024-08-08 21:44:42 +08:00
ccbikai
c1e6e78405 Merge branch 'dev' 2024-08-08 21:42:25 +08:00
ccbikai
7d98d481cc feat: enhance scroll behavior and back-to-top button
Improved scrolling smoothness and updated back-to-top button styling for better user experience. Simplified button visibility control using modern CSS techniques, ensuring compatibility and responsiveness across browsers.
2024-08-08 21:41:36 +08:00
GH Action - Upstream Sync
a18c1661b6 Merge branch 'main' of https://github.com/ccbikai/BroadcastChannel 2024-08-08 13:09:30 +00:00
Haotian Chen
d787f6871c feat: automatic sync upstream using Github Actions
After forking the project, due to the limitations imposed by GitHub, you need to manually enable Workflows and Upstream Sync Action on the Actions page of the forked project.
2024-08-08 21:08:46 +08:00
ccbikai
7e21021f6d Merge branch 'dev' of github.com:ccbikai/BroadcastChannel into dev 2024-08-08 21:00:57 +08:00
面条
2d895e46ce Merge pull request #20 from stvlynn/main
add backToTop button
2024-08-08 21:00:47 +08:00
ccbikai
a32211a1ae Merge branch 'main' into dev 2024-08-08 21:00:12 +08:00
ccbikai
fc1dd2b4f5 feat: specify SEO and RSS paths in docs
Clarify SEO and RSS endpoints for better user understanding.
2024-08-08 20:59:52 +08:00
ccbikai
cbfd74b516 Update FAQ section headers for clarity and consistency
Refactor FAQ headers to use emojis for improved readability and visual appeal across multiple language README files.
2024-08-08 12:25:14 +08:00
ccbikai
39e2ccbd8d feat: clarify Telegram channel setup in docs
Improved documentation clarity on configuring Telegram channel usernames, added troubleshooting section for common deployment issues, and emphasized the necessity of public channels and correct username format to ensure successful deployment.
2024-08-08 12:23:41 +08:00
ccbikai
44a6f86830 feat: improve regex for title extraction
Enhanced regex pattern to more accurately capture titles in posts by adjusting the lookahead assertion to better handle various punctuation marks and URLs. This improves the robustness of title extraction, ensuring more consistent and correct results across different post formats.
2024-08-08 12:14:29 +08:00
ccbikai
0b0d489b24 Merge branch 'dev' 2024-08-07 21:58:52 +08:00
ccbikai
e7cd5d61ca feat: enhance reply handling in posts
Refactor to improve handling of reply links within posts by introducing a dedicated function, ensuring more accurate and consistent URL modifications. This enhancement simplifies future maintenance and scalability of the codebase.
2024-08-07 21:56:03 +08:00
ccbikai
2a4a3be3cc feat: enhance null safety in content retrieval
Improved content retrieval logic to handle potential null values, enhancing robustness and reliability of the Telegram message parsing functionality.
2024-08-07 21:49:38 +08:00
面条
8e0fc38055 Merge pull request #26 from mitian233/main
fix: quote message display
2024-08-07 21:47:49 +08:00
ccbikai
c6d9087d85 Merge branch 'main' into dev 2024-08-07 21:47:12 +08:00
ccbikai
d7afe256c5 Merge branch 'main' of github.com:ccbikai/BroadcastChannel 2024-08-07 21:46:55 +08:00
ccbikai
8db461e881 feat: add audio handling in posts
Enhances post rendering by integrating audio element processing, ensuring audio files are correctly proxied and controls are enabled for user interaction. This improvement expands multimedia support within posts, enhancing user experience and engagement.
2024-08-07 21:46:08 +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
Steven Lynn
3e122dbd39 add back-to-top.svg 2024-08-07 19:23:11 +08:00
某M氏
d9f41423bf chore: modify getPost function to handle different message text classes 2024-08-07 11:20:25 +00:00
面条
6cfd883e24 Merge pull request #22 from yy4382/fix-typo
chore(typo): "Macth" to "Match" in `lib/telegram/index.js`
2024-08-07 12:02:39 +08:00
面条
5f5e001a89 Merge pull request #23 from eallion/feat/users
feat: add new real user resource
2024-08-07 12:02:29 +08:00
Charles Chin
cffd76262e feat: add new real user resource
Added a new link to a blog discovery platform under the Real users section in both English and Chinese README files, enhancing resource visibility and accessibility for users.
* https://hourly.top/
2024-08-06 22:19:32 +08:00
Yunfi
1be9fde7c5 chore(typo): "Macth" to "Match" in lib/telegram/index.js 2024-08-06 14:19:00 +00:00
Steven Lynn
2007b6392f removed backToTop.js 2024-08-06 21:37:17 +08:00
ccbikai
877279ac03 feat: add meta charset in head for SEO improvement 2024-08-06 20:49:24 +08:00
ccbikai
e18cc8e3a8 feat: enhance tg-spoiler styling for better integration
Improved tg-spoiler component with additional margin and border-radius for enhanced visual consistency and integration within the layout.
2024-08-06 20:46:47 +08:00
ccbikai
d184a50e2c feat: improve visual consistency in item background
Adjusted the repeating-conic-gradient to enhance visual consistency by using a transparent color stop, addressing a subtle visual artifact.
2024-08-06 20:35:26 +08:00
ccbikai
69c7eb2da7 chore(css): adjust gradient color for better contrast
Improved contrast in item background gradient to enhance visibility.
2024-08-06 19:58:14 +08:00
ccbikai
b3d9ceb925 Merge branch 'main' of github.com:ccbikai/BroadcastChannel 2024-08-06 19:55:35 +08:00
ccbikai
d7c11f3c5e feat: update real users list for enhanced visibility
Added new entries to the real users list in both English and Chinese versions of the README to showcase more diverse user examples and increase project visibility.
2024-08-06 19:54:00 +08:00
ccbikai
02bb32ca60 Merge branch 'hkint-main' 2024-08-06 19:50:17 +08:00
ccbikai
737aa86224 Merge branch 'main' of https://github.com/hkint/BroadcastChannel-fork into hkint-main 2024-08-06 19:50:08 +08:00
面条
74d72ba1b9 Merge pull request #18 from PBnicad/dev
feat: add new real user resource
2024-08-06 19:49:09 +08:00
ccbikai
2a23887e7c feat: enhance spoiler visibility and style consistency
Simplified spoiler styling to improve visibility and maintain consistent appearance across different devices and browsers. This change removes the text color and background color overlap, making the spoiler content more accessible and visually appealing.
2024-08-06 19:48:08 +08:00
ccbikai
d7eeca2b16 feat: add background color to spoiler for consistency 2024-08-06 19:12:51 +08:00
ccbikai
bd7bba2f06 feat: enhance CSS handling and optimize global styles
- Enabled PostCSS nesting with specific configuration for modern compatibility
- Added global CSS reset for consistent tap highlights across browsers
- Optimized package configuration for broader browser support
- Refactored and streamlined global CSS, removing redundant styles for better maintainability
- Integrated additional CSS import in component for modular styling approach
2024-08-06 19:02:56 +08:00
Steven Lynn
348192f1b9 add backToTop button 2024-08-06 17:46:59 +08:00
nicad
39917a256c Update README.zh-cn.md 2024-08-06 15:35:38 +08:00
nicad
a9f870f5ab Update README.md 2024-08-06 15:35:22 +08:00