{"id":18605333,"url":"https://github.com/fny/textify","last_synced_at":"2025-05-17T09:41:26.869Z","repository":{"id":13015621,"uuid":"15695083","full_name":"fny/textify","owner":"fny","description":"Give your animated GIFs some Unicode art lovin'.","archived":false,"fork":false,"pushed_at":"2014-01-08T02:49:48.000Z","size":120,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-06T00:02:25.835Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fny.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-01-07T04:31:31.000Z","updated_at":"2014-01-08T02:49:48.000Z","dependencies_parsed_at":"2022-09-03T11:20:25.972Z","dependency_job_id":null,"html_url":"https://github.com/fny/textify","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fny%2Ftextify","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fny%2Ftextify/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fny%2Ftextify/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fny%2Ftextify/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fny","download_url":"https://codeload.github.com/fny/textify/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254594999,"owners_count":22097466,"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-11-07T02:20:56.538Z","updated_at":"2025-05-17T09:41:25.850Z","avatar_url":"https://github.com/fny.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Textify\n\nGive your animated GIFs some \u003cdel\u003eASCII\u003c/del\u003e Unicode art lovin'.\n\n## Requirements\n\n - Ruby 1.9.3+ (Unicode support, FTW)\n - ImageMagick\n - RMagick\n\nNote there's no Gemfile, so you'll need to install RMagick on your own:\n\n    gem install rmagick\n\n## How\n\nSimply run the following:\n\n    ruby textify.rb gif_path [options...]\n\nAnd then open the provided `viewer.html` to see your textified GIF animation.\n\nSee `ruby textify.rb --help` for more details.\n\n## The Magic Inside\n\nThe script creates a `gif-data.js` file that will contain a global JavaScript\nobject `GIF` that contains the converted data. `GIF` has two properties:\n\n - `frames`: a string array of the converted frames\n - `delay`: the number milliseconds between each frame of the original animation\n\n`viewer.html` loads this file along with the following:\n\n - `animation-shim.js`: A simple shim for [`requestAnimationFrame`][reqanim-docs].\n - `text-animation.js`: A lovely class for creating text animations.\n\nAnd then runs the animation using the `TextAnimation` class.\n\nSee `text-animation.js` for more information about configuring the animation.\n\n## Some Suggestions\n\n - Toy with different character sets; keep in mind that the goal is to replicate\n   shades of gray.\n - Larger character sets aren't always better.\n - Adjust the CSS as necessary.\n - Toy with different widths.\n - Noisy GIFs don't look to hot.\n - Some poorly created GIFs have frames of varying sizes, so the animation's\n   behavior might feel a bit erratic.\n\n## Coming Soon (Perhaps)\n \n - Add some Class\n - Multithreading\n - Static image conversion\n - Add more character sets\n - GitHub page\n - Terminal magic via `curses`/`ncurses`\n - Testing \n\n [reqanim-docs]: https://developer.mozilla.org/en-US/docs/Web/API/window.requestAnimationFrame \"window.requestAnimationFrame()\"\n\n## License\n\nCopyright (c) 2014 Faraz Yashar\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffny%2Ftextify","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffny%2Ftextify","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffny%2Ftextify/lists"}