{"id":21832602,"url":"https://github.com/ivynya/document","last_synced_at":"2026-04-15T10:37:41.341Z","repository":{"id":105715369,"uuid":"460303427","full_name":"ivynya/document","owner":"ivynya","description":"Custom-branded documents published using Notion.","archived":false,"fork":false,"pushed_at":"2023-08-15T23:33:49.000Z","size":43,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-26T09:24:18.332Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"cc0-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ivynya.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-02-17T06:06:20.000Z","updated_at":"2023-07-08T18:26:50.000Z","dependencies_parsed_at":"2025-01-26T09:33:32.720Z","dependency_job_id":null,"html_url":"https://github.com/ivynya/document","commit_stats":null,"previous_names":["ivynya/document"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ivynya%2Fdocument","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ivynya%2Fdocument/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ivynya%2Fdocument/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ivynya%2Fdocument/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ivynya","download_url":"https://codeload.github.com/ivynya/document/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244806340,"owners_count":20513426,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-27T19:21:37.710Z","updated_at":"2026-04-15T10:37:36.310Z","avatar_url":"https://github.com/ivynya.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# document\n\nUse Notion to publish a document to the web with custom URL and branding, or render embedded documents on other sites.\n\n\u003e ⚠️ Uses unofficial notion-to-md and @notionhq/client packages to allow for Deno Deploy. Will be removed once Deploy supports NPM. \n\n## Deploying\n\n1. Create a Notion integration from the developers console\n2. Paste token into `.env` file with format in `.env.example`\n3. `docker build -t doc-direct .`\n4. `docker run -p 8000:8000 -d doc-direct`\n5. Open `localhost:8000` to verify functionality\n6. Use an NGINX reverse proxy / etc to deploy on web with your URL\n\nOn Deno Deploy, you can fork this repository and just set automatic deployments from the main branch.\n\n## Publishing a Notion page\n\n1. Add your Notion integration to a root page\n2. Create a page inside of the root page\n3. Copy the link of your new page that looks like this: `https://www.notion.so/ivynya/Hello-05cc30bbbd844528b1558d80e3041a5c`\n4. Navigate to `localhost:8000/p/05cc30bbbd844528b1558d80e3041a5c` to view that page\n\n## Embedding Documents on Other Sites\n\n1. Include `\u003clink rel=\"stylesheet\" href=\"localhost:8000/doc.css\" /\u003e` (or the domain you have document hosted on)\n2. Get the markdown of your page from `localhost:8000/d/05cc30bbbd844528b1558d80e3041a5c` (/d/ instead of /p/)\n3. Place the markdown in a container element with id `id=\"ivydoc\"`\n\nAdd 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.\n\n## Editing branding\n\nEdit the `content/index.html` or `content/doc.css` files with whatever you desire, then redeploy.\n\n## Notable OSS\n\nDeno Oak\nNotion to MD\nNotion Client\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fivynya%2Fdocument","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fivynya%2Fdocument","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fivynya%2Fdocument/lists"}