{"id":13741660,"url":"https://github.com/MAHcodes/wink","last_synced_at":"2025-05-08T21:34:46.521Z","repository":{"id":232308028,"uuid":"784002969","full_name":"MAHcodes/wink","owner":"MAHcodes","description":"(\u003eᴗ•) Wink your text! Make it gleam with a boxy upgrade for a polished look that shines ✧","archived":false,"fork":false,"pushed_at":"2024-04-13T16:08:51.000Z","size":27,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-15T04:39:12.498Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Gleam","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MAHcodes.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":"2024-04-09T01:52:02.000Z","updated_at":"2024-08-19T04:55:46.000Z","dependencies_parsed_at":"2024-08-03T04:18:19.585Z","dependency_job_id":null,"html_url":"https://github.com/MAHcodes/wink","commit_stats":null,"previous_names":["mahcodes/wink"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MAHcodes%2Fwink","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MAHcodes%2Fwink/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MAHcodes%2Fwink/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MAHcodes%2Fwink/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MAHcodes","download_url":"https://codeload.github.com/MAHcodes/wink/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253153176,"owners_count":21862321,"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-08-03T04:01:01.468Z","updated_at":"2025-05-08T21:34:46.293Z","avatar_url":"https://github.com/MAHcodes.png","language":"Gleam","funding_links":[],"categories":["Packages"],"sub_categories":["Text"],"readme":"# wink\n\n[![Package Version](https://img.shields.io/hexpm/v/wink)](https://hex.pm/packages/wink)\n[![Hex Docs](https://img.shields.io/badge/hex-docs-ffaff3)](https://hexdocs.pm/wink/)\n\nA simple Gleam box drawing library\n\n```sh\ngleam add wink\n```\n\n```gleam\nimport gleam/io\nimport wink\n\npub fn main() {\n    // draws a box with the default configuration\n    \"(\u003eᴗ•)\"\n    |\u003e wink.draw\n    |\u003e io.println\n}\n```\n\nwill output:\n\n```\n\n ╭───────╮ \n │       │ \n │ (\u003eᴗ•) │ \n │       │ \n ╰───────╯ \n\n```\n\n```gleam\nimport gleam/io\nimport wink.{Border, Config, Custom}\n\npub fn main() {\n    // or you can initialize a custom-styled box with specific config\n    let box =\n      wink.init(\n        Config(\n          ..wink.default_config,\n          style: Custom(Border(\n            top_right: \"◝\",\n            top_left: \"◜\",\n            bottom_right: \"◞\",\n            bottom_left: \"◟\",\n            horizontal: \"―\",\n            vertical: \"⸾\",\n          )),\n        ),\n      )\n\n    \"(\u003eᴗ•)\"\n    |\u003e box.draw\n    |\u003e io.println\n}\n```\n\nFurther documentation can be found at \u003chttps://hexdocs.pm/wink\u003e.\n\n## Development\n\n```sh\ngleam run   # Run the project\ngleam test  # Run the tests\ngleam shell # Run an Erlang shell\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FMAHcodes%2Fwink","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FMAHcodes%2Fwink","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FMAHcodes%2Fwink/lists"}