프로젝트
GitHub에서 보기
Tampermonkey/tamperdav
소개
A WebDAV-like server to sync Tampermonkey scripts and edit them with an external editor
개발 도구측정된 스타 증가
- in 24h
- 0
- in 7 days
- +1
- in 15 days
- +1
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalTamperDAV
A WebDAV-like server to sync Tampermonkey scripts and edit them with an external editor.
WARNING: this is not a 100% WebDAV-compliant server. Many clients should, but don't necessarily have to work!
Usage
Make sure Node.js greater than v4.9 is installed.
Windows
execute TamperDAV.bat
Linux
$ ./tamperdav.sh
Clients
Tampermonkey (4.7.5823+)

Notes:
- in order to allow Tampermonkey to use the full TamperDAV feature set, please make sure TamperDAV is running when Tampermonkey is started.
- Tampermonkey will sync all scripts into a subfolder of the configured dav-directory i.e.
Tampermonkey/syncusing it's internally generated UUID for the filename. The actual file to edit can easily be found by runningnode find_script_in_meta.js --name="My Script Name". Alternatively you can find the the UUID via Tampermonkey's UI by navigating to the script and retrieving it from the address bar.
mount
sudo mount -t davfs http://localhost:7000 /mnt
nautilus
dav://localhost:7000/
Development
# Install dependencies
$ npm install
# run
$ mkdir dav
$ node server.js --path=dav/
Config
All options can be set via config.json and/or command line. username and password can be set via environment as well.
Command Line Example
$ TD_USERNAME=derjanb TD_PASSWORD=secret node server.js --path=dav/ --port=6000
Config File Example
config.json:
{
"path": "dav",
"no-auth-warning": false,
"username": "derjanb",
"password": "secret",
"port": "7000",
"host": "localhost",
"max-cursors": 512,
"open-in-editor": "sublime_text",
"meta-touch": true,
"debug": true
}
All Options
patha relative path from where the files should be servedno-auth-warningdon't show a warning if no username and password is setusernameusername for authentication (basic auth)passwordpasswordportTCP port to listen athostnetwork address to bind onmax-cursorsnumber of cached changesopen-in-editorif "true" then if Windows "notepad" editor is used, elsexgd-open; or the executable as string i.e. "gedit", "notepad", ...meta-touchtouch a sync entries's meta file automatically to make Tampermonkey start a sync on script changesno-dialogDisables the use of a dialog to show messages to the userheadlessImplies --no-dialog and disables editor openingdebugprint debug information
관련 프로젝트 살펴보기
불러오는 중…