mirror of
https://github.com/arfct/itty-bitty.git
synced 2026-03-11 08:54:33 +00:00
This commit introduces the AAH-CLI, a Node.js command-line tool for creating `itty.bitty`-style URL fragments. The CLI includes two main commands: - `encode`: Compresses text content using Gzip or LZMA and outputs a Base64-encoded string. It accepts input from files, direct text strings, or stdin. - `publish`: Encodes content and then publishes the resulting link to a specified file within a GitHub repository. This command uses Git to clone, modify, commit, and push the changes. The project is structured into modular components for encoding (`encoder.js`) and publishing (`publisher.js`), with a manual argument parser in the main `aah-cli.js` file for robustness. Includes comprehensive `README.md` and `AGENTS.md` documentation.
24 lines
463 B
JSON
24 lines
463 B
JSON
{
|
|
"name": "aah-cli",
|
|
"version": "1.0.0",
|
|
"description": "Agent-Assisted Hypermedia Encoding CLI",
|
|
"main": "aah-cli.js",
|
|
"type": "module",
|
|
"bin": {
|
|
"aah-cli": "./aah-cli.js"
|
|
},
|
|
"scripts": {
|
|
"test": "echo \"Error: no test specified\" && exit 1"
|
|
},
|
|
"keywords": [
|
|
"itty-bitty",
|
|
"cli",
|
|
"hypermedia"
|
|
],
|
|
"author": "Jules",
|
|
"license": "ISC",
|
|
"dependencies": {
|
|
"lzma-native": "^8.0.6",
|
|
"simple-git": "^3.28.0"
|
|
}
|
|
}
|