https://github.com/chronicle-app/chronicle-shell
Shell connectors for Chronicle-ETL
https://github.com/chronicle-app/chronicle-shell
bash chronicle chronicle-plugin data-liberation personal-data shell zsh
Last synced: 7 months ago
JSON representation
Shell connectors for Chronicle-ETL
- Host: GitHub
- URL: https://github.com/chronicle-app/chronicle-shell
- Owner: chronicle-app
- License: mit
- Created: 2022-02-10T03:30:56.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-05-01T18:50:53.000Z (about 2 years ago)
- Last Synced: 2025-01-16T10:41:24.392Z (over 1 year ago)
- Topics: bash, chronicle, chronicle-plugin, data-liberation, personal-data, shell, zsh
- Language: Ruby
- Homepage:
- Size: 29.3 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Chronicle::Shell
[](https://badge.fury.io/rb/chronicle-shell)
Shell importer for [chronicle-etl](https://github.com/chronicle-app/chronicle-etl)
## Usage and examples
```bash
# install chronicle-etl and then this plugin
gem install chronicle-etl
chronicle-etl plugins:install shell
# output commands since 2 weeks ago
$ chronicle-etl --extractor shell:command --schema chronicle --since 2w --loader json
# Show recent commands sorted by frequency of use
$ chronicle-etl --extractor shell:command --loader table --limit 500 --fields command --silent | sort | uniq -c | sort -nr
```
## Available Connectors
### Extractors
- `shell:command` - Extract shell history from bash or zsh