{"id":28559105,"url":"https://github.com/toastdriven/nutoastdriven","last_synced_at":"2025-06-10T08:36:13.415Z","repository":{"id":203680794,"uuid":"709436253","full_name":"toastdriven/nutoastdriven","owner":"toastdriven","description":"My blog, redone in Next.js.","archived":false,"fork":false,"pushed_at":"2025-05-15T15:31:20.000Z","size":4104,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-07T16:54:57.546Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/toastdriven.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":"2023-10-24T18:03:07.000Z","updated_at":"2025-05-15T15:31:24.000Z","dependencies_parsed_at":"2023-11-18T20:24:52.501Z","dependency_job_id":null,"html_url":"https://github.com/toastdriven/nutoastdriven","commit_stats":null,"previous_names":["toastdriven/nutoastdriven"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toastdriven%2Fnutoastdriven","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toastdriven%2Fnutoastdriven/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toastdriven%2Fnutoastdriven/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toastdriven%2Fnutoastdriven/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/toastdriven","download_url":"https://codeload.github.com/toastdriven/nutoastdriven/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/toastdriven%2Fnutoastdriven/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259039627,"owners_count":22796878,"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":"2025-06-10T08:36:04.770Z","updated_at":"2025-06-10T08:36:13.406Z","avatar_url":"https://github.com/toastdriven.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# `nutoastdriven`\n\nMy personal site, rewritten using [Next.js](https://nextjs.org/).\n\nOf most interest, this uses the new-style [Next.js App Router](https://nextjs.org/docs/app/building-your-application/routing), as opposed to the older \"Pages Router\" that the tutorial uses.\n\nThis code is run locally \u0026 used to statically generate [Toast Driven](https://toastdriven.com/). This is likely only mostly useful to me, but feel free to refer to it and/or use code from it.\n\n\n## Setup\n\nGotta have Node installed locally (`20.6.1`, installed via `asdf`). You'll also want [Just](https://just.systems/).\n\n```bash\n$ npm i\n$ cp -i .env.example .env\n```\n\n\n## Creating Posts\n\nCreate the correct subdirectories in `posts/` for year/month/day, then create the post itself using Markdown.\n\nA template:\n\n```markdown\n---\ntitle: 'The Title Goes Here'\ndate: 'YYYY-MM-DD'\ntime: 'HH:MM:SS'\nauthor: 'Daniel'\nslug: 'the-slug-goes-here'\n---\n\nThe post itself goes here...\n```\n\nThen you can generate \u0026 upload in a single go with `$ just refresh`.\n\n\n## Running the Dev Site\n\n```bash\n$ npm run dev\n```\n\nThen hit [http://localhost:3000](http://localhost:3000) in your browser.\n\n\n## Only Generating the Site\n\n```bash\n$ just build\n```\n\n\n## Only Uploading the Generated Site\n\n```bash\n$ just upload\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftoastdriven%2Fnutoastdriven","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftoastdriven%2Fnutoastdriven","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftoastdriven%2Fnutoastdriven/lists"}