{"id":24615773,"url":"https://github.com/daltonsw/stylish","last_synced_at":"2025-05-07T02:25:19.229Z","repository":{"id":270781763,"uuid":"911397182","full_name":"DaltonSW/stylish","owner":"DaltonSW","description":"Simple and intuitive lscolors configuration. Put that glam in your term.","archived":false,"fork":false,"pushed_at":"2025-01-24T13:52:22.000Z","size":6200,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-31T05:24:44.035Z","etag":null,"topics":["bash","brew","bubbletea","colors","golang","lipgloss","ls","tree","tui","zsh"],"latest_commit_sha":null,"homepage":"https://dalton.dog/stylish","language":"Go","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/DaltonSW.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2025-01-02T23:24:02.000Z","updated_at":"2025-02-27T19:09:36.000Z","dependencies_parsed_at":"2025-01-04T13:45:28.208Z","dependency_job_id":"f31afc7a-8b5b-4376-9da3-f731fba0eb49","html_url":"https://github.com/DaltonSW/stylish","commit_stats":null,"previous_names":["daltonsw/colorgen","daltonsw/stylish"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DaltonSW%2Fstylish","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DaltonSW%2Fstylish/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DaltonSW%2Fstylish/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DaltonSW%2Fstylish/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DaltonSW","download_url":"https://codeload.github.com/DaltonSW/stylish/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252800025,"owners_count":21806090,"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":["bash","brew","bubbletea","colors","golang","lipgloss","ls","tree","tui","zsh"],"created_at":"2025-01-24T22:14:26.971Z","updated_at":"2025-05-07T02:25:19.197Z","avatar_url":"https://github.com/DaltonSW.png","language":"Go","funding_links":[],"categories":["Applications"],"sub_categories":["System Management"],"readme":"\u003cdiv align=\"center\"\"\u003e\n    \u003cimg src=\"./assets/stylish.png\" style=\"width: 700px;\"/\u003e\n    \u003ch3\u003eA simple and intuitive way to create and apply stylish config files 🖌️\u003c/h3\u003e\n    \u003ch3\u003eWorks with \u003ccode\u003els\u003c/code\u003e, \u003ccode\u003etree\u003c/code\u003e, \u003ccode\u003efd\u003c/code\u003e, \u003ccode\u003eexa\u003c/code\u003e, and anything else that respects \u003ccode\u003e$LS_COLORS\u003c/code\u003e\u003c/h3\u003e\n    \u003cbr /\u003e\n    \u003cimg src=\"./assets/demo.gif\" /\u003e\n\u003c/div\u003e\n\n\u003cdiv align=\"center\"\u003e\n    \u003ch2\u003eWhy use \u003ccode\u003estylish\u003c/code\u003e ❓\u003c/h2\u003e\n\u003c/div\u003e\n\n- NO file editing!\n- NO dealing with encoding strings!\n- NO manual mapping of hex codes to 8-bit colors!\n- NO blindly working without an actual preview!\n- NO need to hunt down scattered, poor documentation and references!\n\n\u003cdiv align=\"center\"\u003e\n    \u003ch2\u003eQuick Start 🌩️\u003c/h2\u003e\n\u003c/div\u003e\n\nIf you are comfortable with the defaults and just want to fast track your way to a pretty terminal, then you're just 2 steps away.\n\n- Install via one of the methods below\n- Add the following to your shell's init script:\n```sh\neval $(stylish apply default)\nalias ls=ls --color=auto\n```\n- Be stylish on every future shell launch\n\n\u003cdiv align=\"center\"\u003e\n    \u003ch2\u003eInstallation ⬇️\u003c/h2\u003e\n\u003c/div\u003e\n\n\u003e [!IMPORTANT]\n\u003e If you're on Mac, do the following alongside the normal installation\n\nEnsure you have `coreutils` installed AND added to your `PATH` by following the instructions on the [coreutils brew page](https://formulae.brew.sh/formula/coreutils)\n\n### Github Releases 🐙\n\n- Go to the `Releases` tab of the repo [here](https://github.com/DaltonSW/stylish/releases)\n- Download the latest binary for your OS\n- Place it on your `$PATH` and ensure it is executable\n\n### Homebrew 🍺 \n\n- Have `brew` installed\n- Run the following:\n```sh\nbrew install daltonsw/tap/stylish\n```\n\n### Go 🖥️ \n\n- Have `Go` \n- Have your `Go` install location on your `$PATH`\n- Run the following: \n```sh\ngo install go.dalton.dog/stylish@latest\n```\n\n\u003cdiv align=\"center\"\u003e\n    \u003ch2\u003eUsage ⚙️\u003c/h2\u003e\n\u003c/div\u003e\n\n- Start the program with `stylish`. This will:\n    - Create a `stylish` directory in your user's default config directory (typically `~/.config`)\n    - Create a `default` theme inside of that directory. **Note:** This theme is intended to be used on a dark background\n- With the program running, you're able to create and edit your themes to your heart's content\n- Once you're ready to apply a theme, you'll need to add the following to your shell's init file (`~/.bashrc`, `~/.zshrc`, etc.):\n    - **Required:** `eval $(stylish apply \u003ctheme\u003e)`\n    - *Recommended:* `alias ls=ls --color=auto`\n- Once your init file is edited, relaunch your shell to start seeing the updated colors.\n\n### P.S.\n\nWant to handle your hex code journey in your terminal too? Check out [termpicker](https://github.com/ChausseBenjamin/termpicker)!\n\n\u003cdiv align=\"center\"\u003e\n    \u003ch2\u003eCommands 📜\u003c/h2\u003e\n\u003c/div\u003e\n\n### `stylish`\n\n*Launch the TUI*\n\n- If you run the program without any subcommands, it will launch you directly into the editor TUI\n\n### `stylish apply [theme]`\n\n*This command turns the theme's YAML files into the final environment variable expected format*\n\n- Converts the given theme's YAML definition files into a `dircolors` compatible file\n- Saves the `.dircolors` file in the root of the theme's directory\n- Runs `dircolors` on the generated file to get the appropriate `LS_COLORS` string\n- Returns a command that's ready to be `eval`'d to automatically export the `LS_COLORS` string to the environment variable\n\n### `stylish example [theme]`\n\n*This command is to make setting up directories for example screenshots significantly easier and quicker*\n\n\u003e [!WARNING]\n\u003e This command requires the `tree` command to be installed\n\n- Creates an `example` directory located in your theme's root\n- For each style in your theme, a new directory is created matching the style's name\n- For each filetype associated with the theme (up to 4), a random filename is generated and a blank file is created with that name and filetype\n\n\u003cdiv align=\"center\"\u003e\n    \u003ch2\u003eShoutouts 🗨️\u003c/h2\u003e\n\u003c/div\u003e\n\n- [Jess](https://jessicakasper.com) for the great banner!\n- [Vivid](https://github.com/sharkdp/vivid) for being a great program and a great reference\n- [Catppuccin](https://github.com/catppuccin) for having pretty palettes\n- [CharmBracelet](https://github.com/charmbracelet) for the amazing modules for style, form, and function\n\n\u003cdiv align=\"center\"\u003e\n    \u003ch2\u003eContributions 💜\u003c/h2\u003e\n\u003c/div\u003e\n\nContributions are very welcome! I'd love for y'all to contribute themes you develop as well as expanding on the defaults to make them more reasonable. Check out the [CONTRIBUTING](./CONTRIBUTING.md) file for specifics.\n\n\u003cdiv align=\"center\"\u003e\n    \u003ch2\u003eLicense ⚖️\u003c/h2\u003e\n\u003c/div\u003e\n\nCopyright 2025 - Dalton Williams  \nCheck [LICENSE](./LICENSE.md) in repo for full details\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaltonsw%2Fstylish","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdaltonsw%2Fstylish","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaltonsw%2Fstylish/lists"}