Innei 9bb974b8fd feat(ai): support ai attachement (#4316)
* init

Signed-off-by: Innei <tukon479@gmail.com>

* feat(ai-chat): enhance file handling with category-based icon retrieval

- Introduced `getFileCategoryFromMimeType` function to categorize file types based on MIME type, improving the clarity of file handling in the AI chat interface.
- Updated `FileAttachmentBlock` and `AIChatContextBar` components to utilize the new categorization function for determining file icons, streamlining the code and enhancing maintainability.
- Removed redundant MIME type checks, simplifying the logic for icon assignment.

These changes improve the user experience by ensuring accurate file representation and reduce code complexity.

Signed-off-by: Innei <tukon479@gmail.com>

* feat: preview image

* Update avatar upload to use followApi and bump deps

* feat: Refactor AI chat context blocks and file upload handling

- Introduced new components for rendering AI chat context blocks, including AIDataBlockItem and AIDataBlockPart.
- Enhanced file attachment handling by updating the structure of AIChatContextBlock to separate file attachments from other block types.
- Implemented a new file upload hook (useFileUpload) to manage file uploads with progress tracking and toast notifications.
- Added UploadProgress and CircularProgress components for visual feedback during file uploads.
- Improved file processing logic to simulate realistic upload progress and handle errors more effectively.
- Updated existing components to utilize the new block structure and file upload logic.
- Created utility functions for managing block styles, icons, and labels for better code organization.

Signed-off-by: Innei <tukon479@gmail.com>

* feat: Enhance chat message rendering with Suspense and add ThinkingIndicator component

Signed-off-by: Innei <tukon479@gmail.com>

* fix: Remove error check for message metadata in AIChatMessage component

Signed-off-by: Innei <tukon479@gmail.com>

---------

Signed-off-by: Innei <tukon479@gmail.com>
2025-08-08 16:32:52 +08:00
2025-07-16 21:54:32 +08:00
2025-07-03 13:13:42 +08:00
2025-06-23 18:36:50 +08:00
2025-07-16 21:54:32 +08:00
2025-07-16 21:54:32 +08:00
2025-02-19 15:27:20 +08:00
2024-09-11 01:45:04 +08:00
2024-10-31 20:27:46 +08:00
2025-05-22 20:15:40 +08:00
2025-07-24 01:55:13 +08:00
2024-10-31 20:27:46 +08:00

Logo

Folo

   




Folo Mobile Folo Desktop

As they say, your thoughts are what you read—and we’ve been consuming noisy feeds for too long! Folo organizes content into one timeline, keeping you updated on what matters, noise-free. Share lists, explore collections, and enjoy distraction-free browsing.

👋🏻 Getting Started & Join Our Community

Whether for users or professional developers, Folo will be your open information playground. Please be aware that Folo is currently under active development, and feedback is welcome for any issue encountered.

Feel free to try it using the following methods:

Operating System Source
Any Browser
iOS App Store
Android Google Play App Store
macOS Microsoft Store App Store
Windows Microsoft Store App Store
Linux App Store

You can also install using the following methods maintained by our community:

Discord Join our Discord server to connect with developers, request features, and receive support.
Follow us on X/Twitter for product updates and to join in on reward activities.

[!IMPORTANT]

Star Us, You will receive all release notifications from GitHub without any delay ~

Image

Performance Stats of RSSNext/Folo - Last 28 days

✨ Features

Customized Information Hub

Subscribe to a vast range of feeds and curated lists. Curate your favorites and keep track of what matters most to you.

AI At Your Fingertips

A smarter and more efficient browsing with AI-powered features like translation, summary, and more.

Dynamic Content Support

Because we know content is more than just text. From articles to videos, images to audio — Folo gets it all covered.

$POWER An Ownership Economy

Tip creators across instantly with $POWER, support content you love, and unlock value in your own work. Your content, your power.

More Than Just An App

This isn’t just another app. Folo is a community — introducing a new era of openness and community-driven experience.

🤝 Contributing

You are welcome to join the open source community to build together, please check our Contributing Guide for more details.

🔏 Code signing policy

Folo for Windows uses free code signing provided by SignPath.io, certificate by SignPath Foundation.

Folo for macOS and iOS are signed and notarized by Apple Developer Program.

All released files are verified with GitHub artifact attestations to ensure their provenance and integrity.

📝 License

Folo is licensed under the GNU General Public License version 3 with the addition of the following special exception:

All content in the icons/mgc directory is copyrighted by https://mgc.mingcute.com/ and cannot be redistributed.

All content in the lottie directory is distributed under the Lottie Simple License.

S
Description
DIYgod mirror
Readme
74 MiB
Languages
TypeScript 95.6%
Swift 1.9%
CSS 1.1%
JavaScript 0.8%
HTML 0.2%
Other 0.3%