{"id":13438645,"url":"https://github.com/theZiz/aha","last_synced_at":"2025-03-20T06:31:02.928Z","repository":{"id":3224793,"uuid":"4260122","full_name":"theZiz/aha","owner":"theZiz","description":"Ansi HTML Adapter","archived":false,"fork":false,"pushed_at":"2023-08-16T21:45:59.000Z","size":613,"stargazers_count":860,"open_issues_count":21,"forks_count":89,"subscribers_count":29,"default_branch":"master","last_synced_at":"2024-03-14T17:14:17.067Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"adityaapte/CERR","license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/theZiz.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG","contributing":null,"funding":null,"license":"LICENSE.LGPLv2+","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2012-05-08T11:48:07.000Z","updated_at":"2024-03-13T13:34:29.000Z","dependencies_parsed_at":"2023-01-13T12:21:59.790Z","dependency_job_id":"72b75f10-7ab8-4f8d-8c8f-eecfd11bb7a4","html_url":"https://github.com/theZiz/aha","commit_stats":{"total_commits":132,"total_committers":23,"mean_commits":5.739130434782608,"dds":0.6363636363636364,"last_synced_commit":"5eaec96aae98274d1d86b431b9d426d50a023fbc"},"previous_names":[],"tags_count":18,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theZiz%2Faha","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theZiz%2Faha/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theZiz%2Faha/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theZiz%2Faha/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/theZiz","download_url":"https://codeload.github.com/theZiz/aha/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244565163,"owners_count":20473223,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-07-31T03:01:07.178Z","updated_at":"2025-03-20T06:30:57.918Z","avatar_url":"https://github.com/theZiz.png","language":"C","funding_links":[],"categories":["C","Utilities"],"sub_categories":["Shell Utilities"],"readme":"aha - Ansi HTML Adapter\n=======================\n\nConverts ANSI escape sequences of a unix terminal to HTML code.\n\n![aha screenshot](/screenshot.png?raw=true \"aha screenshot\")\n\nExamples\n========\n\n* `aha --help | aha --black --title \"the awesome aha help\"\u003e aha-help.htm`\n  * Creates an HTML file of the help of aha with black background\n* `colordiff oldfile.c newfile.c | aha \u003e colordiff.htm`\n  * Creates an HTML file with a colorful diff-output of two files \"oldfile.c\" and \"newfile.c\" with white background\n* `ls --color=always | aha --pink \u003e ls.htm`\n * Creates an HTML file with a colorful ls-output with pink background.\n* `echo q | htop | aha --black --line-fix \u003e htop.htm`\n  * Creates an HTML file with the output of htop. You have to use --line-fix due the other new-line-commands htop uses.\n* `MAN_KEEP_FORMATTING=1 COLUMNS=80 man aha | ul | aha \u003e man-aha.htm`\n  * Creates an HTML file with the man page of aha. Man uses nroff's bold and underline, which ul converts to SGR.\n\nCompilation / Installation\n==========================\n\n## Installation Options\n\n### OSX - Homebrew\n\n* `brew install aha`\n\n### Conda\n\n* `conda install -n YOURENV -c conda-forge aha` (and if you wish to make conda 10x faster, \u003ca href=https://github.com/mamba-org/mamba \u003euse mamba\u003c/a\u003e).\n\n### Build From Source\n\nAha has no dependencies except for a C compiler and `make`.\n\nClone this repo `git clone https://github.com/theZiz/aha.git`.\nMove into the repo directory `cd aha`.\nTo compile just type `make`.\nTo install aha to `/usr/local/` type `make install`.\nYou can change the installation directory with `make install PREFIX=/your/path`.\nYou can override the man directory with `make install MANDIR=/your/path/man`\n\nLicensing\n=========\n\nAll files are subjects to the LGPL2+ or the MPL1.1 (Dual licensed).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FtheZiz%2Faha","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FtheZiz%2Faha","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FtheZiz%2Faha/lists"}