{"id":46376009,"url":"https://github.com/mrsekut/tm-serve","last_synced_at":"2026-03-08T08:00:41.422Z","repository":{"id":341576094,"uuid":"1169885279","full_name":"mrsekut/tm-serve","owner":"mrsekut","description":"A local development tool for Tampermoenky UserScripts","archived":false,"fork":false,"pushed_at":"2026-03-03T00:50:47.000Z","size":26,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-03-05T08:34:32.150Z","etag":null,"topics":["tampermonkey","userscript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mrsekut.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-03-01T11:26:47.000Z","updated_at":"2026-03-03T00:50:51.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/mrsekut/tm-serve","commit_stats":null,"previous_names":["mrsekut/tm-serve"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/mrsekut/tm-serve","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrsekut%2Ftm-serve","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrsekut%2Ftm-serve/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrsekut%2Ftm-serve/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrsekut%2Ftm-serve/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mrsekut","download_url":"https://codeload.github.com/mrsekut/tm-serve/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrsekut%2Ftm-serve/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30164532,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-06T04:43:31.446Z","status":"ssl_error","status_checked_at":"2026-03-06T04:40:30.133Z","response_time":250,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["tampermonkey","userscript"],"created_at":"2026-03-05T05:07:48.753Z","updated_at":"2026-03-06T06:02:36.910Z","avatar_url":"https://github.com/mrsekut.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# tm-serve\n\nDevelopment server for Tampermonkey userscripts. A CLI tool to serve, sync, and manage local `.user.js` files.\n\n## how to use\n\n```bash\nbunx tm-serve\n```\n\n## Commands\n\n### `dev` — Development server (default)\n\nStarts an HTTP server for a single script with file watching.\n\n```bash\ntm-serve dev ./my-script.user.js\ntm-serve ./my-script.user.js       # \"dev\" can be omitted\ntm-serve                            # default: script.user.js\n```\n\n1. Creates a template `.user.js` file if it doesn't exist\n2. Starts an HTTP server serving your userscript\n3. Opens your browser — Tampermonkey shows the install dialog\n4. Watches for file changes and reloads on save\n\n### `push` — Install scripts to browser\n\nServes multiple `.user.js` files and opens an index page in the browser. Click each link to install via Tampermonkey.\n\n```bash\ntm-serve push --all                 # all *.user.js under current directory\ntm-serve push scripts/a.user.js scripts/b.user.js  # specific files\n```\n\n### `import` — Import from backup\n\nExtracts `.user.js` files from a Tampermonkey backup ZIP and writes them to `scripts/`.\nShows a diff and prompts for confirmation when an existing file differs.\n\n```bash\ntm-serve import ~/Downloads/tampermonkey-backup.zip\n```\n\n### `init` — Initialize project\n\nCreates a `scripts/` directory and a sample userscript.\n\n```bash\ntm-serve init\n```\n\n## Options\n\n- `PORT` env var: server port (default: `4889`)\n\n## Requirements\n\n- macOS (uses `ditto` for ZIP extraction in the `import` command)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrsekut%2Ftm-serve","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmrsekut%2Ftm-serve","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrsekut%2Ftm-serve/lists"}