{"id":15176415,"url":"https://github.com/lk-geimfari/nebula","last_synced_at":"2025-10-21T18:33:19.723Z","repository":{"id":57549684,"uuid":"66464649","full_name":"lk-geimfari/nebula","owner":"lk-geimfari","description":"Small library for colored (ANSI) output in Erlang/Elixir/LFE. It's can be useful when you need to create user-friendly command-line applications.","archived":true,"fork":false,"pushed_at":"2021-04-30T07:23:05.000Z","size":2447,"stargazers_count":54,"open_issues_count":0,"forks_count":2,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-01-20T13:02:22.275Z","etag":null,"topics":["ansi","beam","cli","colored","colors","elixir","erlang","lfe","output"],"latest_commit_sha":null,"homepage":"","language":"Erlang","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lk-geimfari.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"custom":"https://isaak.dev/donate/"}},"created_at":"2016-08-24T13:06:35.000Z","updated_at":"2024-10-22T11:33:50.000Z","dependencies_parsed_at":"2022-09-01T06:40:22.350Z","dependency_job_id":null,"html_url":"https://github.com/lk-geimfari/nebula","commit_stats":null,"previous_names":["lk-geimfari/smokkfiskur"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lk-geimfari%2Fnebula","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lk-geimfari%2Fnebula/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lk-geimfari%2Fnebula/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lk-geimfari%2Fnebula/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lk-geimfari","download_url":"https://codeload.github.com/lk-geimfari/nebula/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234878308,"owners_count":18900676,"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","beam","cli","colored","colors","elixir","erlang","lfe","output"],"created_at":"2024-09-27T13:04:07.278Z","updated_at":"2025-10-01T14:31:46.412Z","avatar_url":"https://github.com/lk-geimfari.png","language":"Erlang","funding_links":["https://isaak.dev/donate/"],"categories":[],"sub_categories":[],"readme":"# Nebula\n\n[![test](https://github.com/lk-geimfari/nebula/actions/workflows/ci.yml/badge.svg)](https://github.com/lk-geimfari/nebula/actions/workflows/ci.yml)\n[![BSD](https://img.shields.io/pypi/l/Django.svg?maxAge=2592000)](https://github.com/lk-geimfari/nebula/blob/master/LICENSE)\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://raw.githubusercontent.com/lk-geimfari/nebula/master/media/logo.png\"\u003e\n\u003c/p\u003e\n\n[__Nebula__](https://hex.pm/packages/nebula) is a small library for colored ([ANSI](https://en.wikipedia.org/wiki/ANSI_escape_code#Colors)) output in Erlang/Elixir. It's can be useful when you need to create user-friendly command-line application.\n\n\n### Installation\n\nJust add `{nebula, \"0.1.1\"}` to your rebar.config file and run following command:\n\n```\n➜ ~ make compile\n```\n\nor if you want to use this package with `Elixir` add `{:nebula, \"~\u003e 0.1.1\"}` to your `mix.exs` and run following command:\n```\n➜ ~ mix deps.get\n```\n\n### Usage\n\nUsing with Erlang:\n\n```erlang\nupdate_something() -\u003e\n  %% ...\n  %% ...\n  nebula:print(green, \"Something has been updated successfully!\").\n```\n\nUsing with LFE (Lisp Flavoured Erlang):\n```lfe\n(defun update_something ()\n    (nebula:print :GREEN \"Something has been updated successfully!\"))\n```\n\nUsing with Elixir:\n\n```elixir\ndef update_something do\n  # ...\n  # ...\n  :nebula.print(:green, \"Something has been updated successfully!\")\nend\n```\n\n### Available functions and colors\n\nFirst argument is color name (`atom`), second - your message.\n\n- `print/2`: `black`, `red`, `green`, `orange`, `blue`, `purple`, `yellow`, `cyan`, `grey`.\n- `background/2`: `black`, `red`, `green`, `yellow`, `blue`, `purple`, `cyan`.\n\n\n### License\nBSD 3-Clause License\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flk-geimfari%2Fnebula","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flk-geimfari%2Fnebula","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flk-geimfari%2Fnebula/lists"}