{"id":13425096,"url":"https://github.com/ohtomi/scrapbox","last_synced_at":"2026-01-14T16:01:42.649Z","repository":{"id":57575401,"uuid":"78344906","full_name":"ohtomi/scrapbox","owner":"ohtomi","description":"This tool provides command line interface for scrapbox.io.","archived":true,"fork":false,"pushed_at":"2019-01-01T02:26:43.000Z","size":1252,"stargazers_count":43,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-15T19:36:57.850Z","etag":null,"topics":["cli","scrapbox"],"latest_commit_sha":null,"homepage":"","language":"Go","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/ohtomi.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-01-08T13:37:14.000Z","updated_at":"2024-09-26T13:14:48.000Z","dependencies_parsed_at":"2022-09-26T19:01:56.185Z","dependency_job_id":null,"html_url":"https://github.com/ohtomi/scrapbox","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/ohtomi/scrapbox","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ohtomi%2Fscrapbox","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ohtomi%2Fscrapbox/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ohtomi%2Fscrapbox/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ohtomi%2Fscrapbox/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ohtomi","download_url":"https://codeload.github.com/ohtomi/scrapbox/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ohtomi%2Fscrapbox/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28425596,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T15:24:48.085Z","status":"ssl_error","status_checked_at":"2026-01-14T15:23:41.940Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["cli","scrapbox"],"created_at":"2024-07-31T00:01:04.511Z","updated_at":"2026-01-14T16:01:42.624Z","avatar_url":"https://github.com/ohtomi.png","language":"Go","funding_links":[],"categories":["Go"],"sub_categories":[],"readme":"# scrapbox\n\nThis tool provides command line interface for scrapbox.io.\n\n## Description\n\nThis is a tool to search pages by keywords, to print a content of a page, to print an encoded URL of a page, to print URLs linked by a page.\n\n## Usage\n\n### List page titles containing specified tags\n\n```console\n$ scrapbox list -h\nusage: scrapbox list [options...] PROJECT [TAGs...]\n\nOptions:\n  --token, -t  Scrapbox connect.sid used to access private project.\n  --host, -h   Scrapbox Host. By default, \"https://scrapbox.io\".\n  --expire     Local Cache Expiration. By default, 3600 seconds.\n  --ua         User Agent. By default, \"ScrapboxGoClient/x.x.x\"\n\n\n$ scrapbox list go-scrapbox\ntitle having paren ( ) mark\ntitle having plus + mark\ntitle having question ? mark\ntitle having slash / mark\ntitle having whitespaces\n日本語タイトルのページ\n地のリンクがあるページ\n複数のリンクがあるページ\n文章のなかにリンクがあるページ1\n文章のなかにリンクがあるページ2\n\n$ scrapbox list go-scrapbox english\ntitle having paren ( ) mark\ntitle having plus + mark\ntitle having question ? mark\ntitle having slash / mark\ntitle having whitespaces\n\n$ scrapbox list go-scrapbox english paren\ntitle having paren ( ) mark\n```\n\n### Print the content of the scrapbox page\n\n```console\n$ scrapbox read -h\nusage: scrapbox read [options...] PROJECT PAGE\n\nOptions:\n  --token, -t  Scrapbox connect.sid used to access private project.\n  --host, -h   Scrapbox Host. By default, \"https://scrapbox.io\".\n  --expire     Local Cache Expiration. By default, 3600 seconds.\n  --ua         User Agent. By default, \"ScrapboxGoClient/x.x.x\"\n\n\n$ scrapbox read go-scrapbox \"title having paren ( ) mark\"\ntitle having paren ( ) mark\n#english #no-url #whitespace #no-slash #paren #no-plus #no-question\n```\n\n### Print the URL of the scrapbox page\n\n```console\n$ scrapbox open -h\nusage: scrapbox open [options...] PROJECT PAGE\n\nOptions:\n  --host, -h   Scrapbox Host. By default, \"https://scrapbox.io\".\n\n\n$ scrapbox open go-scrapbox \"title having paren ( ) mark\"\nhttps://scrapbox.io/go-scrapbox/title%20having%20paren%20(%20)%20mark\n```\n\n### Print all URLs in the scrapbox page\n\n```console\n$ scrapbox link -h\nusage: scrapbox link [options...] PROJECT PAGE\n\nOptions:\n  --token, -t  Scrapbox connect.sid used to access private project.\n  --host, -h   Scrapbox Host. By default, \"https://scrapbox.io\".\n  --expire     Local Cache Expiration. By default, 3600 seconds.\n  --ua         User Agent. By default, \"ScrapboxGoClient/x.x.x\"\n\n\n$ scrapbox link go-scrapbox \"複数のリンクがあるページ\"\nhttps://www.google.co.jp\nhttps://www.google.com\n```\n\n### Environment Variables\n\n- `SCRAPBOX_TOKEN`: specify `token` instead of `--token` option.\n- `SCRAPBOX_HOST`: specify `host` instead of `--host` option.\n- `SCRAPBOX_EXPIRATION`: specify `expire` instead of `--expire` option.\n- `SCRAPBOX_USER_AGENT`: specify `ua`(`user agent`) instead of `--ua` option.\n- `SCRAPBOX_HOME`: specify `scrapbox` home directory. By default `~/.scrapbox/`\n\n### Private Project\n\nTo access private project, use `--token` option:\n\n```console\n$ scrapbox \u003csub command\u003e --token s%3A... \u003carguments\u003e\n```\n\n### Scrapbox Enterprise\n\nTo access Scrapbox Enterprise, use `--host` option:\n\n```console\n$ scrapbox \u003csub command\u003e --host http://host:port \u003carguments\u003e\n```\n\n### Local Cache Control\n\nTo ignore local caches, set `expire` to zero:\n\n```console\n$ scrapbox \u003csub command\u003e --expire \u003cexpiration\u003e \u003carguments\u003e\n```\n\n## Install\n\nTo install, use `go get`:\n\n```console\n$ go get github.com/ohtomi/scrapbox/cmd/scrapbox\n```\n\nOr get binary from [release page](../../releases/latest).\n\n## Contribution\n\n1. Fork ([https://github.com/ohtomi/scrapbox/fork](https://github.com/ohtomi/scrapbox/fork))\n1. Create a feature branch\n1. Commit your changes\n1. Rebase your local changes against the master branch\n1. Run test suite with the `go test ./...` command and confirm that it passes\n1. Run `gofmt -s`\n1. Create a new Pull Request\n\n## License\n\nMIT\n\n## Author\n\n[Kenichi Ohtomi](https://github.com/ohtomi)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fohtomi%2Fscrapbox","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fohtomi%2Fscrapbox","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fohtomi%2Fscrapbox/lists"}