hollama icon indicating copy to clipboard operation
hollama copied to clipboard

Add ability to upload any kind of text-based attachment

Open fmaclen opened this issue 10 months ago • 2 comments

fmaclen avatar May 09 '25 22:05 fmaclen

Another (but similar) idea: treat content as "link" rather than trying to preserve it in memory.

Example workflow:

  1. User has a file on disk they update regularly.
  2. They want LLM to always have the latest version
  3. They tick "link" button in Hollama and each new chat now re-reads the file.

savchenko avatar May 11 '25 08:05 savchenko

Another (but similar) idea: treat content as "link" rather than trying to preserve it in memory.

That would indeed be a cool idea, but because the app was designed to run entirely on browsers as the main constraint it means that it can't just read your filesystem on it's own, the only way it can read files from your computer is if you intentionally upload them.

It would be technically possible to do this if you are running Hollama in one of the desktop variants but then we'll need to maintain functionality that's not available on all versions of the app.

On the bright side it looks like there is a spec being worked on to solve this issue: https://wicg.github.io/file-system-access/ https://developer.chrome.com/docs/capabilities/web-apis/file-system-access

fmaclen avatar May 11 '25 14:05 fmaclen