{"id":14037155,"url":"https://github.com/rickycodes/moonmoji","last_synced_at":"2025-04-14T11:06:28.572Z","repository":{"id":21962467,"uuid":"25287154","full_name":"rickycodes/moonmoji","owner":"rickycodes","description":":first_quarter_moon_with_face: Return an emoji representing the current moon phase.","archived":false,"fork":false,"pushed_at":"2020-11-02T15:35:22.000Z","size":44,"stargazers_count":86,"open_issues_count":0,"forks_count":3,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-14T11:06:24.705Z","etag":null,"topics":["cli","command-line","emoji","javascript","moon-phase"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/rickycodes.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}},"created_at":"2014-10-16T05:00:22.000Z","updated_at":"2024-05-01T01:45:37.000Z","dependencies_parsed_at":"2022-08-18T03:05:11.358Z","dependency_job_id":null,"html_url":"https://github.com/rickycodes/moonmoji","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rickycodes%2Fmoonmoji","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rickycodes%2Fmoonmoji/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rickycodes%2Fmoonmoji/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rickycodes%2Fmoonmoji/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rickycodes","download_url":"https://codeload.github.com/rickycodes/moonmoji/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248868768,"owners_count":21174757,"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":["cli","command-line","emoji","javascript","moon-phase"],"created_at":"2024-08-12T03:02:32.337Z","updated_at":"2025-04-14T11:06:28.546Z","avatar_url":"https://github.com/rickycodes.png","language":"Rust","funding_links":[],"categories":["Rust"],"sub_categories":[],"readme":"![moonmoji](http://i.imgur.com/BnYRgMF.png)\n\n# moonmoji\n\nReturn an emoji representing the current moon phase.\n\n## CLI\n\n```sh\n$ npm install --global moonmoji\n```\n\n## In your bash\n\nThe main goal of this was to have the emoji display in a shell. This can be accomplished by adding the script to your `PS1` export in your `.bash_prompt` or similar, eg:\n\n```sh\nPS1=$(moonmoji);\nexport PS1;\n```\n\nExamples:\n\n![prompt 1](http://i.imgur.com/aTrVySn.png) ![prompt 2](http://i.imgur.com/UcGwk6F.png)\n\n* note: If you have additional information in your `PS1` you'll need to have two spaces after the emoji character.\n\n## Thanks\n\n[@lauradegroot](https://github.com/lauradegroot) for inspiration  \n[@bwinton](https://github.com/bwinton) for pretty much authoring the whole thing  \n[@matiassingers](https://github.com/matiassingers) for tests!  \nThe whole [meatspace](https://chat.meatspac.es/) community for being awesome.\n\n## Licence\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frickycodes%2Fmoonmoji","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frickycodes%2Fmoonmoji","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frickycodes%2Fmoonmoji/lists"}