[PR #2403] [MERGED] Support XLSX files #3981

Closed
opened 2026-02-22 18:34:53 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Mintplex-Labs/anything-llm/pull/2403
Author: @shatfield4
Created: 10/1/2024
Status: Merged
Merged: 10/3/2024
Merged by: @timothycarambat

Base: masterHead: 2398-feat-xslx-file-upload-support


📝 Commits (9)

  • c6b3ae1 support xlsx files
  • 638694a lint
  • 8b0d7b8 Merge branch 'master' into 2398-feat-xslx-file-upload-support
  • f4c9752 create seperate docs for each xlsx sheet
  • 19e0647 lint
  • 3823447 use node-xlsx pkg for parsing xslx files
  • 1dd8859 lint
  • 30fe9af update error handling
  • 16a61d1 Merge branch 'master' into 2398-feat-xslx-file-upload-support

📊 Changes

4 files changed (+132 additions, -1 deletions)

View changed files

📝 collector/package.json (+2 -1)
collector/processSingleFile/convert/asXlsx.js (+113 -0)
📝 collector/utils/constants.js (+6 -0)
📝 collector/yarn.lock (+11 -0)

📄 Description

Pull Request Type

  • feat
  • 🐛 fix
  • ♻️ refactor
  • 💄 style
  • 🔨 chore
  • 📝 docs

Relevant Issues

resolves #2398

What is in this change?

  • Allow upload of XLSX files (iterate over each sheet and create a folder of sheets)
  • Uses xlsx package to convert sheet into csv format

Additional Information

Developer Validations

  • I ran yarn lint from the root of the repo & committed changes
  • Relevant documentation has been updated
  • I have tested my code functionality
  • Docker build succeeds locally

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Mintplex-Labs/anything-llm/pull/2403 **Author:** [@shatfield4](https://github.com/shatfield4) **Created:** 10/1/2024 **Status:** ✅ Merged **Merged:** 10/3/2024 **Merged by:** [@timothycarambat](https://github.com/timothycarambat) **Base:** `master` ← **Head:** `2398-feat-xslx-file-upload-support` --- ### 📝 Commits (9) - [`c6b3ae1`](https://github.com/Mintplex-Labs/anything-llm/commit/c6b3ae1eee3000a5650589233cfb2513e0a06c4b) support xlsx files - [`638694a`](https://github.com/Mintplex-Labs/anything-llm/commit/638694a23c9effb50d96bf51da30299d9476c7cb) lint - [`8b0d7b8`](https://github.com/Mintplex-Labs/anything-llm/commit/8b0d7b8b3cba12f602db4891e5e63d4cb156e9c8) Merge branch 'master' into 2398-feat-xslx-file-upload-support - [`f4c9752`](https://github.com/Mintplex-Labs/anything-llm/commit/f4c975287dcab0ff2d9b8dd9e4d44409a120fb92) create seperate docs for each xlsx sheet - [`19e0647`](https://github.com/Mintplex-Labs/anything-llm/commit/19e0647b585dee37fbf1252ce60521e4ff0587ec) lint - [`3823447`](https://github.com/Mintplex-Labs/anything-llm/commit/382344726ccc0cfb3c131c8516af30332c432020) use node-xlsx pkg for parsing xslx files - [`1dd8859`](https://github.com/Mintplex-Labs/anything-llm/commit/1dd8859e899add8baf63ef7fa2eae9b7587d9981) lint - [`30fe9af`](https://github.com/Mintplex-Labs/anything-llm/commit/30fe9af917b6c4e32cd8addc366fb997e2cea283) update error handling - [`16a61d1`](https://github.com/Mintplex-Labs/anything-llm/commit/16a61d1a449b61c0be9cc484d8881388d3745f66) Merge branch 'master' into 2398-feat-xslx-file-upload-support ### 📊 Changes **4 files changed** (+132 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `collector/package.json` (+2 -1) ➕ `collector/processSingleFile/convert/asXlsx.js` (+113 -0) 📝 `collector/utils/constants.js` (+6 -0) 📝 `collector/yarn.lock` (+11 -0) </details> ### 📄 Description ### Pull Request Type <!-- For change type, change [ ] to [x]. --> - [x] ✨ feat - [ ] 🐛 fix - [ ] ♻️ refactor - [ ] 💄 style - [ ] 🔨 chore - [ ] 📝 docs ### Relevant Issues <!-- Use "resolves #xxx" to auto resolve on merge. Otherwise, please use "connect #xxx" --> resolves #2398 ### What is in this change? <!-- Describe the changes in this PR that are impactful to the repo. --> - Allow upload of XLSX files (iterate over each sheet and create a folder of sheets) - Uses `xlsx` package to convert sheet into csv format ### Additional Information <!-- Add any other context about the Pull Request here that was not captured above. --> ### Developer Validations <!-- All of the applicable items should be checked. --> - [x] I ran `yarn lint` from the root of the repo & committed changes - [x] Relevant documentation has been updated - [x] I have tested my code functionality - [x] Docker build succeeds locally --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-22 18:34:53 -05:00
yindo closed this issue 2026-02-22 18:34:53 -05:00
yindo changed title from [PR #2403] Support XLSX files to [PR #2403] [MERGED] Support XLSX files 2026-06-05 15:16:12 -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#3981