https://github.com/atscan/atr
AT Protocol IPLD-CAR Repository toolkit (CLI)
https://github.com/atscan/atr
atproto atprotocol bluesky cli repository tool
Last synced: 5 months ago
JSON representation
AT Protocol IPLD-CAR Repository toolkit (CLI)
- Host: GitHub
- URL: https://github.com/atscan/atr
- Owner: atscan
- License: mit
- Created: 2023-07-16T10:14:30.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-07-19T01:44:59.000Z (over 2 years ago)
- Last Synced: 2025-04-08T21:15:08.963Z (9 months ago)
- Topics: atproto, atprotocol, bluesky, cli, repository, tool
- Language: Go
- Homepage:
- Size: 78.1 KB
- Stars: 9
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# atr
AT Protocol IPLD-CAR Repository toolkit
## Install
```
go install github.com/atscan/atr@latest
```
## Examples
```bash
# Scans the current directory (and its subdirectories)
# and prints information about all found repositories:
atr inspect
atr i # you can use commands shortcuts
# Get all objects from the repository:
atr show my-repo.car
# filter by object type
atr show -t post
# use jq query language
atr show -q .body.displayName
# use jmespath query language
atr show -q body.displayName
# Search with grep:
atr show -t post | grep love
# Repositories can also be read via pipe:
curl -sL "xrpc.link/r/atproto.com" | atr show
# FYI xrpc.link is shortcut domain which redirecting to
# relevant /xrpc/... endpoints
```
## License
MIT