Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/motemen/sbx
An unofficial Scrapbox client
https://github.com/motemen/sbx
Last synced: 3 months ago
JSON representation
An unofficial Scrapbox client
- Host: GitHub
- URL: https://github.com/motemen/sbx
- Owner: motemen
- License: other
- Created: 2022-01-14T15:38:42.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-02-15T11:56:45.000Z (almost 3 years ago)
- Last Synced: 2024-06-20T17:42:29.268Z (7 months ago)
- Language: Go
- Size: 42 KB
- Stars: 8
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
sbx
===A Scrapbox CLI in the wild
Usage
-----### project
sbx project show
Prints JSON for _project_.
Requests `https://scrapbox.io/api/projects/`
### page
sbx page list [--limit ]
Prints JSON array of pages in _project_.
Requests `https://scrapbox.io/api/pages/`
Options
-------* `--session `
* Specify `connect.sid` cookie value on scrapbox.io, for querying private projects.
* `--jq `
* Run a jq query on results.Configuration
-------------Put a JSON file like below at `~/.config/sbx/config.json` to give a default value for `--session`.
```json
{
"projects": {
"": {
"session": {
"command": "", // or
"value": ""
}
}
},// default value
"default": {
"session": ...
}
}
```