{"id":13763367,"url":"https://github.com/rd4com/mojo-console-style-print","last_synced_at":"2025-05-10T16:32:28.746Z","repository":{"id":193739834,"uuid":"689405403","full_name":"rd4com/mojo-console-style-print","owner":"rd4com","description":"🎨 Style the output of the console","archived":false,"fork":false,"pushed_at":"2023-09-28T07:48:02.000Z","size":7,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-02-11T18:46:11.556Z","etag":null,"topics":["mojo"],"latest_commit_sha":null,"homepage":"","language":null,"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/rd4com.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}},"created_at":"2023-09-09T17:44:28.000Z","updated_at":"2023-10-06T00:43:08.000Z","dependencies_parsed_at":"2023-09-09T18:39:40.219Z","dependency_job_id":"30fc29e3-4556-4c52-97e3-d93e7b3f1ad5","html_url":"https://github.com/rd4com/mojo-console-style-print","commit_stats":null,"previous_names":["rd4com/mojo-console-style-print"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rd4com%2Fmojo-console-style-print","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rd4com%2Fmojo-console-style-print/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rd4com%2Fmojo-console-style-print/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rd4com%2Fmojo-console-style-print/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rd4com","download_url":"https://codeload.github.com/rd4com/mojo-console-style-print/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253445848,"owners_count":21909870,"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":["mojo"],"created_at":"2024-08-03T15:00:43.360Z","updated_at":"2025-05-10T16:32:28.506Z","avatar_url":"https://github.com/rd4com.png","language":null,"funding_links":[],"categories":["🗂️ Libraries\u003ca id='libraries'\u003e\u003c/a\u003e"],"sub_categories":["Advent of Code 2023"],"readme":"\u003e :heart: part of the effort for the community\n\u003e https://github.com/Lynet101/Mojo_community-lib\n\n\u003e ⚠️ Has not been tested, not to use as-is\n# some console styling\n```python\nfn main():\n    var t=pp_()\n    \n    t[\"clr\"] #clear screen\n    t[\"fgblack\"]\n    t[\"bgwhite\"]\n    t | \"mojo\"\n    t[\"fgwhite\"]\n    t[\"bgblack\"]\n    t | \"rocks\"\n    t[\"reset\"]\n    t[\"fgred\"]\n    t[\"bold_on\"]\n    t[\"slow_blink\"]\n    t | \"!!!\"\n    t[\"reset\"]\n   \n    t() #newline\n    t | \"normal\"\n```\n# doc\n\u003e bg is background and fg is foreground\n \n\u003e t | String(123) for numbers\n\n\u003e t() for new line\n\n- reset              *reset to default style*\n- clr                *clear the screen*\n- bold_on\n- bold_off\n- italic_on\n- italic_off\n- underline_on\n- underline_off\n- slow_blink\n- fast_blink\n- blink_off\n- invert\n- fgblack\n- fgred\n- fgreen\n- fgyellow\n- fgblue\n- fgpurple\n- fgcyan\n- fgwhite\n- bgblack\n- bgred\n- bgreen\n- bgyellow\n- bgblue\n- bgpurple\n- bgcyan\n- bgwhite\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frd4com%2Fmojo-console-style-print","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frd4com%2Fmojo-console-style-print","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frd4com%2Fmojo-console-style-print/lists"}