ivy.direct • @ivynya Document
document
Use Notion to publish a document to the web with custom URL and branding, or render embedded documents on other sites.
⚠️ Uses unofficial notion-to-md and @notionhq/client packages to allow for Deno Deploy. Will be removed once Deploy supports NPM.
Deploying
- Create a Notion integration from the developers console
- Paste token into
.env
file with format in.env.example
docker build -t doc-direct .
docker run -p 8000:8000 -d doc-direct
- Open
localhost:8000
to verify functionality - Use an NGINX reverse proxy / etc to deploy on web with your URL
On Deno Deploy, you can fork this repository and just set automatic deployments from the main branch.
Publishing a Notion page
- Add your Notion integration to a root page
- Create a page inside of the root page
- Copy the link of your new page that looks like this:
https://www.notion.so/ivynya/Hello-05cc30bbbd844528b1558d80e3041a5c
- Navigate to
localhost:8000/p/05cc30bbbd844528b1558d80e3041a5c
to view that page
Embedding Documents on Other Sites
- Include
<link rel="stylesheet" href="localhost:8000/doc.css" />
(or the domain you have document hosted on) - Get the markdown of your page from
localhost:8000/d/05cc30bbbd844528b1558d80e3041a5c
(/d/ instead of /p/) - Place the markdown in a container element with id
id="ivydoc"
Add additional styling on top per-site as you see fit, or edit /content/doc.css
to change the styling of both document and all sites that use your document instance's styling.
Editing branding
Edit the content/index.html
or content/doc.css
files with whatever you desire, then redeploy.
Notable OSS
Deno Oak Notion to MD Notion Client
MURA
Mobile-friendly meeting scheduling tool for many participants.
AURA
Query a self-hosted LLM over the internet with illm
illm
Access your LLM from the internet
Overview
2022 - 2023Branded public documents as a Notion integration.
No License
MURA
Mobile-friendly meeting scheduling tool for many participants.
AURA
Query a self-hosted LLM over the internet with illm
illm
Access your LLM from the internet