[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7C49WHYRNQR40NCZ3F5M7G9":3,"skill-same:01M7C49WHYRNQR40NCZ3F5M7G9":66},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":26,"commitSha":27,"skillDirectory":28,"forksCount":13,"repositoryHtmlUrl":29,"repositoryHomepageUrl":29,"ownerHtmlUrl":30,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":31,"install":32,"resources":45},"01M7C49WHYRNQR40NCZ3F5M7G9","file-share",null,"Share files with email-gated access. Users must confirm their email before downloading. Includes a web UI for requesting access and a CLI for managing files and users.","SillyHippy\u002Fzo-skills","SillyHippy","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F159052837?v=4","01M7C43A8PDYMCDPTNFYF2RSC1","01M7C43A9CBS76QPH4PPTKXX54",0,"MIT","https:\u002F\u002Fgithub.com\u002FSillyHippy\u002Fzo-skills\u002Fblob\u002Fmain\u002Fskills\u002Ffile-share\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: file-share\ndescription: Share files with email-gated access. Users must confirm their email before downloading. Includes a web UI for requesting access and a CLI for managing files and users.\ncompatibility: Created for Zo Computer\nmetadata:\n  author: sillyhippy.zo.computer\n---\n\n# File Share\n\nShare files from your workspace with email verification. Users request access, confirm their email, then receive a download link.\n\n## Prerequisites\n\n- Gmail must be connected for email delivery to work.\n\n## Setup\n\n1. Ensure Gmail is connected at Settings > Integrations\n2. Register the service (if not already running). Note the base URL will need to be adjusted with the user's handle.\n\n```\nregister_user_service with:\n  - label: file-share\n  - mode: http\n  - local_port: 8765\n  - entrypoint: bun run \u002Fhome\u002Fworkspace\u002FSkills\u002Ffile-share\u002Fscripts\u002Fserver.ts\n  - workdir: \u002Fhome\u002Fworkspace\u002FSkills\u002Ffile-share\u002Fscripts\n  - env_vars: {\"FILE_SHARE_BASE_URL\": \"https:\u002F\u002Ffile-share-\u003CHANDLE>.zocomputer.io\"}\n```\n\n## File Share\n\nShare files from your workspace with email verification. Users request access, confirm their email, then receive a download link.\n\n### Quick Start\n\n1. Add a file to share:\n   ```\n   cd Skills\u002Ffile-share\u002Fscripts\n   bun cli.ts add-file \u002Fpath\u002Fto\u002Fyour\u002Ffile.pdf \"My Document\"\n   ```\n\n2. Share the public URL: `https:\u002F\u002Ffile-share-\u003CHANDLE>.zocomputer.io`\n\n3. Users visit the URL, select a file, enter their email, and receive a confirmation link. After confirming, they get a download link.\n\n### CLI Commands\n\nRun from `Skills\u002Ffile-share\u002Fscripts\u002F`:\n\n| Command | Description |\n|---------|-------------|\n| `bun cli.ts list-files` | Show all registered files |\n| `bun cli.ts list-users` | Show all users and confirmation status |\n| `bun cli.ts add-file \u003Cpath> [name]` | Register a file for sharing |\n| `bun cli.ts remove-file \u003Cfile_id>` | Remove a file from sharing |\n| `bun cli.ts add-user \u003Cemail> \u003Cfile_id>` | Pre-register a user with file access |\n| `bun cli.ts remove-user \u003Cuser_id>` | Remove a user completely |\n| `bun cli.ts revoke-access \u003Cuser_id> \u003Cfile_id>` | Revoke specific file access |\n| `bun cli.ts confirm-user \u003Cuser_id>` | Manually confirm a user |\n| `bun cli.ts file-users \u003Cfile_id>` | List users with access to a file |\n\n### How It Works\n\n1. **File Registration** - Use the CLI to register files from anywhere in your workspace\n2. **Access Request** - Users visit the web UI, select a file, enter their email\n3. **Email Confirmation** - A confirmation email is sent via Zo's email API\n4. **Access Granted** - After clicking the confirmation link, a download link is emailed\n\n### Service Configuration\n\nThe service runs at: `https:\u002F\u002Ffile-share-\u003CHANDLE>.zocomputer.io`\n\nTo reconfigure or restart, update the service via Zo:\n\n- Service ID: `svc_aa9ae5wB4ts`\n- Port: 8765\n- Entrypoint: `bun run \u002Fhome\u002Fworkspace\u002FSkills\u002Ffile-share\u002Fscripts\u002Fserver.ts`\n\n### Database\n\nThe database file `assets\u002Ffile-share.db` is not included — it's created automatically on first run, or you can create it manually.\n\nSchema:\n\n```sql\nCREATE TABLE IF NOT EXISTS users (\n  id INTEGER PRIMARY KEY AUTOINCREMENT,\n  email TEXT UNIQUE NOT NULL,\n  confirmed INTEGER DEFAULT 0,\n  confirmation_token TEXT,\n  created_at DATETIME DEFAULT CURRENT_TIMESTAMP\n);\n\nCREATE TABLE IF NOT EXISTS files (\n  id INTEGER PRIMARY KEY AUTOINCREMENT,\n  name TEXT NOT NULL,\n  path TEXT NOT NULL,\n  created_at DATETIME DEFAULT CURRENT_TIMESTAMP\n);\n\nCREATE TABLE IF NOT EXISTS user_files (\n  id INTEGER PRIMARY KEY AUTOINCREMENT,\n  user_id INTEGER NOT NULL,\n  file_id INTEGER NOT NULL,\n  access_token TEXT NOT NULL,\n  created_at DATETIME DEFAULT CURRENT_TIMESTAMP,\n  FOREIGN KEY (user_id) REFERENCES users(id),\n  FOREIGN KEY (file_id) REFERENCES files(id),\n  UNIQUE(user_id, file_id)\n);\n```\n\nTables:\n\n- **users** — email, confirmed status, confirmation token\n- **files** — name, path to file in workspace\n- **user_files** — links users to files with unique access tokens\n\n### API Endpoints\n\n| Endpoint | Method | Description |\n|----------|--------|-------------|\n| `\u002F` | GET | Web UI for requesting access |\n| `\u002Fhealth` | GET | Health check |\n| `\u002Ffiles` | GET | List available files (JSON) |\n| `\u002Frequest-access` | POST | Request file access `{email, file_id}` |\n| `\u002Fconfirm\u002F:token` | GET | Confirm email |\n| `\u002Ffile\u002F:file_id\u002F:token` | GET | Download file (requires valid token) |\n","# File Share\n\nShare files from your workspace with email verification. Users request access, confirm their email, then receive a download link.\n\n## Prerequisites\n\n- Gmail must be connected for email delivery to work.\n\n## Setup\n\n1. Ensure Gmail is connected at Settings > Integrations\n2. Register the service (if not already running). Note the base URL will need to be adjusted with the user's handle.\n\n```\nregister_user_service with:\n  - label: file-share\n  - mode: http\n  - local_port: 8765\n  - entrypoint: bun run \u002Fhome\u002Fworkspace\u002FSkills\u002Ffile-share\u002Fscripts\u002Fserver.ts\n  - workdir: \u002Fhome\u002Fworkspace\u002FSkills\u002Ffile-share\u002Fscripts\n  - env_vars: {\"FILE_SHARE_BASE_URL\": \"https:\u002F\u002Ffile-share-\u003CHANDLE>.zocomputer.io\"}\n```\n\n## File Share\n\nShare files from your workspace with email verification. Users request access, confirm their email, then receive a download link.\n\n### Quick Start\n\n1. Add a file to share:\n   ```\n   cd Skills\u002Ffile-share\u002Fscripts\n   bun cli.ts add-file \u002Fpath\u002Fto\u002Fyour\u002Ffile.pdf \"My Document\"\n   ```\n\n2. Share the public URL: `https:\u002F\u002Ffile-share-\u003CHANDLE>.zocomputer.io`\n\n3. Users visit the URL, select a file, enter their email, and receive a confirmation link. After confirming, they get a download link.\n\n### CLI Commands\n\nRun from `Skills\u002Ffile-share\u002Fscripts\u002F`:\n\n| Command | Description |\n|---------|-------------|\n| `bun cli.ts list-files` | Show all registered files |\n| `bun cli.ts list-users` | Show all users and confirmation status |\n| `bun cli.ts add-file \u003Cpath> [name]` | Register a file for sharing |\n| `bun cli.ts remove-file \u003Cfile_id>` | Remove a file from sharing |\n| `bun cli.ts add-user \u003Cemail> \u003Cfile_id>` | Pre-register a user with file access |\n| `bun cli.ts remove-user \u003Cuser_id>` | Remove a user completely |\n| `bun cli.ts revoke-access \u003Cuser_id> \u003Cfile_id>` | Revoke specific file access |\n| `bun cli.ts confirm-user \u003Cuser_id>` | Manually confirm a user |\n| `bun cli.ts file-users \u003Cfile_id>` | List users with access to a file |\n\n### How It Works\n\n1. **File Registration** - Use the CLI to register files from anywhere in your workspace\n2. **Access Request** - Users visit the web UI, select a file, enter their email\n3. **Email Confirmation** - A confirmation email is sent via Zo's email API\n4. **Access Granted** - After clicking the confirmation link, a download link is emailed\n\n### Service Configuration\n\nThe service runs at: `https:\u002F\u002Ffile-share-\u003CHANDLE>.zocomputer.io`\n\nTo reconfigure or restart, update the service via Zo:\n\n- Service ID: `svc_aa9ae5wB4ts`\n- Port: 8765\n- Entrypoint: `bun run \u002Fhome\u002Fworkspace\u002FSkills\u002Ffile-share\u002Fscripts\u002Fserver.ts`\n\n### Database\n\nThe database file `assets\u002Ffile-share.db` is not included — it's created automatically on first run, or you can create it manually.\n\nSchema:\n\n```sql\nCREATE TABLE IF NOT EXISTS users (\n  id INTEGER PRIMARY KEY AUTOINCREMENT,\n  email TEXT UNIQUE NOT NULL,\n  confirmed INTEGER DEFAULT 0,\n  confirmation_token TEXT,\n  created_at DATETIME DEFAULT CURRENT_TIMESTAMP\n);\n\nCREATE TABLE IF NOT EXISTS files (\n  id INTEGER PRIMARY KEY AUTOINCREMENT,\n  name TEXT NOT NULL,\n  path TEXT NOT NULL,\n  created_at DATETIME DEFAULT CURRENT_TIMESTAMP\n);\n\nCREATE TABLE IF NOT EXISTS user_files (\n  id INTEGER PRIMARY KEY AUTOINCREMENT,\n  user_id INTEGER NOT NULL,\n  file_id INTEGER NOT NULL,\n  access_token TEXT NOT NULL,\n  created_at DATETIME DEFAULT CURRENT_TIMESTAMP,\n  FOREIGN KEY (user_id) REFERENCES users(id),\n  FOREIGN KEY (file_id) REFERENCES files(id),\n  UNIQUE(user_id, file_id)\n);\n```\n\nTables:\n\n- **users** — email, confirmed status, confirmation token\n- **files** — name, path to file in workspace\n- **user_files** — links users to files with unique access tokens\n\n### API Endpoints\n\n| Endpoint | Method | Description |\n|----------|--------|-------------|\n| `\u002F` | GET | Web UI for requesting access |\n| `\u002Fhealth` | GET | Health check |\n| `\u002Ffiles` | GET | List available files (JSON) |\n| `\u002Frequest-access` | POST | Request file access `{email, file_id}` |\n| `\u002Fconfirm\u002F:token` | GET | Confirm email |\n| `\u002Ffile\u002F:file_id\u002F:token` | GET | Download file (requires valid token) |\n",{"name":5,"metadata":23,"description":7,"compatibility":25},{"author":24},"sillyhippy.zo.computer","Created for Zo Computer","main","3641543f81ae80504027d6b012e0dadce4e2de40","skills\u002Ffile-share","https:\u002F\u002Fgithub.com\u002FSillyHippy\u002Fzo-skills","https:\u002F\u002Fgithub.com\u002FSillyHippy","2026-09-18 11:42:22",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add SillyHippy\u002Fzo-skills --skill file-share",{"tool":38,"command":39},"bunx","bunx skills add SillyHippy\u002Fzo-skills --skill file-share",{"tool":41,"command":42},"pnpm","pnpm dlx skills add SillyHippy\u002Fzo-skills --skill file-share","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FSillyHippy\u002Fzo-skills\u002Fblob\u002Fmain\u002Fskills\u002Ffile-share\u002FSKILL.md",true,[46,52,58,62],{"path":47,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":50,"sourceHtmlUrl":51},"assets\u002Ffile-share.db","ASSET","资产文件",28672,"https:\u002F\u002Fgithub.com\u002FSillyHippy\u002Fzo-skills\u002Fblob\u002Fmain\u002Fskills\u002Ffile-share\u002Fassets\u002Ffile-share.db",{"path":53,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":56,"sourceHtmlUrl":57},"scripts\u002Fcli.ts","SCRIPT","脚本",5632,"https:\u002F\u002Fgithub.com\u002FSillyHippy\u002Fzo-skills\u002Fblob\u002Fmain\u002Fskills\u002Ffile-share\u002Fscripts\u002Fcli.ts",{"path":59,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":60,"sourceHtmlUrl":61},"scripts\u002Fserver.ts",6406,"https:\u002F\u002Fgithub.com\u002FSillyHippy\u002Fzo-skills\u002Fblob\u002Fmain\u002Fskills\u002Ffile-share\u002Fscripts\u002Fserver.ts",{"path":63,"resourceType":54,"resourceTypeDesc":55,"sizeBytes":64,"sourceHtmlUrl":65},"scripts\u002Fui.html",4631,"https:\u002F\u002Fgithub.com\u002FSillyHippy\u002Fzo-skills\u002Fblob\u002Fmain\u002Fskills\u002Ffile-share\u002Fscripts\u002Fui.html",[67,74,81,88,95,102],{"skillNo":68,"name":69,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":18},"01M7C4RK2ZCHPKQT393RVSC6ER","zopack","Export and import zo.space route setups as shareable .zopack.md files. Use when the user wants to package their zo.space routes for sharing, or when they receive a .zopack.md file to deploy. Triggers on \"export my zo.space\", \"create a zopack\", \"import this zopack\", or any mention of .zopack.md files.","https:\u002F\u002Fgithub.com\u002FSillyHippy\u002Fzo-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzopack\u002FSKILL.md",[],[],{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":18},"01M7C4REH5EJ22X3C1SF88X6KQ","zoho-mail-inbox","Full inbox management for Zoho Mail (info@justlegalsolutions.org) — list unread, mark all as read, delete by sender\u002Fkeyword, search, send from aliases, list folders. Fully self-contained — zero setup needed.","https:\u002F\u002Fgithub.com\u002FSillyHippy\u002Fzo-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzoho-mail-inbox\u002FSKILL.md",[],[],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":18},"01M7C4RAJF1N9R8ZRT25GMHFBF","weekly-meeting-reminder","Get an email every Sunday evening listing your meetings for the coming week.","https:\u002F\u002Fgithub.com\u002FSillyHippy\u002Fzo-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzo-weekly-meeting-reminder\u002FSKILL.md",[],[],{"skillNo":89,"name":90,"nameZh":6,"description":91,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":92,"categories":93,"keywords":94,"publishedAt":18},"01M7C4R65Q9T6TPBRFQPWJSW4Z","twitter","Let Zo use your X (Twitter) account","https:\u002F\u002Fgithub.com\u002FSillyHippy\u002Fzo-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzo-twitter\u002FSKILL.md",[],[],{"skillNo":96,"name":97,"nameZh":6,"description":98,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":99,"categories":100,"keywords":101,"publishedAt":18},"01M7C4R358YM59EZRM3SW763VK","zo-tools","Internal process tools for Zo and Hermes — local search, document processing, OCR, and embeddings. All services run on localhost, zero HTTP slots consumed.","https:\u002F\u002Fgithub.com\u002FSillyHippy\u002Fzo-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzo-tools\u002FSKILL.md",[],[],{"skillNo":103,"name":104,"nameZh":6,"description":105,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":106,"categories":107,"keywords":108,"publishedAt":18},"01M7C4R0J4C3RQWKZ5W5W3CZ3X","ssh-setup","Sets up secure remote access to your Zo Computer so you can connect from anywhere","https:\u002F\u002Fgithub.com\u002FSillyHippy\u002Fzo-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzo-ssh-setup\u002FSKILL.md",[],[]]