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

[Feature] Sync with local directory #2125

Open
tomodachi94 opened this issue Jun 23, 2024 · 6 comments
Open

[Feature] Sync with local directory #2125

tomodachi94 opened this issue Jun 23, 2024 · 6 comments

Comments

@tomodachi94
Copy link

Motivation
I keep my dotfiles in a local directory on my filesystem, using Git to version-control them. I would like to include my userscripts in that local directory and have them synced to/from Violentmonkey.

Proposed Solution
An additional "Sync to" option that supports syncing to a directory on the local filesystem.

Use Cases
Mentioned above.

@tophf

This comment was marked as resolved.

@tophf
Copy link
Member

tophf commented Jun 23, 2024

AFAIK, you can use a local WebDAV server for this task.

@tomodachi94
Copy link
Author

tomodachi94 commented Jun 23, 2024

Yes, that would work, but running a WebDAV server comes with extra overhead. With the File System API, browsers can read and write to the local filesystem without needing an intermediary (like a local WebDAV server).

@tophf

This comment was marked as resolved.

@tomodachi94

This comment was marked as resolved.

@tomodachi94 tomodachi94 closed this as not planned Won't fix, can't repro, duplicate, stale Jun 23, 2024
@tophf
Copy link
Member

tophf commented Jun 23, 2024

I'm bad at reading too. I thought you wanted to have a direct link between local files and scripts the way it's imitated in Tampermonkey via @require file://

We can certainly add a new method to our sync, which you will trigger manually or on schedule.

@tophf tophf reopened this Jun 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants