Skip to content
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

feat: let user select the directory to save things #680

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

asd55667
Copy link

/claim #669
/closes #669

the summay of changes:

ui

  • add data directory button in recording-settings
  • update content of code-block in dev-mode-settings
  • update path in log-file-button and pipe-store (unverified)

tauri

  • update default path with tauri store in command load_pipe_config, save_pipe_config, reset_all_pipes (unverified)
  • add command to update_screenpipe_dir to update data_dir setting from tauri store to temp file

server

  • read tauri data_dir setting from temp file

I have no clue to check pip-store related changes works, the remains mentioned above all manually checked in my mac-air-m3 device, both dev and build. some missing may occur due to the lack of my knowledge.

Copy link

vercel bot commented Nov 14, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
screenpipe ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 14, 2024 7:25am

.ok_or_else(|| anyhow::anyhow!("failed to get home directory"))?
.join(".screenpipe");

// check .screenpipe_dir file whether it exists in default_path, if so, replace default_path
let screenpipe_dir_path = default_path.join(".screenpipe_dir");
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what is .screenpipe_dir? don't recall ever using this dir

Screenshot 2024-11-14 at 9 26 54 AM

this is mine with default data dir

@louis030195
Copy link
Collaborator

louis030195 commented Nov 14, 2024

overall great contribution

i wonder if all still work well like including pipes which rely on the .screenpipe

https://docs.screenpi.pe/docs/plugins#available-pipes

i use the reddit one which rely on the dir, it writes logs of your day using AI and then search for relevant reddit posts based on these logs and generate answer to it

can you explain the .screenpipe_dir?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[bounty] let user select the directory to save things
2 participants