Multi-domains
You can attach domains and subdomains to your site and control which notes appear where. The mechanism is a route property in the note's frontmatter.
Say you have a portfolio, a blog, and a landing page for a client. Without custom domains everything lives on one address and looks like folders of a single site. With routes, each project gets its own domain — and you manage all of them from one place.
How trip2g works
Your Obsidian vault becomes a website the moment you sync. That is the core of what trip2g does. Everything else — Telegram publishing, monetization, AI assistant, federation — is the same system running in a wider context.
This page explains the full end-to-end picture: what happens to a note from the moment you write it to the moment a reader or AI agent reads it.
Getting started
Your Obsidian vault becomes a website in under a minute. Write in Obsidian, sync, and notes are live — with Telegram publishing, monetization, and an AI assistant built in. Try the demo or see how people use it.
Use cases
Five ways people use trip2g to publish from Obsidian.
Telegram publishing
Write posts in Obsidian, publish to your Telegram channel on a schedule or instantly.
14 KB page size
The full styled HTML of a trip2g page gzips to ~11.7 KB — inside the TCP initial congestion window of ~14 KB. The browser receives the complete, styled page in a single round-trip.
Monetization
Restrict notes to paying subscribers by leaving free: true off.
Two-Way Sync
By default the plugin syncs one way: you write in Obsidian, changes go to the server. The server never modifies your files.
Two-way sync sends changes in both directions. If a file is updated on the server, the plugin downloads it to your vault automatically.
One HTML page
Sometimes a page needs to be pure HTML — a product landing, a custom homepage, or a demo. In trip2g, this is done through layouts: all HTML lives in a template file, and the note just points to it.
Note: raw HTML in a note body does not work. goldmark (the markdown engine) strips block-level HTML and replaces it with
<!-- raw HTML omitted -->. Put HTML only in the layout file.
Hosting
Three ways to get a running trip2g instance.
Templates
Templates control how your notes look — sidebar, header, footer, and layout.
A template is an HTML file stored in _layouts/. It receives the note's content and frontmatter, then produces a complete page. Your markdown stays clean; the template decides how it's presented.
Webhooks
Webhooks let trip2g notify external services when notes change, or trigger actions on a schedule.
Two types are available: change webhooks fire when a note is created, updated, or deleted; cron webhooks fire on a schedule you define.
Publishing notes
Properties in your note's frontmatter control how it appears on your site.