Caveman-level simple, Markdown-to-HTML static site tooling with minimal configuration.
Inspired by motherfuckingwebsite.com, uses Go Template and HTML under the hood.
- Easy to setup, customize, and deploy quickly.
- No bloated dependencies/framework code.
- Minification for HTML, CSS, JS, SVG, JSON, and XML
- Supports syntax highlighting WITHOUT JavaScript with customizable CSS.
- Supports embedding YouTube, Twitter, and Bilibili videos out of the box.
- Live reload server for local development.
- Various starter template to get going immediately
- You want to focus on creating your site instead of learning the tool.
- You want to build websites with Markdown and custom HTML/CSS.
- You prefer a simple setup without unnecessary installations.
- Minimal Config: rawdog-md is designed to be used with minimal configuration. Choose a starter template and immediately start writing your posts in markdown.
- Opiniated: This tool is not meant to be a general purpose static site generator. It is meant to be used for a very specific use case, which is a static site with a few simple templated pages. If you want something more general purpose and more advanced, check out Hugo or Jekyll.
- Bring your own styling: rawdog-md provides the minimal styling. However, it is very easy to adjust as it is just a plain CSS and HTML file.
- Cross platform: You can use it on Windows, Linux and MacOS.
rawdog-md is available on Windows, Linux and MacOS. You can install it via package managers, manually, or build it from source.
Install via PowerShell (Click to expand)
- Open PowerShell as Administrator
- Run this command
Set-ExecutionPolicy RemoteSigned -Scope CurrentUser iex (irm https://raw.githubusercontent.com/dwiandhikaap/rawdog-md/main/.installer/powershell/install.ps1)
- Done! You can now use it as
rawd
command in your terminal.
Install via Scoop
- Install Scoop
- Install rawdog-md
scoop install https://raw.githubusercontent.com/dwiandhikaap/rawdog-md/main/.installer/scoop/rawdog-md.json
- Done! You can now use it as
rawd
command in your terminal.
How to uninstall:
scoop uninstall rawdog-md
Install manually
- Go to the latest release page
- Download the one with
rawd-{version}-windows-amd64.zip
filename - Extract the zip file anywhere you like
- Add the extracted folder to your PATH. If you don't know how, check out this guide
- Done! You can now use it as
rawd
command in your terminal.
Install via Bash (Click to expand)
- Run this command in your terminal
curl -fsSL https://raw.githubusercontent.com/dwiandhikaap/rawdog-md/main/.installer/bash/install.sh | bash
- Done! You can now use it as
rawd
command in your terminal.
Install manually
- Go to the latest release page
- Copy the URL of the one with
rawd-{version}-linux-{architecture}.tar.gz
filename - Run this command in your terminal
wget {copied-url} -O rawd.tar.gz tar -xvf rawd.tar.gz sudo mv rawd /usr/local/bin rm rawd.tar.gz
- Done! You can now use it as
rawd
command in your terminal.
Install via Bash (Click to expand)
- Run this command in your terminal
curl -fsSL https://raw.githubusercontent.com/dwiandhikaap/rawdog-md/main/.installer/bash/install.sh | bash
- Done! You can now use it as
rawd
command in your terminal.
Install manually
- Go to the latest release page
- Copy the URL of the one with
rawd-{version}-darwin-{architecture}.tar.gz
filename - Run this command in your terminal
wget {copied-url} -O rawd.tar.gz tar -xvf rawd.tar.gz sudo mv rawd /usr/local/bin rm rawd.tar.gz
- Done! You can now use it as
rawd
command in your terminal.
Build using Go (Click to expand)
-
Create a new project and choose a preset template
rawd init
It will ask you for the project name and the template you want to use.
-
Then, go to the project directory
cd <your-project-name>
-
Start the development server
rawd watch
-
Open your browser and go to
http://localhost:3000
-
To create a new post, create a new file in the
pages
directory. You can use Markdown, Go Template, or HTML. -
To edit the template, go to the
template
directory. -
Each time you save your changes, the server will rebuild the site and refresh the browser.
-
When you're done, build the site
rawd build
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.