{"id":25345747,"url":"https://github.com/jibstack64/ascii","last_synced_at":"2025-08-01T09:10:55.448Z","repository":{"id":115292706,"uuid":"586609343","full_name":"jibstack64/ascii","owner":"jibstack64","description":"A standalone executable that converts a standard image into viable ASCII art.","archived":false,"fork":false,"pushed_at":"2024-01-08T21:23:51.000Z","size":1977,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-14T12:55:31.203Z","etag":null,"topics":["ascii","ascii-art","ascii-art-generator","go","image"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jibstack64.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-01-08T18:24:06.000Z","updated_at":"2023-04-25T14:00:41.000Z","dependencies_parsed_at":null,"dependency_job_id":"1067727b-72d6-443e-9b69-422296a79053","html_url":"https://github.com/jibstack64/ascii","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jibstack64%2Fascii","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jibstack64%2Fascii/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jibstack64%2Fascii/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jibstack64%2Fascii/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jibstack64","download_url":"https://codeload.github.com/jibstack64/ascii/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247880392,"owners_count":21011648,"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":["ascii","ascii-art","ascii-art-generator","go","image"],"created_at":"2025-02-14T12:50:45.382Z","updated_at":"2025-04-08T16:26:50.762Z","avatar_url":"https://github.com/jibstack64.png","language":"Go","readme":"# ascii\n\n![GitHub](https://img.shields.io/github/license/jibstack64/ascii) ![GitHub go.mod Go version](https://img.shields.io/github/go-mod/go-version/jibstack64/ascii) ![GitHub release (latest by date)](https://img.shields.io/github/v/release/jibstack64/ascii) ![GitHub all releases](https://img.shields.io/github/downloads/jibstack64/ascii/total)\n\nA standalone executable that converts a standard image into viable ASCII art.\n\nSyntax: `./ascii \u003c--in\u003e photo.png [--out] out.txt [--scale] 0.5 [--stretch] 0.5 [--print] [--close-colour] [--true-colour]`\n\u003e Often, you may require a very low scale factor (\u003e0.1), particularly for larger images.\n\n### Arguments\n\n#### Required:\n- `--in \u003cimage.png\u003e` - Specifies the input image. Can be `png` or  `jpg/jpeg`.\n  \n#### Optional:\n- `--out \u003cout.txt\u003e` - Specifies the output file. If none is provided, this is disabled.\n- `--scale \u003cnumber\u003e` - Scales the result, making it more viable to be printed in a console. Must be above `0` (e.g. `0.5` would halve the size of the result). Defaults to `0.5`.\n- `--stretch \u003cinteger\u003e` - Stretches the result horizontally. This is useful for larger images. Must be above `0`. Defaults to `1`.\n- `--print` - Prints the result to the console once finished.\n- `--pretty` - When `--print` is passed, output is printed layer-by-layer.\n- `--close-colour` - Colours the output by rounding RGB values to the closest available ANSI codes.\n- `--true-colour` - Colours the output using exact RGB-ANSI codes. Not supported on most consoles. \n\n### GIFs\nDownload and use the `gif.py` script to generate an ASCII gif! Syntax: `python gif.py \u003cfile.gif\u003e \u003cscale\u003e [frames]`.\n\nYou can use the `view.py` script to view the generated ASCII gif: `python view.py \u003cdirectory\u003e`.\n\n\u003e ### Example\n\u003e ![image](https://github.com/jibstack64/ascii/raw/master/examples/smiley.png)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjibstack64%2Fascii","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjibstack64%2Fascii","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjibstack64%2Fascii/lists"}