{"id":18887979,"url":"https://github.com/joshalexjacobs/aseprite-ascii-script","last_synced_at":"2025-10-25T21:46:07.619Z","repository":{"id":142022211,"uuid":"608862914","full_name":"Joshalexjacobs/aseprite-ascii-script","owner":"Joshalexjacobs","description":"Aseprite script that converts a sprite into basic ASCII","archived":false,"fork":false,"pushed_at":"2023-03-03T00:53:55.000Z","size":2887,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-09-01T07:19:03.190Z","etag":null,"topics":["ascii","aseprite","aseprite-script","aseprite-scripts","lua"],"latest_commit_sha":null,"homepage":"","language":"Lua","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/Joshalexjacobs.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-03-02T22:21:49.000Z","updated_at":"2025-07-11T14:05:04.000Z","dependencies_parsed_at":null,"dependency_job_id":"f313df20-1809-4b1a-8576-5b80edfe7382","html_url":"https://github.com/Joshalexjacobs/aseprite-ascii-script","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Joshalexjacobs/aseprite-ascii-script","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Joshalexjacobs%2Faseprite-ascii-script","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Joshalexjacobs%2Faseprite-ascii-script/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Joshalexjacobs%2Faseprite-ascii-script/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Joshalexjacobs%2Faseprite-ascii-script/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Joshalexjacobs","download_url":"https://codeload.github.com/Joshalexjacobs/aseprite-ascii-script/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Joshalexjacobs%2Faseprite-ascii-script/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281026272,"owners_count":26431753,"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","status":"online","status_checked_at":"2025-10-25T02:00:06.499Z","response_time":81,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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","aseprite","aseprite-script","aseprite-scripts","lua"],"created_at":"2024-11-08T07:40:58.101Z","updated_at":"2025-10-25T21:46:07.591Z","avatar_url":"https://github.com/Joshalexjacobs.png","language":"Lua","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Aseprite ASCII Script\nAn Aseprite script that converts a sprite into ASCII.\n\n**Currently this script only works with a single layer. In order to capture the entire sprite, you'll need to merge everything down into one layer before running the script.**\n\n## How To\n\nClone this repo and place `ASCII.lua` and the `_modules` directory into your Aseprite scripts folder (the script will fail if it can't find `json.lua` in the `_modules` folder).\n\nNext, run the script from within Aseprite via `File \u003e Scripts \u003e ASCII`:\n\n![Running the script gif](https://github.com/Joshalexjacobs/aseprite-ascii-script/blob/main/run-script.gif)\n\nOnce finished, there are should be 2 additional files in the directory containing your `.ase` file.\n\n1. A `.json` file that contains color data for each corresponding letter. The more colors you have in your sprite, the more letters should appear here.\n\n\n_Note: there's currently an untested limit to how many colors a single sprite can support._\n\n```\n{\n   \"A\":{\n      \"g\":82,\n      \"r\":36,\n      \"a\":255,\n      \"b\":59\n   },\n   \"B\":{\n      \"g\":175,\n      \"r\":93,\n      \"a\":255,\n      \"b\":141\n   }\n}\n```\n\n2. A `.txt` file that contains the ASCII version of your sprite. Each letter displayed here corresponds with the above color key.\n\n```\n              AAAA              \n             AAAAAA             \n          AAAAAAAAAAAA          \n         AAAAAAAAAAAAAA         \n       AAAAAAAAAAAAAAAAAA       \n      AAAAAAAAAAAAAAAAAAAA      \n     AAAAABAAAAAAAAAABAAAAA     \n    AAAAABBBAAAAAAAABBBAAAAA    \n   AAAAAAABAAAAAAAAAABAAAAAAA   \n  AAAAAAAAAAAAAAAAAAAAAAAAAAAA  \n  AAAAAAAAAAAAAAAAAAAAAAAAAAAA  \n AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA \nAAAAAAAAAABBBBBBBBBBBBAAAAAAAAAA\nAAAAAAAAABBBBBBBBBBBBBBAAAAAAAAA\nAAAAAAAAABBBBBBBBBBBBBBAAAAAAAAA\nAAAAAAAAABBBBBBBBBBBBBBAAAAAAAAA\nAAAAAAAAABBBBBBBBBBBBBBAAAAAAAAA\n AAAAAAAAABBBBBBBBBBBBAAAAAAAAA \n AAAAAAAAABBBBBBBBBBBBAAAAAAAAA \n  AAAAAAAAABBBBBBBBBBAAAAAAAAA  \n       AAAAAAAAAAAAAAAAAA       \n              AAAA              \n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoshalexjacobs%2Faseprite-ascii-script","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjoshalexjacobs%2Faseprite-ascii-script","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoshalexjacobs%2Faseprite-ascii-script/lists"}