{"id":13819897,"url":"https://github.com/piotrmurach/tty-font","last_synced_at":"2025-06-12T13:09:28.487Z","repository":{"id":59158172,"uuid":"114554972","full_name":"piotrmurach/tty-font","owner":"piotrmurach","description":"Terminal fonts","archived":false,"fork":false,"pushed_at":"2022-04-24T19:38:04.000Z","size":83,"stargazers_count":61,"open_issues_count":0,"forks_count":6,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-15T10:20:51.282Z","etag":null,"topics":["console","font","ruby","rubygem","terminal","tty"],"latest_commit_sha":null,"homepage":"http://ttytoolkit.org","language":"Ruby","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/piotrmurach.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE.txt","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":"piotrmurach"}},"created_at":"2017-12-17T17:21:47.000Z","updated_at":"2025-04-27T18:49:02.000Z","dependencies_parsed_at":"2022-09-13T20:11:19.881Z","dependency_job_id":null,"html_url":"https://github.com/piotrmurach/tty-font","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/piotrmurach/tty-font","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piotrmurach%2Ftty-font","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piotrmurach%2Ftty-font/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piotrmurach%2Ftty-font/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piotrmurach%2Ftty-font/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/piotrmurach","download_url":"https://codeload.github.com/piotrmurach/tty-font/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piotrmurach%2Ftty-font/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259470951,"owners_count":22862999,"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":["console","font","ruby","rubygem","terminal","tty"],"created_at":"2024-08-04T08:00:54.588Z","updated_at":"2025-06-12T13:09:28.465Z","avatar_url":"https://github.com/piotrmurach.png","language":"Ruby","funding_links":["https://github.com/sponsors/piotrmurach"],"categories":["Happy Exploring 🤘","Ruby"],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n  \u003ca href=\"https://ttytoolkit.org\"\u003e\u003cimg width=\"130\" src=\"https://github.com/piotrmurach/tty/raw/master/images/tty.png\" alt=\"TTY Toolkit logo\"/\u003e\u003c/a\u003e\n\u003c/div\u003e\n\n# TTY::Font [![Gitter](https://badges.gitter.im/Join%20Chat.svg)][gitter]\n\n[![Gem Version](https://badge.fury.io/rb/tty-font.svg)][gem]\n[![Actions CI](https://github.com/piotrmurach/tty-font/workflows/CI/badge.svg?branch=master)][gh_actions_ci]\n[![Build status](https://ci.appveyor.com/api/projects/status/cj4owy2vlty2q1ko?svg=true)][appveyor]\n[![Maintainability](https://api.codeclimate.com/v1/badges/b0d6263bd34e1c0cae74/maintainability)][codeclimate]\n[![Coverage Status](https://coveralls.io/repos/github/piotrmurach/tty-font/badge.svg)][coverage]\n[![Inline docs](http://inch-ci.org/github/piotrmurach/tty-font.svg?branch=master)][inchpages]\n\n[gitter]: https://gitter.im/piotrmurach/tty\n[gem]: http://badge.fury.io/rb/tty-font\n[gh_actions_ci]: https://github.com/piotrmurach/tty-font/actions?query=workflow%3ACI\n[appveyor]: https://ci.appveyor.com/project/piotrmurach/tty-font\n[codeclimate]: https://codeclimate.com/github/piotrmurach/tty-font/maintainability\n[coverage]: https://coveralls.io/github/piotrmurach/tty-font\n[inchpages]: http://inch-ci.org/github/piotrmurach/tty-font\n\n\u003e Write text in large stylized characters using a variety of terminal friendly fonts.\n\n![screenshot](https://github.com/piotrmurach/tty-font/raw/master/assets/starwars_logo.png)\n\n**TTY::Font** provides independent terminal font rendering component for [TTY](https://github.com/piotrmurach/tty) toolkit.\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'tty-font'\n```\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install tty-font\n\n## Usage\n\nInitialize font out of [available](#fonts) fonts:\n\n```ruby\nfont = TTY::Font.new(:doom)\n```\n\nand then print text out to console:\n\n```ruby\nputs font.write(\"DOOM\")\n# =\u003e\n# ______  _____  _____ ___  ___\n# |  _  \\|  _  ||  _  ||  \\/  |\n# | | | || | | || | | || .  . |\n# | | | || | | || | | || |\\/| |\n# | |/ / \\ \\_/ /\\ \\_/ /| |  | |\n# |___/   \\___/  \\___/ \\_|  |_/\n#\n```\n\nTo adjust the spacing between all the letters in a piece of text use `:letter_spacing` option:\n\n```ruby\nputs font.write(\"DOOM\", letter_spacing: 4)\n# =\u003e\n# ______      _____      _____     ___  ___\n# |  _  \\    |  _  |    |  _  |    |  \\/  |\n# | | | |    | | | |    | | | |    | .  . |\n# | | | |    | | | |    | | | |    | |\\/| |\n# | |/ /     \\ \\_/ /    \\ \\_/ /    | |  | |\n# |___/       \\___/      \\___/     \\_|  |_/\n```\n\nIf you wish to print text in color use [pastel](https://github.com/piotrmurach/pastel):\n\n```ruby\npastel = Pastel.new\nputs pastel.yellow(font.write(\"DOOM\"))\n```\n\n## Fonts\n\nThe list of the available fonts: (select link to see font face)\n\n* [3d](fonts/3d.md)\n* [block](fonts/block.md)\n* [doom](fonts/doom.md)\n* [standard](fonts/standard.md)\n* [starwars](fonts/starwars.md)\n* [straight](fonts/straight.md)\n\n## Development\n\nAfter checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.\n\nTo install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/piotrmurach/tty-font. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).\n\n## Code of Conduct\n\nEveryone interacting in the TTY::Font project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/piotrmurach/tty-font/blob/master/CODE_OF_CONDUCT.md).\n\n## Copyright\n\nCopyright (c) 2017 Piotr Murach. See LICENSE for further details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpiotrmurach%2Ftty-font","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpiotrmurach%2Ftty-font","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpiotrmurach%2Ftty-font/lists"}