Instead of deploying this extension to Roam Depot, we plan to merge this extension into SamePage as part of its publishing offering.
Deploying your Roam graph as a public website!
Roam is a powerful CMS (content management system), not just for personal knowledge management but for public information as well. There are a couple of problems though with using Roam itself as the public-facing display of that information:
Hosting websites for the user is a premium feature of this extension. It will cost $12 per website per month to deploy your website to RoamJS. While we only currently support maximum 1 website per user, this allows us to support multiple websites per user in the future and allows users to subscribe for free to help with other users' websites. You can subscribe directly within Roam by heading to the roam/js/static-site
page. Upon installing this extension, you should be redirected there automatically.
Enter the domain that you would like your website to be reachable at. You must already own the domain from another registrar. If instead of a custom domain, you would like to use a RoamJS subdomain, hit the toggle at the top to switch from custom domain to RoamJS subdomain. You may transfer the website to your own custom domain later at any time.
The index field specifies which page in your graph will map to your home page. If you choose a page that doesn't already exist, it will be created for you with some block text so that it doesn't get cleaned up by Roam. Your index page will be included in your website no matter how you specify your filters.
Filters determine which subset of your graph will be included as pages in your public website. By default, only your index page will be deployed. However, the extension supports four types of filters to help specify which other pages in your graph are included:
TAGGED WITH
- All pages that reference a given tag will be included. The default value uses the #Website
tagSTARTS WITH
- All pages that have a given prefix will be included. Useful for pages with namespaces.DAILY
- Include all of the daily note pages in your graph, each with its own webpage.ALL
- Includes all of the pages in your graph, each with its own webpageOnce you have configured the required fields above, you will be able to launch your RoamJS website!
The dashboard will display the progress of the launch as the backend resources are being set up. At some point, it will require validation on the user's end in order to continue. It will display these directions in blue text depending on the domain you opted to take. These directions will also be emailed to you in case you navigated away from Roam.
CNAME
and should have the name + value displayed on the dashboard.The validation step should take 5-10 minutes to propagate those changes globally and validate that you are the proper owner of the domain. Once you see the blue text disappear and the "CREATING NETWORK" step appear, then you'll know that validation was successful.
When the launch process finishes, the progress bar will disappear and a green Live
text will appear on the dashboard. If you chose a subdomain of a custom domain you own, you will need to add one more CNAME record to your domain settings, the details of which will have been sent to you over email. Otherwise, your site will already be ready to go.
Click the green Live link on your dashboard to view your new RoamJS-powered website!
There are all sorts of ways you could customize your website. Dive into any of the pages below to explore!