{"id":13876220,"url":"https://github.com/zernonia/keypress","last_synced_at":"2026-04-06T06:31:50.669Z","repository":{"id":61299583,"uuid":"546374778","full_name":"zernonia/keypress","owner":"zernonia","description":"KeyPress - an open-source blogging platform + free custom domains.","archived":false,"fork":false,"pushed_at":"2023-05-23T02:39:40.000Z","size":2149,"stargazers_count":246,"open_issues_count":4,"forks_count":18,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-04-13T09:47:08.419Z","etag":null,"topics":["blog","domain","keyboard","nuxt3","subdomain","supabase","vite","vue3"],"latest_commit_sha":null,"homepage":"https://keypress.blog","language":"Vue","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/zernonia.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"license.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2022-10-06T01:32:46.000Z","updated_at":"2025-03-21T11:35:28.000Z","dependencies_parsed_at":"2024-01-14T05:01:53.232Z","dependency_job_id":"1429a0b1-886f-4306-8069-2051ab4b1536","html_url":"https://github.com/zernonia/keypress","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/zernonia/keypress","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zernonia%2Fkeypress","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zernonia%2Fkeypress/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zernonia%2Fkeypress/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zernonia%2Fkeypress/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zernonia","download_url":"https://codeload.github.com/zernonia/keypress/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zernonia%2Fkeypress/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31463012,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-05T21:22:52.476Z","status":"online","status_checked_at":"2026-04-06T02:00:07.287Z","response_time":112,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["blog","domain","keyboard","nuxt3","subdomain","supabase","vite","vue3"],"created_at":"2024-08-06T06:01:10.186Z","updated_at":"2026-04-06T06:31:50.653Z","avatar_url":"https://github.com/zernonia.png","language":"Vue","funding_links":["https://www.buymeacoffee.com/zernonia"],"categories":["Vue","blog"],"sub_categories":[],"readme":"\u003cbr /\u003e\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/zernonia/keypress\"\u003e\n    \u003cimg src=\"public/logo.svg\" alt=\"KeyPress's Logo\" width=\"80\"\u003e\n  \u003c/a\u003e\n  \u003cbr /\u003e\n\n  \u003cp align=\"center\"\u003e\n    A keyboard-first blogging platform. \u003cbr\u003e \n    Finally write your blog post only with keys 🎹\n  \u003c/p\u003e\n\n  \u003cp align=\"center\"\u003e \n    \u003ca href=\"https://keypress.blog/\"\u003eView Demo\u003c/a\u003e\n    ·\n    \u003ca href=\"https://github.com/zernonia/keypress/issues\"\u003eReport Bug\u003c/a\u003e\n    ·\n    \u003ca href=\"https://github.com/zernonia/keypress/issues\"\u003eRequest Feature\u003c/a\u003e\n  \u003c/p\u003e\n\u003c/p\u003e\n\n\u003cbr/\u003e\n\n![KeyPress - open-source blogging platform that focused on keyboard-first experience](public/hero.png)\n\n## Introduction\n\nKeyPress is an open-source blogging platform that focused on keyboard-first experience. It was inspired by Vercel's Platform Starter Kit.\n\nI always wanted to build a multi-tenant platform using [Nuxt3](https://v3.nuxtjs.org/), and I finally did it! - in `nuxt-rc11`.\n\nIf you are interested to implement the same, checkout\n\n1. [`server/middleware/subdomain.ts`](https://github.com/zernonia/keypress/blob/main/server/middleware/subdomain.ts) - check the current domain and set srr context.\n2. [`app/router.option.ts`](https://github.com/zernonia/keypress/blob/main/app/router.options.ts) - based on the ssr context, map a new route.\n3. [`pages/user/[siteId]`](https://github.com/zernonia/keypress/tree/main/pages/user/%5BsiteId%5D) - this will now be your new router root\n\n## 🚀 Features\n\n- 🤩 Free\n- 📖 Open-Source\n- 🚀 Free custom domain\n- 🌌 Auto OG image (using [Satori](https://github.com/vercel/satori))\n\n### 🔨 Built With\n\n- [Nuxt 3](https://v3.nuxtjs.org/)\n- [Supabase](https://supabase.com)\n- [UnoCss](https://uno.antfu.me/)\n- [Vercel - Hosting \u0026 Domain](https://vercel.com)\n\n## 🌎 Setup\n\n### Prerequisites\n\nYarn\n\n- ```sh\n  npm install --global yarn\n  ```\n\n### Development\n\n1. Clone the repo\n   ```sh\n   git clone https://github.com/zernonia/keypress.git\n   ```\n2. Install NPM packages\n   ```sh\n   cd keypress\n   yarn install\n   ```\n3. Run local development instance\n   ```sh\n   yarn dev\n   ```\n\n### Supabase Database\n\n```sql\ncreate table domains (\n  user_id uuid,\n  url text not null primary key,\n  active boolean,\n  created_at timestamp default now()\n);\n\ncreate table profiles (\n  id uuid default uuid_generate_v4() primary key,\n  username text,\n  avatar_url text,\n  name text,\n  created_at timestamp default now(),\n  subdomain text references domains (url)\n);\n\ncreate table posts (\n  id uuid default uuid_generate_v4() primary key,\n  author_id uuid references profiles (id),\n  created_at timestamp default now(),\n  slug text not null,\n  title text,\n  body text,\n  cover_img text,\n  active boolean,\n  tags ARRAY,\n  featured boolean not null\n);\n\n\ncreate or replace view tags_view as\n  select *, count(*)\n  from\n    (select unnest(tags) as name from posts where active is true) s\n  group by name;\n\n\n\ncreate or replace function public.handle_new_user()\n  returns trigger as $$\n  begin\n    insert into public.profiles (id, avatar_url, username, name)\n    values (new.id, new.raw_user_meta_data-\u003e\u003e'avatar_url', new.raw_user_meta_data-\u003e\u003e'user_name', new.raw_user_meta_data-\u003e\u003e'preferred_username');\n    return new;\n  end;\n  $$ language plpgsql security definer;\n\n\ncreate trigger on_auth_user_created\n  after insert on auth.users\n  for each row execute procedure public.handle_new_user();\n```\n\n## ➕ Contributing\n\nContributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are **greatly appreciated**.\n\n1. Fork the Project\n2. Create your Feature Branch (`git checkout -b feature/AmazingFeature`)\n3. Commit your Changes (`git commit -m 'Add some AmazingFeature'`)\n4. Push to the Branch (`git push origin feature/AmazingFeature`)\n5. Open a Pull Request\n\n## Acknowledgement\n\n1. [Nuxt 3 - Awesome framework](https://v3.nuxtjs.org/)\n1. [Supabase - Super easy setup (as always)](https://supabase.com)\n1. [Tiptap - Awesome editor](https://tiptap.dev/)\n1. [Vercel's Platform Starter Kit - Subdomain/Custom domain](https://github.com/vercel/platforms)\n1. [Vercel's new og generation](https://github.com/vercel/satori)\n\n## Author\n\n- Zernonia ([@zernonia](https://twitter.com/zernonia))\n\nAlso, if you like my work, please buy me a coffee ☕😳\n\n\u003ca href=\"https://www.buymeacoffee.com/zernonia\" target=\"_blank\"\u003e\n    \u003cimg src=\"https://www.buymeacoffee.com/assets/img/custom_images/yellow_img.png\" alt=\"Logo\" \u003e\n  \u003c/a\u003e\n\n## 🔥 Contributors\n\n\u003ca href=\"https://github.com/zernonia/keypress/graphs/contributors\"\u003e\n  \u003cimg src=\"https://contrib.rocks/image?repo=zernonia/keypress\" /\u003e\n\u003c/a\u003e\n\n## 📜 License\n\nDistributed under the MIT License. See `LICENSE` for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzernonia%2Fkeypress","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzernonia%2Fkeypress","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzernonia%2Fkeypress/lists"}