-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
epic: Better files & links #1494
Comments
@hiento09 to list down the app structure |
I have scanned my windows, below are folders which are generated by jan app on windows: |
Macos: |
Linux: |
Note for Linux: (at least in Debian-based distributions), rather than |
Pass comments from Nicole. Consider the scenarios: A) 1542: Scanning an entire folder for multiple files B) 1382: Configuring 1 specific file (which is actually a subscenario of A) Note: the modelfile in A.3 is the same as B2. So the 2 issues likely share implementation detail, but are very different use cases and user flows. We should allow this level of flexibility & freedom when it comes to folder mgmt |
Jan should never create Jan could test if the environment variable |
+1 on not using |
Everything is on main now & ready to be released tomorrow yayayay, good work everyone!! |
Motivation
Community request
Specs
Users can change default Jan app data location
fs
is usedUsers can restore to a clean build
Users can thoroughly delete Jan & purge data
Open Questions
MacOS
~/jan
: janroot~/Library/Application Support/jan
: Cookie, session for electron app (chromium)~/Library/Caches/jan-updater
,~/Library/Caches/jan.ai.app
,~/Library/Caches/jan.ai.app.ShipIt
: CacheWindow
C:\User\%USERPROFILE%\jan
: janrootC:\Users\%USERPROFILE%\AppData\Local\Programs\jan
: app installed folder, will be remove if we uninstall appC:\Users\%USERPROFILE%\AppData\Roaming\jan
: cache folder for jan appC:\Users\%USERPROFILE%\AppData\Local\electron
: cache folder generated by electron - chromium relatedLinux:
~/jan
: janroot~/.config/jan
: Cache~/.npm/_cacache
: Folder cache generated on linux when call a function getTempCache in typescriptUser data & Jan specific assets
, e.g. themodel/assistant/thread.jsons
User data & shared assets
, e.g. model binaries, RAG files (which could be shared across other apps)Application assets
, e.g. cache, logs, and other app data3. What should the reset & deletion behavior be for these files?
Tasklist
Design
janroot
#1010factory settings
in Settings #1052Implementation
Not in Scope
Appendix
I'm inspired by Obsidian's philosophy of letting users manage how their filesystem is used.
Sidenote (nonurgent): We should strive to evolve our SDK/fs wrapper towards this level of user ownership and flexibility.
The text was updated successfully, but these errors were encountered: