{"id":23439719,"url":"https://github.com/sanidhyy/notion-clone","last_synced_at":"2026-04-09T17:07:38.994Z","repository":{"id":216475302,"uuid":"740001852","full_name":"sanidhyy/notion-clone","owner":"sanidhyy","description":"Jotion - The connected workspace where better, faster work happens.","archived":false,"fork":false,"pushed_at":"2024-12-19T14:56:23.000Z","size":2605,"stargazers_count":17,"open_issues_count":0,"forks_count":4,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-09T19:57:56.780Z","etag":null,"topics":["api","authentication","blocknote","clerk","convex","edgestore","next","nextjs","note-app","note-taking","notion","notion-clone","react","realtime","realtime-database","vercel"],"latest_commit_sha":null,"homepage":"https://app-jotion.vercel.app/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sanidhyy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null},"funding":{"github":["sanidhyy"],"patreon":"sanidhy","custom":"https://www.buymeacoffee.com/sanidhy"}},"created_at":"2024-01-07T07:55:17.000Z","updated_at":"2025-03-14T17:50:10.000Z","dependencies_parsed_at":"2024-01-10T12:43:35.488Z","dependency_job_id":"b44ae9ab-0070-46e5-b9a8-b3ba3191b246","html_url":"https://github.com/sanidhyy/notion-clone","commit_stats":null,"previous_names":["sanidhyy/notion-clone"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sanidhyy%2Fnotion-clone","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sanidhyy%2Fnotion-clone/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sanidhyy%2Fnotion-clone/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sanidhyy%2Fnotion-clone/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sanidhyy","download_url":"https://codeload.github.com/sanidhyy/notion-clone/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248103910,"owners_count":21048245,"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":["api","authentication","blocknote","clerk","convex","edgestore","next","nextjs","note-app","note-taking","notion","notion-clone","react","realtime","realtime-database","vercel"],"created_at":"2024-12-23T15:33:32.362Z","updated_at":"2026-04-09T17:07:38.984Z","avatar_url":"https://github.com/sanidhyy.png","language":"TypeScript","funding_links":["https://github.com/sponsors/sanidhyy","https://patreon.com/sanidhy","https://www.buymeacoffee.com/sanidhy"],"categories":[],"sub_categories":[],"readme":"\u003ca name=\"readme-top\"\u003e\u003c/a\u003e\n\n# Jotion - The connected workspace where better, faster work happens.\n\n![Jotion - The connected workspace where better, faster work happens.](/.github/images/img_main.png \"Jotion - The connected workspace where better, faster work happens.\")\n\n[![Ask Me Anything!](https://flat.badgen.net/static/Ask%20me/anything?icon=github\u0026color=black\u0026scale=1.01)](https://github.com/sanidhyy \"Ask Me Anything!\")\n[![GitHub license](https://flat.badgen.net/github/license/sanidhyy/notion-clone?icon=github\u0026color=black\u0026scale=1.01)](https://github.com/sanidhyy/notion-clone/blob/main/LICENSE \"GitHub license\")\n[![Maintenance](https://flat.badgen.net/static/Maintained/yes?icon=github\u0026color=black\u0026scale=1.01)](https://github.com/sanidhyy/notion-clone/commits/main \"Maintenance\")\n[![GitHub branches](https://flat.badgen.net/github/branches/sanidhyy/notion-clone?icon=github\u0026color=black\u0026scale=1.01)](https://github.com/sanidhyy/notion-clone/branches \"GitHub branches\")\n[![Github commits](https://flat.badgen.net/github/commits/sanidhyy/notion-clone?icon=github\u0026color=black\u0026scale=1.01)](https://github.com/sanidhyy/notion-clone/commits \"Github commits\")\n[![GitHub issues](https://flat.badgen.net/github/issues/sanidhyy/notion-clone?icon=github\u0026color=black\u0026scale=1.01)](https://github.com/sanidhyy/notion-clone/issues \"GitHub issues\")\n[![GitHub pull requests](https://flat.badgen.net/github/prs/sanidhyy/notion-clone?icon=github\u0026color=black\u0026scale=1.01)](https://github.com/sanidhyy/notion-clone/pulls \"GitHub pull requests\")\n[![Vercel status](https://img.shields.io/badge/Vercel-000000?style=for-the-badge\u0026logo=vercel\u0026logoColor=white)](https://app-jotion.vercel.app/ \"Vercel status\")\n\n\u003c!-- Table of Contents --\u003e\n\u003cdetails\u003e\n\n\u003csummary\u003e\n\n# :notebook_with_decorative_cover: Table of Contents\n\n\u003c/summary\u003e\n\n- [Folder Structure](#bangbang-folder-structure)\n- [Getting Started](#toolbox-getting-started)\n- [Screenshots](#camera-screenshots)\n- [Tech Stack](#gear-tech-stack)\n- [Stats](#wrench-stats)\n- [Contribute](#raised_hands-contribute)\n- [Acknowledgements](#gem-acknowledgements)\n- [Buy Me a Coffee](#coffee-buy-me-a-coffee)\n- [Follow Me](#rocket-follow-me)\n- [Learn More](#books-learn-more)\n- [Deploy on Vercel](#page_with_curl-deploy-on-vercel)\n- [Give A Star](#star-give-a-star)\n- [Star History](#star2-star-history)\n- [Give A Star](#star-give-a-star)\n\n\u003c/details\u003e\n\n## :bangbang: Folder Structure\n\nHere is the folder structure of this app.\n\n\u003c!--- FOLDER_STRUCTURE_START ---\u003e\n```bash\nnotion-clone/\n  |- app/\n    |-- (main)/\n    |-- (marketing)/\n    |-- (public)/\n    |-- api/\n    |-- error.tsx\n    |-- globals.css\n    |-- layout.tsx\n    |-- not-found.tsx\n  |- components/\n    |-- modals/\n    |-- providers/\n    |-- ui/\n    |-- cover.tsx\n    |-- editor.tsx\n    |-- icon-picker.tsx\n    |-- mode-toggle.tsx\n    |-- search-command.tsx\n    |-- single-image-dropzone.tsx\n    |-- spinner.tsx\n    |-- toolbar.tsx\n  |- config/\n    |-- index.ts\n  |- convex/\n    |-- _generated/\n    |-- .env.example\n    |-- auth.config.js\n    |-- documents.ts\n    |-- environment.d.ts\n    |-- schema.ts\n    |-- tsconfig.json\n  |- hooks/\n    |-- use-cover-image.tsx\n    |-- use-origin.tsx\n    |-- use-scroll-top.tsx\n    |-- use-search.tsx\n    |-- use-settings.tsx\n  |- lib/\n    |-- edgestore.ts\n    |-- utils.ts\n  |- public/\n  |- .env.example\n  |- .env/.env.local\n  |- .eslintrc.json\n  |- .gitignore\n  |- bun.lock\n  |- components.json\n  |- environment.d.ts\n  |- next.config.js\n  |- package.json\n  |- postcss.config.js\n  |- tailwind.config.ts\n  |- tsconfig.json\n  |- vercel.ts\n```\n\u003c!--- FOLDER_STRUCTURE_END ---\u003e\n\n\u003cbr /\u003e\n\n## :toolbox: Getting Started\n\n1. Make sure **Git** and **NodeJS** is installed.\n2. Clone this repository to your local computer.\n3. Create `.env.local` file in **root** and **convex** directory.\n4. Contents of `.env.local`:\n\n```env\n# .env.local\n\n# disabled next.js telemetry\nNEXT_TELEMETRY_DISABLED=1\n\n# deployment used by `npx convex dev`\nCONVEX_DEPLOYMENT=dev:\u003cdeployment-name\u003e # team: \u003cteam-name\u003e, project: \u003cproject-name\u003e\n\n# convex public url\nNEXT_PUBLIC_CONVEX_URL=\"\u003cyour-convex-url\u003e\"\n\n# clerk auth keys\nNEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=pk_test_XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX\nCLERK_SECRET_KEY=sk_test_XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX\n\n# edge store keys\nEDGE_STORE_ACCESS_KEY=XXXXXXXXXXXXXXXXXXXXXXXXXXXXX\nEDGE_STORE_SECRET_KEY=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX\n```\n\n5. Contents of `convex/.env.local`:\n\n```env\n# convex/.env.local\n\n# clerk issuer url (go to your clerk dashboard \u003e JWT Templates \u003e New template \u003e Convex \u003e Save and copy your Issuer URL)\nCLERK_ISSUER_URL=\u003cyour-clerk-issuer-url\u003e\n```\n\n6. Convex Deployment\n\n- Visit the Convex website: [https://convex.dev](https://convex.dev)\n- Log in to your Convex account or sign up if you don't have one.\n- Once logged in, navigate to the \"Deployments\" section.\n- Create a new deployment or select an existing one.\n- Replace `\u003cdeployment-name\u003e`, `\u003cteam-name\u003e`, and `\u003cproject-name\u003e` in the `.env.local` file with your Convex deployment details.\n- In the Convex dashboard, find the public URL associated with your deployment.\n- Replace `\u003cyour-convex-url\u003e` in the `.env.local` file with your Convex public URL.\n\n7. Clerk Authentication Keys\n\n- Visit the Clerk dashboard: [https://clerk.dev](https://clerk.dev)\n- Log in to your Clerk account or sign up if you don't have one.\n- Go to the \"Projects\" section and select your project.\n- Navigate to the \"API Keys\" tab.\n- Copy the \"Publishable Key\" and replace `\u003cyour-clerk-publishable-key\u003e` in the `.env.local` file with the copied key.\n- Copy the \"Secret Key\" and replace `\u003cyour-clerk-secret-key\u003e` in the `.env.local` file with the copied key.\n- Go to your Clerk dashboard \u003e JWT Templates \u003e New template \u003e Convex \u003e Save and copy your Issuer URL.\n- Replace `\u003cyour-clerk-issuer-url\u003e` with the url that you copied.\n- Also, go to Convex dashboard \u003e Settings \u003e Environment Variables \u003e Add `CLERK_ISSUER_URL` variable with value that you copied.\n\n8. Edge Store Keys\n\n- If you are using an Edge Store service, navigate to the respective dashboard or service provider.\n- Obtain the \"Access Key\" and \"Secret Key\" for your Edge Store.\n- Replace `\u003cyour-edge-store-access-key\u003e` and `\u003cyour-edge-store-secret-key\u003e` in the `.env.local` file with your Edge Store keys.\n\n9. Open terminal in root directory. Run `npm install --legacy-peer-deps` or `yarn install --legacy-peer-deps`.\n\n10. Now app is fully configured 👍 and you can start using this app using either one of `npm run dev` or `yarn dev` in one tab and `npx convex dev` in another tab.\n\n**NOTE:** Please make sure to keep your API keys and configuration values secure and do not expose them publicly.\n\n## :camera: Screenshots:\n\n![Modern UI/UX](/.github/images/img1.png \"Modern UI/UX\")\n\n![Create new pages](/.github/images/img2.png \"Create new pages\")\n\n![Notion-styled editor](/.github/images/img3.png \"Notion-styled editor\")\n\n![Search pages](/.github/images/img4.png \"Search pages\")\n\n## :gear: Tech Stack\n\n[![React JS](https://skillicons.dev/icons?i=react \"React JS\")](https://react.dev/ \"React JS\") [![Next JS](https://skillicons.dev/icons?i=next \"Next JS\")](https://nextjs.org/ \"Next JS\") [![Typescript](https://skillicons.dev/icons?i=ts \"Typescript\")](https://www.typescriptlang.org/ \"Typescript\") [![Tailwind CSS](https://skillicons.dev/icons?i=tailwind \"Tailwind CSS\")](https://tailwindcss.com/ \"Tailwind CSS\") [![Vercel](https://skillicons.dev/icons?i=vercel \"Vercel\")](https://vercel.app/ \"Vercel\") [![Prisma](https://skillicons.dev/icons?i=prisma \"Prisma\")](https://prisma.io/ \"Prisma\")\n\n## :wrench: Stats\n\n[![Stats for Jotion](/.github/images/stats.svg \"Stats for Jotion\")](https://pagespeed.web.dev/analysis?url=https://app-jotion.vercel.app \"Stats for Jotion\")\n\n## :raised_hands: Contribute\n\nYou might encounter some bugs while using this app. You are more than welcome to contribute. Just submit changes via pull request and I will review them before merging. Make sure you follow community guidelines.\n\n## :gem: Acknowledgements\n\nUseful resources and dependencies that are used in Jotion.\n\n- Thanks to CodeWithAntonio: https://codewithantonio.com/\n\u003c!--- DEPENDENCIES_START ---\u003e\n- [@blocknote/core](https://www.npmjs.com/package/@blocknote/core): ^0.46.2\n- [@blocknote/mantine](https://www.npmjs.com/package/@blocknote/mantine): ^0.46.2\n- [@blocknote/react](https://www.npmjs.com/package/@blocknote/react): ^0.46.2\n- [@clerk/clerk-react](https://www.npmjs.com/package/@clerk/clerk-react): ^4.30.2\n- [@clerk/themes](https://www.npmjs.com/package/@clerk/themes): ^1.7.9\n- [@edgestore/react](https://www.npmjs.com/package/@edgestore/react): ^0.1.6\n- [@edgestore/server](https://www.npmjs.com/package/@edgestore/server): ^0.1.6\n- [@mantine/core](https://www.npmjs.com/package/@mantine/core): ^8.3.11\n- [@mantine/hooks](https://www.npmjs.com/package/@mantine/hooks): ^8.3.11\n- [@mantine/utils](https://www.npmjs.com/package/@mantine/utils): ^6.0.22\n- [@radix-ui/react-alert-dialog](https://www.npmjs.com/package/@radix-ui/react-alert-dialog): ^1.1.15\n- [@radix-ui/react-avatar](https://www.npmjs.com/package/@radix-ui/react-avatar): ^1.1.11\n- [@radix-ui/react-dialog](https://www.npmjs.com/package/@radix-ui/react-dialog): ^1.0.5\n- [@radix-ui/react-dropdown-menu](https://www.npmjs.com/package/@radix-ui/react-dropdown-menu): ^2.1.16\n- [@radix-ui/react-label](https://www.npmjs.com/package/@radix-ui/react-label): ^2.1.8\n- [@radix-ui/react-popover](https://www.npmjs.com/package/@radix-ui/react-popover): ^1.1.15\n- [@radix-ui/react-slot](https://www.npmjs.com/package/@radix-ui/react-slot): ^1.0.2\n- [@types/node](https://www.npmjs.com/package/@types/node): ^20.19.33\n- [@types/react](https://www.npmjs.com/package/@types/react): ^19.2.14\n- [@types/react-dom](https://www.npmjs.com/package/@types/react-dom): ^19.2.3\n- [@vercel/config](https://www.npmjs.com/package/@vercel/config): ^0.0.33\n- [autoprefixer](https://www.npmjs.com/package/autoprefixer): ^10.4.24\n- [class-variance-authority](https://www.npmjs.com/package/class-variance-authority): ^0.7.1\n- [clsx](https://www.npmjs.com/package/clsx): ^2.1.1\n- [cmdk](https://www.npmjs.com/package/cmdk): ^0.2.1\n- [convex](https://www.npmjs.com/package/convex): ^1.7.1\n- [emoji-picker-react](https://www.npmjs.com/package/emoji-picker-react): ^4.18.0\n- [eslint](https://www.npmjs.com/package/eslint): ^8\n- [eslint-config-next](https://www.npmjs.com/package/eslint-config-next): 14.0.4\n- [lucide-react](https://www.npmjs.com/package/lucide-react): ^0.564.0\n- [next](https://www.npmjs.com/package/next): 15.5.10\n- [next-themes](https://www.npmjs.com/package/next-themes): ^0.4.6\n- [postcss](https://www.npmjs.com/package/postcss): ^8\n- [react](https://www.npmjs.com/package/react): ^19.2.4\n- [react-dom](https://www.npmjs.com/package/react-dom): ^19.2.4\n- [react-dropzone](https://www.npmjs.com/package/react-dropzone): ^14.4.1\n- [react-textarea-autosize](https://www.npmjs.com/package/react-textarea-autosize): ^8.5.9\n- [sonner](https://www.npmjs.com/package/sonner): ^1.7.4\n- [tailwind-merge](https://www.npmjs.com/package/tailwind-merge): ^2.2.0\n- [tailwindcss](https://www.npmjs.com/package/tailwindcss): ^3.3.0\n- [tailwindcss-animate](https://www.npmjs.com/package/tailwindcss-animate): ^1.0.7\n- [typescript](https://www.npmjs.com/package/typescript): ^5.9.3\n- [usehooks-ts](https://www.npmjs.com/package/usehooks-ts): ^2.16.0\n- [zod](https://www.npmjs.com/package/zod): ^3.25.76\n- [zustand](https://www.npmjs.com/package/zustand): ^4.5.7\n\n\u003c!--- DEPENDENCIES_END ---\u003e\n\n## :coffee: Buy Me a Coffee\n\n[\u003cimg src=\"https://img.shields.io/badge/Buy_Me_A_Coffee-FFDD00?style=for-the-badge\u0026logo=buy-me-a-coffee\u0026logoColor=black\" width=\"200\" /\u003e](https://www.buymeacoffee.com/sanidhy \"Buy me a Coffee\")\n\n## :rocket: Follow Me\n\n[![GitHub followers](https://img.shields.io/github/followers/sanidhyy?style=social\u0026label=Follow\u0026maxAge=2592000)](https://github.com/sanidhyy \"Follow Me\")\n[![Twitter](https://img.shields.io/twitter/url?style=social\u0026url=https%3A%2F%2Fx.com%2F_sanidhyy)](https://x.com/intent/tweet?text=Check+out+this+amazing+app:\u0026url=https%3A%2F%2Fgithub.com%2Fsanidhyy%2Fnotion-clone \"Tweet\")\n\n## :books: Learn More\n\nTo learn more about Next.js, take a look at the following resources:\n\n- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.\n- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.\n\nYou can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome!\n\n## :page_with_curl: Deploy on Vercel\n\nThe easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template\u0026filter=next.js\u0026utm_source=create-next-app\u0026utm_campaign=create-next-app-readme) from the creators of Next.js.\n\nCheck out [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details.\n\n## :star: Give A Star\n\nYou can also give this repository a star to show more people and they can use this repository.\n\n## :star2: Star History\n\n\u003ca href=\"https://star-history.com/#sanidhyy/notion-clone\u0026Timeline\"\u003e\n\u003cpicture\u003e\n  \u003csource media=\"(prefers-color-scheme: dark)\" srcset=\"https://api.star-history.com/svg?repos=sanidhyy/notion-clone\u0026type=Timeline\u0026theme=dark\" /\u003e\n  \u003csource media=\"(prefers-color-scheme: light)\" srcset=\"https://api.star-history.com/svg?repos=sanidhyy/notion-clone\u0026type=Timeline\" /\u003e\n  \u003cimg alt=\"Star History Chart\" src=\"https://api.star-history.com/svg?repos=sanidhyy/notion-clone\u0026type=Timeline\" /\u003e\n\u003c/picture\u003e\n\u003c/a\u003e\n\n\u003cbr /\u003e\n\u003cp align=\"right\"\u003e(\u003ca href=\"#readme-top\"\u003eback to top\u003c/a\u003e)\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsanidhyy%2Fnotion-clone","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsanidhyy%2Fnotion-clone","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsanidhyy%2Fnotion-clone/lists"}