HugoBlogStarter

BashIt — Hugo Blog Template

By Debajyati

BashIt is a Hugo theme built on WebTUI CSS with a terminal interface style, suited to personal sites and blogs, with built-in shortcodes for technical content and two comment options.

Explore the design

Compare the page layouts and mobile experience. Open any screenshot for a closer look.

3 previews
Desktop homepage1 / 3
Desktop captureTop of page

Actual screenshot captured by the server browser.

All pages & views 3

Screenshots show visual appearance; interactive behavior may differ.

Recorded 2026-09-30View source

What stands out

A quick read of the recorded project description.

01

Terminal-style interface components built on WebTUI CSS, including buttons, badges, ASCII borders, progress bars, and popovers

02

Provides terminal-style shortcodes such as webtui-box, webtui-callout, and webtui-table, with callout offering 14 notice variants

03

Integrates rich technical content such as Mermaid diagrams, Apache ECharts visualizations, KaTeX formulas, and Leaflet and Mapbox GL maps

04

Built-in YouTube privacy-enhanced player, GitHub repository cards, embed cards for multiple social platforms, and OpenGraph link cards

05

Comment system can use either a self-hosted Terminal BBS with Cloudflare Workers + D1 SQLite or Giscus powered by GitHub Discussions

06

Supports independent font configuration at global, body, and code levels, and is compatible with JetBrains Mono Nerd Font and Symbols Nerd Font

Template Details

BashIt is a terminal-interface-style theme for Hugo. The interface is composed of WebTUI CSS components and uses palettes such as Catppuccin, giving an overall look that combines a retro terminal with a modern web page. The theme is positioned as a personal site plus blog, suited to developers, system administrators, and users accustomed to command-line interfaces.

For content capabilities, the theme provides terminal-style shortcodes such as webtui-box, webtui-callout, and webtui-table, and integrates Mermaid diagrams, Apache ECharts visualizations, KaTeX formulas, Leaflet and Mapbox GL maps, tab panels, and typewriter animations. Media and social embeds include a YouTube privacy-enhanced player, GitHub repository cards, cards for X, Instagram, Peerlist, Reddit, Dev.to, and Daily.dev, as well as generic link cards based on OpenGraph scraping.

The comment system offers two optional approaches: a self-hosted Terminal BBS based on Cloudflare Workers and D1 SQLite, and Giscus based on GitHub Discussions. The theme provides independent configuration for navbar icons, global, body, and code fonts, and supports Nerd Font icons.

Usage constraints: the theme requires Hugo Extended and needs WebTUI dependencies installed via npm to complete local asset bundling; capabilities such as comments and OpenGraph scraping depend on external services and require self-deployment or configuration. The licensing of third-party assets such as demo images, fonts, and icons must be checked separately.

HugoBlogLauncher

Is it right for your project?

Use Cases

  • Building a personal site and blog with a terminal interface as the visual style
  • Writing technical articles that include flowcharts, data charts, mathematical formulas, or maps
  • Blogs that need a self-hosted comment system and want to avoid third-party tracking
  • Embedding GitHub repositories, videos, or social platform content cards in articles

Suitable For

  • Developers using Hugo who want a terminal-style theme
  • System administrators accustomed to command-line interfaces and monospace font aesthetics
  • Blog authors who need to display charts, formulas, and other technical content in articles
  • Users who want comment data to be self-controlled and can deploy Cloudflare Workers

Getting started & customization

Use these recorded setup notes alongside the repository instructions for your chosen version.

  1. 1

    The theme requires Hugo Extended and can be added to the site's themes/BashIt directory via git submodule

  2. 2

    Run npm install in the theme directory to install WebTUI local dependencies for offline asset bundling

  3. 3

    Set theme = 'BashIt' in hugo.toml, and configure color scheme, navbar icons, and font parameters as needed

  4. 4

    For comments, select cloudflare or giscus in params.comment and fill in the corresponding API address or repository information

  5. 5

    OpenGraph link cards depend on a configurable scraping service, which must be self-deployed or pointed to an available endpoint

Read repository instructions

License & source material

Usage conditions & limitations

Free to use · keep license notice

This entry covers the free version in the public repository under the MIT license; the free scope is the code of that version and does not mean external services or third-party assets are free.

Must comply with when using

  • The code of this version may be used, modified, used commercially, and distributed free of charge.
  • When distributing copies or substantial portions of the code, retain the original author's copyright notice and the complete MIT license notice.
  • The code is provided as is; warranties and limitations of liability are governed by the original license and applicable law.

Additional costs & items to verify

  • If the Terminal BBS option is chosen for comments, you must deploy the Cloudflare Workers and D1 SQLite service yourself and configure the corresponding API address; this is an external service dependency.
  • OpenGraph link cards depend on a configurable scraping service, which must be self-deployed or pointed to an available endpoint; this is an external service dependency.
  • You must run npm install in the theme directory to install WebTUI local dependencies before offline asset bundling can be completed.
  • The theme requires the Hugo Extended version; the regular Hugo version may not build it correctly.
  • Demo images, fonts, icons, and other third-party assets must be checked against their respective licenses and cannot be judged solely by the code's MIT license.
  • External services such as domains, hosting, databases, payments, or AI may incur separate charges.
View Original Text Basis

Permission is hereby granted, free of charge

Original License Text

Self-hosted serverless bulletin board system backed by **Cloudflare Workers + D1 SQLite**

Original README

OpenGraph Link Preview Scraper API (Optional)

Original README

install the local WebTUI dependencies for offline asset bundling

Original README

Hugo Extended

Original README
https://github.com/Debajyati/BashIt/blob/main/LICENSEhttps://github.com/Debajyati/BashIt/blob/main/README.md

Compiled by DeepSeek based on repository license and README ·2026-10-01. Results only cover the materials read; dependencies, images, fonts, and subsequent term changes are subject to their respective original texts.

Project checks & description sources

Template Information

Source platforms
GitHub
Documentation and maintenance reference score
More documented · 88 / 100
Technologies
Hugo
Website type
Blog · Starter
How this score is calculated

Our heuristic uses license records (up to 30), a demo link (12), a preview (10), stars (15), recorded maintenance (15), description completeness (8), feature records (5) and classification data (5). It is not a code, security or performance test, or a Google score. A link does not establish tested functionality.

What to verify for this project

Repository update recorded
2026-09-20
Screenshot last checked
2026-10-01

A demo link is listed. Check it with your own content and viewport sizes; its presence does not confirm that forms, authentication or payments work.

The catalog identifies Hugo as the primary stack. Check the actual dependency manifest and lockfile for versions and hosting requirements. These notes use recorded metadata, not a code audit or a deployment test.

Use a selection guide →

How this description was prepared

AI-assisted description based on catalog records and repository material. Repository authors are not automatically the reviewers of this description.

Automatically checked against source and license rules; no manual editorial review.

Inspect the recorded source material

SHA-256: f7396e9b5015ac14e1920a4f3a78013a29572c0cd3d21472f2002445b26aff4c

2026-10-01T15:14:44.877Z

Source file / repository
# BashIt 📟

[![Hugo Extended](https://img.shields.io/badge/Hugo%20Extended-%3E%3D0.146.0-blue?style=flat-square&logo=hugo)](https://gohugo.io/)
[![WebTUI CSS](https://img.shields.io/badge/CSS-WebTUI-teal?style=flat-square)](https://github.com/webtui/webtui)
[![Theme](https://img.shields.io/badge/Palette-Catppuccin%20Mocha-mauve?style=flat-square)](https://github.com/catppuccin/catppuccin)
[![Icons](https://img.shields.io/badge/Icons-Symbols%20Nerd%20Font-peach?style=flat-square)](https://www.nerdfonts.com/)
[![License: MIT](https://img.shields.io/badge/License-MIT-green?style=flat-square)](LICENSE)
[![Zero Trackers](https://img.shields.io/badge/Privacy-0%20Tracking%20%E2%80%A2%200%20Ads-brightgreen?style=flat-square)]()

A distraction-free, lightning-fast retro-modern terminal UI theme for [Hugo](https://gohugo.io/), built entirely on the [WebTUI CSS framework](https://github.com/webtui/webtui).

Designed for developers, sysadmins, and command-line enthusiasts who appreciate authentic monospace aesthetics, keyboard-centric minimalism, and modern web performance.

---

## ✨ Features

- **Pure WebTUI CSS Components**: Buttons, badges, ASCII box borders, progress meters, and popovers built with native CSS layers (`@layer base, utils, components`) — zero heavy JS or CSS runtimes.
- **3-Tier Typography Engine**: Independent customization for global UI font, prose/paragraph font, and code block font with built-in **JetBrains Mono Nerd Font** & **Symbols Nerd Font** support.
- **Dual-Mode Unified Comments**:
  - **Terminal BBS**: Self-hosted serverless bulletin board system backed by **Cloudflare Workers + D1 SQLite**, featuring zero trackers, zero ads, and honeypot spam defense.
  - **Giscus**: GitHub Discussions-powered discussions with Catppuccin dark mode styling.
- **Privacy-First Media & Social Embeds**:
  - **YouTube CRT Player**: Monospace video terminal with privacy-enhanced mode (`youtube-nocookie.com`).
  - **Social Cards**: Official dark widgets and clean cards for **X (Twitter)**, **Instagram**, **Peerlist**, **Reddit**, **Dev.to**, **Daily.dev**, and **GitHub** repository cards.
  - **Universal OpenGraph Linkcards**: Auto-scrapes metadata at build time via configurable OpenGraph microservices.
- **Rich Technical Shortcodes**:
  - 14 distinct Admonition callouts (Note, Tip, Warning, Danger, Terminal, Git, etc.).
  - Interactive Mermaid.js diagrams & Apache ECharts data visualizations (lazy-loaded).
  - Dark theme Leaflet & Mapbox GL geographic maps.
  - KaTeX mathematical formula rendering.
  - Interactive Tabbed panels and Typewriter text animation (`typeit`).
  - WebTUI styled tables with flexible delimiters (`;;`, `\n`, `|`) and Markdown cell rendering.
- **Blazing Fast**: Compiles 60+ pages in under 55ms via Hugo Pipes asset bundling.

---

## 🚀 Installation

You can add this repo as a submodule of your Hugo site directory:

```bash
git submodule add https://github.com/Debajyati/BashIt.git themes/BashIt
```

And later you can update the submodule in your site directory to the latest commit using this command:

```bash
git submodule update --remote --merge
```

Next, install the local WebTUI dependencies for offline asset bundling:

```bash
cd themes/BashIt
npm install
```

---

## ⚙️ Quickstart Configuration

Add `BashIt` to your site's `hugo.toml`:

```toml
baseURL = 'https://yoursite.org/'
title = 'My Terminal Blog'
theme = 'BashIt'

[params]
  webtuiTheme = 'catppuccin' # Options: catppuccin, gruvbox, nord, everforest

# Brand Icon / Logo in Navbar (Vim glyph by default)
[params.navbar]
  icon = "󰞷"             # Nerd font glyph, Unicode emoji ("⚡"), or path to SVG/PNG logo
  # disableIcon = true    # Set to true for text-only navbar

# Typography Customization
[params.font]
  # global = "JetBrainsMono Nerd Font"
  # paragraph = "JetBrainsMono Nerd Font"
  # code = "JetBrainsMono Nerd Font"

# Comments Configuration
[params.comment]
  enable = true
  provider = "cloudflare" # "cloudflare" (Terminal BBS) | "giscus" | "disabled"

  [params.comment.cloudflare]
    api = "https://bashit-comments.<your-subdomain>.workers.dev"
    mockMode = false      # Set to true for offline local testing via localStorage

  [params.comment.giscus]
    repo = "username/repo"
    repoId = "R_kgD..."
    category = "Announcements"
    categoryId = "DIC_kwD..."
    mapping = "pathname"
    theme = "catppuccin_mocha"

# OpenGraph Link Preview Scraper API (Optional)
[params.opengraph]
  scraperApi = "https://xogapi.ddebajyati.workers.dev"
```

---

## 🧩 Shortcode Overview

| Shortcode | Purpose | Example Syntax |
|---|---|---|
| `{{< webtui-box >}}` | Terminal ASCII border box | `{{< webtui-box style="square" >}}Content{{< /webtui-box >}}` |
| `{{< webtui-callout >}}` | Admonition box (14 variants) | `{{< webtui-callout variant="tip" title="Pro Tip" >}}Text{{< /webtui-callout >}}` |
| `{{< webtui-table >}}` | WebTUI table with divider lines | `{{< webtui-table headers="A \| B" rows="1 \| 2 ;; 3 \| 4" divide="both" >}}` |
| `{{< youtube >}}` | CRT TV YouTube player | `{{< youtube "dQw4w9WgXcQ" >}}` |
| `{{< github >}}` | GitHub repo card with live stats | `{{< github "Debajyati/BashIt" >}}` |
| `{{< peerlist >}}` | Peerlist embed with auto-resize | `{{< peerlist "ACTHOK8A7BG66JBGR17ALNR98QPL7Q" >}}` |
| `{{< dailydev >}}` | Daily.dev curated article card | `{{< dailydev "https://dly.to/g9vaRB1agcs" >}}` |
| `{{< linkcard >}}` | OpenGraph link card | `{{< linkcard "https://gohugo.io" >}}` |
| `{{< mermaid >}}` | Mermaid flowchart / sequence | `{{< mermaid >}}graph LR; A-->B;{{< /mermaid >}}` |
| `{{< echarts >}}` | Apache ECharts visualization | `{{< echarts >}}{"series":[...]}{{< /echarts >}}` |
| `{{< math >}}` | KaTeX math equation block | `{{< math >}}\int_{-\infty}^{\infty} e^{-x^2} dx = \sqrt{\pi}{{< /math >}}` |

---

## 🛠️ Development & Contributing

To run tests or preview the theme locally:

```bash
# 1. Clone the theme repository
git clone https://github.com/Debajyati/BashIt.git
cd BashIt

# 2. Install dependencies
npm install

# 3. Test build
hugo --source .
```

Pull requests and issues are welcome! Feel free to report bugs, suggest new shortcodes, or submit styling improvements.

---

## 📄 License

This theme is open-source software licensed under the [MIT License](LICENSE).
Built on top of the open-source [WebTUI CSS framework](https://github.com/webtui/webtui) and [Catppuccin](https://github.com/catppuccin/catppuccin) color palettes.
Report a correction

Explore similar templates

Compare previews and descriptions within the same stack and category.