{"id":16975883,"url":"https://github.com/chilfish/chilpost","last_synced_at":"2026-04-07T09:32:06.498Z","repository":{"id":186486213,"uuid":"673170717","full_name":"Chilfish/chilpost","owner":"Chilfish","description":null,"archived":false,"fork":false,"pushed_at":"2023-12-30T15:03:22.000Z","size":1301,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-10T14:49:52.269Z","etag":null,"topics":["clone-website","mysql","nuxt","posts","vue"],"latest_commit_sha":null,"homepage":"https://chilpost.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/Chilfish.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}},"created_at":"2023-08-01T03:14:10.000Z","updated_at":"2024-12-31T02:08:10.000Z","dependencies_parsed_at":null,"dependency_job_id":"f0f3fdd7-0b1d-45bc-9e5c-9e934d2c0100","html_url":"https://github.com/Chilfish/chilpost","commit_stats":null,"previous_names":["chilfish/chilpost"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Chilfish/chilpost","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Chilfish%2Fchilpost","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Chilfish%2Fchilpost/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Chilfish%2Fchilpost/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Chilfish%2Fchilpost/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Chilfish","download_url":"https://codeload.github.com/Chilfish/chilpost/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Chilfish%2Fchilpost/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31508017,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-07T03:10:19.677Z","status":"ssl_error","status_checked_at":"2026-04-07T03:10:13.982Z","response_time":105,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["clone-website","mysql","nuxt","posts","vue"],"created_at":"2024-10-14T01:24:16.141Z","updated_at":"2026-04-07T09:32:06.482Z","avatar_url":"https://github.com/Chilfish.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"### Chill Post App\n\nAn another https://x.com like app, it's very simple, but it's a good practice for me to learn the nuxt3 and mysql.\n\nBuild with Nuxt3 + nodejs/MySql2 + jose/jws\n\n\u003e I'm looking for the mysql hosting service, so the online preview is not fully available now.\n\nAlso, I am trying to use kotlin + spring boot + exposed to build the another backend version. Kotlin is so cool!😍 It's still in development, but you can preview it at [chilpost-sb](https://github.com/Chilfish/chilpost-sb/). Then set the `API_PROXY` to `http://localhost:8080` in the `.env` file.\n\n### Features\n\n- **Error handling**: I'am trying to handle the errors unitedly at [errorHandler.ts](./server/error/newError.ts). So that it's unnecessary to try-catch everywhere, nitro will catch it. But I am not sure if it is a good practice.\n\n- **Authentication**: I am using **[jws]** for authentication. That's signatured jwt. The public key and private key are stored in the environment variable. The public key is used to verify the token, and the private key is used to sign the token. The token is stored in the cookie.\n\n### Start\n\n```bash\npnpm i\n\npnpm dev\n```\n\nthen rename the `.env.example` to `.env` and fill the environment variables in it.\n\n### Build\n\nIn production mode, you need to set the environment variables in Vercel, see `.env.example` for reference. (at `https://vercel.com/${your_name}/todo-ender/settings/environment-variables`).\n\nNote that, you should generate the `PUBLIC_KEY` and `PRIVATE_KEY` by yourself (You can generate them at https://jwt.rocks/).\n\n### Docker support\n\nNow you can use docker to run the app🥳.\n\n```bash\ndocker-compose up -d\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchilfish%2Fchilpost","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchilfish%2Fchilpost","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchilfish%2Fchilpost/lists"}