{"id":28962723,"url":"https://github.com/hitblast/mdbook-brew","last_synced_at":"2026-05-17T15:31:21.885Z","repository":{"id":300603982,"uuid":"1006600344","full_name":"hitblast/mdbook-brew","owner":"hitblast","description":"A Homebrew-inspired theme for mdBook.","archived":false,"fork":false,"pushed_at":"2025-06-22T16:32:46.000Z","size":1318,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-06-22T17:30:47.852Z","etag":null,"topics":["css","mdbook","mdbook-theme","mdbook-themes","rust","rust-lang"],"latest_commit_sha":null,"homepage":"","language":"CSS","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/hitblast.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,"zenodo":null}},"created_at":"2025-06-22T16:10:03.000Z","updated_at":"2025-06-22T16:35:22.000Z","dependencies_parsed_at":"2025-06-22T17:42:00.044Z","dependency_job_id":null,"html_url":"https://github.com/hitblast/mdbook-brew","commit_stats":null,"previous_names":["hitblast/mdbook-brew"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/hitblast/mdbook-brew","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hitblast%2Fmdbook-brew","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hitblast%2Fmdbook-brew/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hitblast%2Fmdbook-brew/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hitblast%2Fmdbook-brew/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hitblast","download_url":"https://codeload.github.com/hitblast/mdbook-brew/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hitblast%2Fmdbook-brew/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261595784,"owners_count":23182249,"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":["css","mdbook","mdbook-theme","mdbook-themes","rust","rust-lang"],"created_at":"2025-06-24T03:11:52.897Z","updated_at":"2025-10-25T10:39:46.473Z","avatar_url":"https://github.com/hitblast.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# mdbook-brew\n\nA Homebrew-inspired mdBook theme.\n\n## Overview\n\nmdbook-brew is a theme for the [mdBook](https://rust-lang.github.io/mdBook/) utility. It replicates the cozy, caffeinated-like atmosphere found in [Homebrew's website](https://brew.sh/).\n\n## Requirements\n\n- [mdBook](https://rust-lang.github.io/mdBook/) should be installed, and you're good.\n\n## Installation\n\n1. Create a new mdBook project with the `--theme` flag:\n\n   ```bash\n   $ mdbook init --theme\n   ```\n\n2. Navigate to the directory and in the **theme/** folder, delete everything except **index.hbs**.\n\n3. Clone this repository:\n\n   ```bash\n   $ git clone https://github.com/hitblast/mdbook-brew.git\n   ```\n\n4. Copy **src/mdbook-brew.css** from the cloned repo and paste it in the **theme/** folder.\n\n5. In your **book.toml** file, add the following line under the `[output.html]` section:\n\n   ```toml\n   [output.html]\n   theme = \"mdbook-brew\"\n   additional_css = [\"./theme/mdbook-brew.css\"]\n   ```\n\n6. Edit the **index.hbs** file and modify the theme navigation menu's contents:\n\n   ```diff\n   - \u003cli role=\"none\"\u003e\u003cbutton role=\"menuitem\" class=\"theme\" id=\"light\"\u003eLight\u003c/button\u003e\u003c/li\u003e\n   - \u003cli role=\"none\"\u003e\u003cbutton role=\"menuitem\" class=\"theme\" id=\"rust\"\u003eRust\u003c/button\u003e\u003c/li\u003e\n   - \u003cli role=\"none\"\u003e\u003cbutton role=\"menuitem\" class=\"theme\" id=\"coal\"\u003eCoal\u003c/button\u003e\u003c/li\u003e\n   - \u003cli role=\"none\"\u003e\u003cbutton role=\"menuitem\" class=\"theme\" id=\"navy\"\u003eNavy\u003c/button\u003e\u003c/li\u003e\n   - \u003cli role=\"none\"\u003e\u003cbutton role=\"menuitem\" class=\"theme\" id=\"ayu\"\u003eAyu\u003c/button\u003e\u003c/li\u003e\n   + \u003cli role=\"none\"\u003e\u003cbutton role=\"menuitem\" class=\"theme\" id=\"mdbook-brew\"\u003emdbook-brew\u003c/button\u003e\u003c/li\u003e\n   ```\n\n7. Run `mdbook serve` to preview your book locally.\n\n8. Enjoy!\n\n## Screenshots\n\n\u003e [!NOTE]\n\u003e The project showcased in the screenshots is [cutler](https://github.com/cutlerCLI/cutler).\n\n\u003cimg src=\"screenshots/1.png\"\u003e\n\u003cimg src=\"screenshots/2.png\"\u003e\n\n## License\n\nThis project is licensed under the [MIT](LICENSE) license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhitblast%2Fmdbook-brew","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhitblast%2Fmdbook-brew","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhitblast%2Fmdbook-brew/lists"}