Skip to content
This repository has been archived by the owner on Oct 12, 2023. It is now read-only.

Custom domain for public Notion pages

License

Notifications You must be signed in to change notification settings

aidistan-archives/notion-custom-domain

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Notion Custom Domain

This repo was archived since the original failed.

A rework of hosso/notion-custom-domain.

What's different?

This repo is a self-hosted version while the origin is a serverless version aiming at serving on Vercel.

How to use it?

  1. Clone the repo
  2. Build the image
  3. Run with proper parameters

Here is an example docker-compose.yaml file:

version: "3.9"

services:
  notion:
    build: ./
    image: notion
    restart: always
    ports:
        - 3000:3000
    environment:
        START_PAGE_URL: https://fluorescent-trawler-4fe.notion.site/Notion-Custom-Domain-2a8cdabb8ab440579ca40950d79a04b5
        GA_TRACKING_ID:

Real example

flowchart
  origin(https://fluorescent-trawler-4fe.notion.site/Notion-Custom-Domain-2a8cdabb8ab440579ca40950d79a04b5)
  target(https://notion-custom-domain.hosso.co)

  origin --> target

  click origin href "https://fluorescent-trawler-4fe.notion.site/Notion-Custom-Domain-2a8cdabb8ab440579ca40950d79a04b5"
  click target href "https://notion-custom-domain.hosso.co"

Notion Custom Domain