8 releases
0.2.0 | Aug 25, 2022 |
---|---|
0.1.7 | Jan 21, 2022 |
#43 in #repo
52KB
1K
SLoC
DBang
DBang is a CLI to manage Deno scripts on GitHub
Vocabulary
- Catalog: A collection of scripts that is dang-catalog.json
- Script: A script that is in dang-script.json, also called artifact.
- repo_name: GitHub's repo name, eg.
dbang-catalog
,my-script
- repo_full_name: repo name with GitHub's account or organization name, for example
linux-china/dbang-catalog
Features
- Deno versions management
- Install Apps
- Aliases & Catalogs
- Trust and Permissions
- Unstable
- Default arguments
Security strategies
- Prompt for permissions confirm on first run
- Prompt for permissions confirm after
dbang-catalog.json
changed, like Android app - Trust user's scripts by
dbang trust <user>
- Private repo support by DENO_AUTH_TOKENS
Web Storage Support
DBang use --config ~/.dbang/catalogs/github/linux-china/dbang-catalog.json
to separate different catalogs, and it
means scripts in same dbang-catalog.json would share the same storage.
References
- JBang: jbang.dev
- Update-informer: https://github.com/mgrachev/update-informer
Dependencies
~17–36MB
~537K SLoC