[GH-ISSUE #2638] [FEAT]: Allow Custom Configuration for File Extensions #1713

Closed
opened 2026-02-22 18:26:11 -05:00 by yindo · 3 comments
Owner

Originally created by @xewelus on GitHub (Nov 17, 2024).
Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/2638

What would you like to see?

I use LINQPad for programming. It uses .linq files, which are essentially .cs files with additional metadata. Unfortunately, these file types are not recognized as plain text. It would be great to have the ability to configure custom file extensions. I checked the source code and found that it relies on logic from the mime module, but there’s no way to adjust it flexibly.

Originally created by @xewelus on GitHub (Nov 17, 2024). Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/2638 ### What would you like to see? I use LINQPad for programming. It uses `.linq` files, which are essentially `.cs` files with additional metadata. Unfortunately, these file types are not recognized as plain text. It would be great to have the ability to configure custom file extensions. I checked the source code and found that it relies on logic from the `mime` module, but there’s no way to adjust it flexibly.
yindo added the enhancementfeature request labels 2026-02-22 18:26:11 -05:00
yindo closed this issue 2026-02-22 18:26:11 -05:00
Author
Owner

@timothycarambat commented on GitHub (Nov 18, 2024):

Agreed, manually maintaining that list has been a chore and we should abstract it to be able to load in a file as well that can be easily read as a CSV to extend filetype support

@timothycarambat commented on GitHub (Nov 18, 2024): Agreed, manually maintaining that list has been a chore and we should abstract it to be able to load in a file as well that can be easily read as a CSV to extend filetype support
Author
Owner

@forgot commented on GitHub (Feb 7, 2025):

This would definitely be a lot easier than having to fork/PR for every file type. I'm assuming the ability to add filetypes would have to be granular, with admins managing the list for business/organization/multi-user deployments and users at the app/single-user level?

I'm fairly new to the project, and willing to help out where I can. Are discussions around implementation details for features like this generally kept within the issue, or are they more of a Discord thing?

@forgot commented on GitHub (Feb 7, 2025): This would definitely be a lot easier than having to fork/PR for every file type. I'm assuming the ability to add filetypes would have to be granular, with admins managing the list for business/organization/multi-user deployments and users at the app/single-user level? I'm fairly new to the project, and willing to help out where I can. Are discussions around implementation details for features like this generally kept within the issue, or are they more of a Discord thing?
Author
Owner

@timothycarambat commented on GitHub (Feb 8, 2025):

Closing this since https://github.com/Mintplex-Labs/anything-llm/pull/2664 seems to have resolved the primary issue - which was parsing regular text-files. Since any binary format would require a code implementation like we do for PDFs, DocX, etc.

Something that would be impossible to resolve with a list of supported extensions 👍

@timothycarambat commented on GitHub (Feb 8, 2025): Closing this since https://github.com/Mintplex-Labs/anything-llm/pull/2664 seems to have resolved the primary issue - which was parsing regular text-files. Since any binary format would require a code implementation like we do for PDFs, DocX, etc. Something that would be impossible to resolve with a list of supported extensions 👍
yindo changed title from [FEAT]: Allow Custom Configuration for File Extensions to [GH-ISSUE #2638] [FEAT]: Allow Custom Configuration for File Extensions 2026-06-05 14:42:16 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mintplex-Labs/anything-llm#1713