Welcome to Termblog
Welcome to Termblog!
You’re reading this post in a terminal. How cool is that?
What is Termblog?
Termblog is a self-hosted blog platform that lets readers browse and read your posts directly from their terminal using SSH, or through a web-based terminal interface.
Features
- SSH Access: Connect via
ssh blog.example.com -p 2222 - Web Terminal: Access through your browser with xterm.js
- Vim-style Navigation: Use
j/kto move,enterto select - Markdown Rendering: Beautiful terminal-rendered markdown
- RSS Feed: Subscribe at
/feed.xml
Navigation
Here are the key bindings you can use:
| Key | Action |
|---|---|
j/โ |
Move down |
k/โ |
Move up |
enter |
Select/Open |
esc/h |
Go back |
/ |
Search |
? |
Help |
q |
Quit |
Creating Posts
Create new posts using the CLI:
termblog new "My New Post"
This creates a markdown file in content/posts/ with frontmatter. Edit the file and set draft: false to publish.
Code Example
Here’s some syntax-highlighted code:
package main
import "fmt"
func main() {
fmt.Println("Hello from Termblog!")
}
What’s Next?
- Explore the interface
- Create your first post
- Customize your theme
- Share your blog URL with the world!
Happy blogging! ๐ฅ๏ธ