{"id":13578087,"url":"https://github.com/z0mbieparade/c0lorize","last_synced_at":"2025-04-05T15:32:23.124Z","repository":{"id":201579136,"uuid":"208855105","full_name":"z0mbieparade/c0lorize","owner":"z0mbieparade","description":"simple node script to convert a text file to colors for motd or other irc ascii art","archived":false,"fork":false,"pushed_at":"2019-12-01T03:56:17.000Z","size":393,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-11-05T15:49:11.527Z","etag":null,"topics":["ansi","ascii","ascii-art","color","escape-codes","irc","motd","node-js","unicode"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/z0mbieparade.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2019-09-16T17:11:40.000Z","updated_at":"2022-08-03T18:02:12.000Z","dependencies_parsed_at":"2024-05-10T22:11:53.653Z","dependency_job_id":null,"html_url":"https://github.com/z0mbieparade/c0lorize","commit_stats":null,"previous_names":["z0mbieparade/c0lorize"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/z0mbieparade%2Fc0lorize","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/z0mbieparade%2Fc0lorize/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/z0mbieparade%2Fc0lorize/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/z0mbieparade%2Fc0lorize/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/z0mbieparade","download_url":"https://codeload.github.com/z0mbieparade/c0lorize/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247359407,"owners_count":20926415,"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":["ansi","ascii","ascii-art","color","escape-codes","irc","motd","node-js","unicode"],"created_at":"2024-08-01T15:01:27.214Z","updated_at":"2025-04-05T15:32:18.115Z","avatar_url":"https://github.com/z0mbieparade.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"\n# c0lorize\nNeeded a little script to make generating things like irc MOTD's easier. Somewhat based off of [irc-colors](https://www.npmjs.com/package/irc-colors).\n\n### Example\n![c0lorize](img.png \"image of steps to colorize an ascii text file\")\n\n## Installation\n```\ngit clone https://github.com/z0mbieparade/c0lorize.git\ncd c0lorize\nnpm install\n```\n\n## To Use\n\nadd an ascii text file to the c0lorize directory that you want to color. c0lorize will replace the following strings:\n\n### Colors\nAny of the following color strings can be modified with \u0026bg[color] to make it a background color, i.e: \u0026white\u0026bgblack would make white text on a black background.\n\n- \u00260, \u0026white \n- \u00261, \u0026black \n- \u00262, \u0026navy, \u0026darkblue \n- \u00263, \u0026green, \u0026darkgreen\n- \u00264, \u0026red\n- \u00265, \u0026brown, \u0026maroon\n- \u00266, \u0026purple, \u0026violet\n- \u00267, \u0026olive, \u0026orange\n- \u00268, \u0026yellow\n- \u00269, \u0026lightgreen, \u0026lime\n- \u002610, \u0026teal\n- \u002611, \u0026cyan, \u0026aqua\n- \u002612, \u0026blue, \u0026royal\n- \u002613, \u0026pink, \u0026lightpurple, \u0026fuchsia\n- \u002614, \u0026gray, \u0026grey\n- \u002615, \u0026lightgray, \u0026lightgrey, \u0026silver\n\n### Styles\n- \u0026u, \u0026underline\n- \u0026i, \u0026italic\n- \u0026b, \u0026bold\n- \u0026r, \u0026reset\n\nCheck out the test.txt file for examples. Once you're done you can run:\n\n```\nnode c0lorize.js\n```\nYou will be prompted for:\n- The file name (The default is test.txt in the c0lorize folder.) \n- If you would like to reset styling after each line\n- If you would like to fix a bug with some irc clients viewing \\\\\\ as \\\n- If you would also like to generate an HTML file\n- If you would like to validate that HTML file (only asked if previous question is true)\n\nIt will then run and replace all your color codes with the correct escape codes and resave it in the same location as test_c0lorize.txt.\n\nOptionally, you can also type:\n\n```\nnode c0lorize.js somefile.txt true/false true/false true/false\n```\nThis will pre-populate the prompts and it can make it a bit easier if you're repetitively re-running the script to make tweaks.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fz0mbieparade%2Fc0lorize","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fz0mbieparade%2Fc0lorize","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fz0mbieparade%2Fc0lorize/lists"}