[GH-ISSUE #1459] Migration to TypeScript #931

Open
opened 2026-02-22 18:22:15 -05:00 by yindo · 6 comments
Owner

Originally created by @pro-vi on GitHub (May 19, 2024).
Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/1459

This project is going to scale and it should adopt TypeScript as early as possible. TS has a much better DX compared to plain JS without JSDoc and that alone should attract more open source efforts in the long run. If there's no obvious reasons that I missed, I'd love to help out along the way since I want to see success in the project.

Originally created by @pro-vi on GitHub (May 19, 2024). Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/1459 This project is going to scale and it should adopt TypeScript as early as possible. TS has a much better DX compared to plain JS without JSDoc and that alone should attract more open source efforts in the long run. If there's no obvious reasons that I missed, I'd love to help out along the way since I want to see success in the project.
yindo added the core-team-only label 2026-02-22 18:22:15 -05:00
Author
Owner

@jazelly commented on GitHub (May 20, 2024):

+1 on this

@jazelly commented on GitHub (May 20, 2024): +1 on this
Author
Owner

@atljoseph commented on GitHub (May 20, 2024):

+1 had asked about this in the discord but got lost in the chatter. Yessss! Thank you

@atljoseph commented on GitHub (May 20, 2024): +1 had asked about this in the discord but got lost in the chatter. Yessss! Thank you
Author
Owner

@timothycarambat commented on GitHub (May 20, 2024):

While I don't disagree that TS has a better DX, the amount of effort this would take is pretty substantial and should be done in stages. I would ask that nobody take it upon themselves and we would execute this in stages as the core team. There are a number of side effects to doing this in the repo that could impact projects running AnythingLLM elsewhere so we would need to plan and compensate for that.

We use TS in the desktop app actually, so this is not unfamiliar territory to the team by any means but right now we have to weigh the value of doing a total TS overhaul which provides zero value to an end-user vs just building the things that are value add to that same person with the current stack.

@timothycarambat commented on GitHub (May 20, 2024): While I don't disagree that TS has a better DX, the amount of effort this would take is pretty substantial and should be done in stages. I would ask that nobody take it upon themselves and we would execute this in stages as the core team. There are a number of side effects to doing this in the repo that could impact projects running AnythingLLM elsewhere so we would need to plan and compensate for that. We use TS in the desktop app actually, so this is not unfamiliar territory to the team by any means but right now we have to weigh the value of doing a total TS overhaul which provides zero value to an end-user vs just building the things that are value add to that same person with the current stack.
Author
Owner

@duydl commented on GitHub (Nov 10, 2024):

Hi team, I noticed there's no branch, PR, or additional repos for the TS migration yet. I also couldn't find the desktop app with Typescript, but wouldn't the frontend and much of the backend logic be the similar to the webapp.

Once the TypeScript setup and infrastructure are in place, I believe many could help out on the incremental migration. And it would benefit the community being an opportunity for newcomers and first-time contributors to get familiar with the codebase, starting with peripheral components as good first issue.

@duydl commented on GitHub (Nov 10, 2024): Hi team, I noticed there's no branch, PR, or additional repos for the TS migration yet. I also couldn't find the desktop app with Typescript, but wouldn't the frontend and much of the backend logic be the similar to the webapp. Once the TypeScript setup and infrastructure are in place, I believe many could help out on the incremental migration. And it would benefit the community being an opportunity for newcomers and first-time contributors to get familiar with the codebase, starting with peripheral components as good first issue.
Author
Owner

@cpouldev commented on GitHub (Feb 1, 2025):

AnythingLLM is gold! I self host it for my small business for making my non-tech employees life easier, and it has tremendous future potential.

I would gladly contribute to its TypeScript migration.

@cpouldev commented on GitHub (Feb 1, 2025): AnythingLLM is gold! I self host it for my small business for making my non-tech employees life easier, and it has tremendous future potential. I would gladly contribute to its TypeScript migration.
Author
Owner

@ShopGandalf commented on GitHub (Nov 24, 2025):

Is this still open? I would happily participate in migrating the whole codebase to TS

@ShopGandalf commented on GitHub (Nov 24, 2025): Is this still open? I would happily participate in migrating the whole codebase to TS
yindo changed title from Migration to TypeScript to [GH-ISSUE #1459] Migration to TypeScript 2026-06-05 14:38:01 -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#931