TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

llama-fs: A self-organizing file system with llama 3

221 点作者 archb12 个月前

26 条评论

caseyy12 个月前
I&#x27;ve written something similar in python — a script that renames documents based on their contents using Ollama. It&#x27;s very easy to write things like that, I recommend anyone interested in local LLMs try a fun project such as that.<p>My first question was why would this be a file system rather than an app or a script, but I see it&#x27;s actually an Electron app and python scripts, which I think is the right approach.<p>I think that something that would have a UI for automatically tagging, renaming, and moving files <i>on request</i> but not constantly would be very handy. Also, if you could somehow steer files into binning directories (&quot;if X, put it in bin ~&#x2F;X, if Y, put the file in bin ~&#x2F;Y&quot;, &quot;if it&#x27;s an invoice or deals with payment, put it in ~&#x2F;Documents&#x2F;Finance&quot;), that would be cool. Finally, Windows support would be amazing.
评论 #40486146 未加载
评论 #40490806 未加载
评论 #40485895 未加载
评论 #40485752 未加载
haolez12 个月前
Will this actually move stuff around? I&#x27;d prefer that it mounted in another directory, giving me an organized view of my files but not actually moving them.
评论 #40485296 未加载
评论 #40486313 未加载
评论 #40485397 未加载
评论 #40485336 未加载
评论 #40485726 未加载
accrual12 个月前
This is pretty neat. Can confirm my Downloads folder could use some help, there&#x27;s usually at least one or two nested &quot;Old Downloads&quot; or &quot;Sort me&quot; folders.<p>I think one thing to improve the readme or landing page for this project would be a before &amp; after for a sample ~&#x2F;Downloads directory, maybe in `tree` format.
nicklecompte12 个月前
A lot of people are worried about Llama screwing up, and that&#x27;s a valid concern. But this is also an Electron app + a few nontrivial Python scripts for watching changes to a filesystem, yet there are <i>zero</i> actual tests. Just some highly unrepresentative &quot;sample data.&quot;<p>I am a grumpy AI hater. But Llama is not the security&#x2F;data risk here. I don&#x27;t think anyone should use this unless they are interested in contributing.
评论 #40485682 未加载
behnamoh12 个月前
Apple will probably add this feature and more to the stacks feature on macOS (a multimodal model would be very useful there). Even better: I expect Apple to use ML and local models to scan file contents and have them show up in search (e.g., on spotlight or Raycast, search for the picture of my latest receipt that I saved __somewhere__ I don&#x27;t remember).
评论 #40485451 未加载
评论 #40484949 未加载
jjuliano12 个月前
I build a tool with similar goal a year ago: <a href="https:&#x2F;&#x2F;github.com&#x2F;jjuliano&#x2F;aifiles">https:&#x2F;&#x2F;github.com&#x2F;jjuliano&#x2F;aifiles</a> -- A CLI that manages files using AI. It helps me to organize my files and backups.<p>In my case, I built a local OpenAI-emulated proxy API to run against a local LLM, and used a modified OpenAI library to connect with it. This was the solution a year ago. Now, it&#x27;s easier to deploy a local LLM.
评论 #40485015 未加载
darajava12 个月前
No demo&#x2F;example? I&#x27;m not going to run this on the basis that the developer thinks he built something that give me some pretty much unspecified benefit. I don&#x27;t really understand the &quot;incognito&quot; mode either. What&#x27;s the benefit of having it off? Why isn&#x27;t it on by default?
pratik_kanthi12 个月前
I would like to see something similar for my browser tabs which are always a mess. Unsure what UX considerations are needed. Thoughts?
评论 #40485209 未加载
评论 #40485137 未加载
评论 #40485045 未加载
评论 #40485054 未加载
Areibman12 个月前
Alex here—- one of the team members behind the project.<p>We built this for the Llama3 Cerebral Valley Hackathon. The idea was this: My ~&#x2F;Downloads folder is extremely messy, and I wanted an agent to fix it for me. So we built one.<p>LlamaFS reads file contents and metadata to Ollama with LlamaIndex, Moondream, and Whisper to understand what it’s about. It renames the files according to a specified pattern and organizes similar files into directories. Also, LlamaFS doesn’t overwrite anything until you explicitly ask it to (no risk of deleting anything precious)<p>One cool thing we benchmarked with AgentOps was the speed. It goes pretty fast, ~500ms per file.
dwpdwpdwpdwpdwp12 个月前
“In batch mode, you<p>In watch mode, LlamaFS starts a daemon that watches your directory. It intercepts all filesystem operations, updates i and uses your most recent edits in context to proactively learn and how, so you don&#x27;t learns predict how you rename file. e.g. if you create a folder for 2023 tax documents, and start moving 1-3 file in it, LlamaFS will automatically creates, and move the right!”<p>Come again? Was AI used to generate the documentation?
gregwebs12 个月前
I think I would like a tool that intelligently suggested renames but doesn&#x27;t automatically do them.<p>Arc Browser has an AI rename feature (for downloaded files). I tried it out but I had to turn it off. I love Arc Browser BTW and their AI hover summary is useful. I found poorly naming of files to be disruptive and it&#x27;s a lot better if I am more involved in renaming the file- that will help me remember it.
评论 #40485810 未加载
delijati12 个月前
Can i run this in a sandbox or dry ... Not that i&#x27;m not trusting my AI Overlord ;)
idncsk12312 个月前
Working on something related, github.com&#x2F;idncsk&#x2F;canvas, canvas-server, canvas-ui-browser, always use the dev or for browser the tarbor branch, waiting on my burger in Budapest sry for the lack of details
评论 #40485356 未加载
endofreach12 个月前
Interesting. Literally just this week i planned some time in to experiment with LLMs as a full FS. This seems not truly fair to be named &quot;FS&quot;. But cool approach. Though this has been done in bash scripts online before. So i only dislike naming it FS. It&#x27;s not an FS. Just like your productivity app is not an OS. Will check it out regardless. Congratulations anyway!
zy0n91112 个月前
I created something very similar, and much simpler, to this in Go not too long ago (without Llama) called Switchboard.<p>it&#x27;s not &quot;self organising&quot; in this sense, but it&#x27;s an easy way (imo) to organise files across your desktop.<p><a href="https:&#x2F;&#x2F;github.com&#x2F;Cian911&#x2F;switchboard&#x2F;">https:&#x2F;&#x2F;github.com&#x2F;Cian911&#x2F;switchboard&#x2F;</a>
FileSorter12 个月前
Neat, I built a tool to quickly do this manually via key bindings[0].<p>As a data archivist, I would definitely recommend a setting to turn off rename of files as that can often be a database id, timestamp, etc.<p>[0] <a href="https:&#x2F;&#x2F;github.com&#x2F;VisualFileSorter&#x2F;VisualFileSorter">https:&#x2F;&#x2F;github.com&#x2F;VisualFileSorter&#x2F;VisualFileSorter</a>
saintradon12 个月前
This is something where I can see infinite context windows really working. My local llm knowing where tens of thousands of files located on my computer are, what they do, which ones can be moved, which ones can&#x27;t etc, how to organize them. Just cleaning up my absolutely messy space.
cyanydeez12 个月前
This the type of thing I plan to implement. If there&#x27;s one way to save things. Of course, it&#x27;s definitely going to hide some files eventually, so hopefully you got a log file going documenting the modifications.
giovanni_or212 个月前
Sending all your personal files to an external provider seems like a recipe for a privacy disaster. Luckily, they provide an option to use your local Llama instance.
ray__12 个月前
This would be cool if it weren’t so heavy-handed—a similar application to add tags to files or some metadata that could be indexed by Alfred or Rofi would be cool.
DerCommodore12 个月前
This would be super cool with Obsidian (just Markdown files). Dump notes and let it organize itself. Who is up for a hacking session?
dist-epoch12 个月前
Finally hope for our digital mountains. In a few years you&#x27;ll point the AI at it and it will organize it for you.
评论 #40484932 未加载
评论 #40485190 未加载
评论 #40485033 未加载
fictorial12 个月前
exposed key? <a href="https:&#x2F;&#x2F;github.com&#x2F;iyaja&#x2F;llama-fs&#x2F;blob&#x2F;a97272a184f1c0bdca3304102ce399310c3977e9&#x2F;server.py#L31C31-L31C87">https:&#x2F;&#x2F;github.com&#x2F;iyaja&#x2F;llama-fs&#x2F;blob&#x2F;a97272a184f1c0bdca330...</a>
bberenberg12 个月前
I wonder how well this will pair with a search first UX since finding stuff may be hard otherwise.
vessenes12 个月前
So, this terrifies me, in that it is going to rename files and move them. I have an inordinate amount of fear about that happening in the hands of an LLM. But, I love the idea of a virtual filesystem &#x2F; directory that lets me see things based on LLM-led naming. Just, leave my main files alone, oh please god, don&#x27;t touch them.<p>With virtual systems, I think it could be really interesting, you could have a few different types, from conceptual, to project, to research area. That would be amazingly cool.
评论 #40493576 未加载
评论 #40513769 未加载
outside123412 个月前
glue + tomatoes = recipe directory