{"id":21513240,"url":"https://github.com/patrickfav/website-favre","last_synced_at":"2025-04-09T18:53:01.421Z","repository":{"id":40922140,"uuid":"135606841","full_name":"patrickfav/website-favre","owner":"patrickfav","description":"The source for my private website powered by hugo a static code generators and typescript/node based CLI to fetch my content from various sites..","archived":false,"fork":false,"pushed_at":"2025-03-05T13:09:07.000Z","size":42902,"stargazers_count":1,"open_issues_count":6,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-23T20:51:18.405Z","etag":null,"topics":["congo","hugo","nodejs","portfolio-website","static-site-generator","tailwindcss","typescript","website-performance"],"latest_commit_sha":null,"homepage":"https://favr.dev","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/patrickfav.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2018-05-31T16:06:42.000Z","updated_at":"2025-03-22T13:26:36.000Z","dependencies_parsed_at":"2025-03-04T10:40:38.507Z","dependency_job_id":null,"html_url":"https://github.com/patrickfav/website-favre","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patrickfav%2Fwebsite-favre","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patrickfav%2Fwebsite-favre/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patrickfav%2Fwebsite-favre/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/patrickfav%2Fwebsite-favre/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/patrickfav","download_url":"https://codeload.github.com/patrickfav/website-favre/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248093307,"owners_count":21046664,"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":["congo","hugo","nodejs","portfolio-website","static-site-generator","tailwindcss","typescript","website-performance"],"created_at":"2024-11-23T22:55:07.707Z","updated_at":"2025-04-09T18:53:01.404Z","avatar_url":"https://github.com/patrickfav.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Static Site Gen Repo for my Personal Website\n\nA simple website with a list of all of my open source projects and articles I wrote. Can be found on [favr.dev](https://favr.dev). Uses [Hugo](https://gohugo.io/) as static site generator.\n\n[![Build Status](https://github.com/patrickfav/website-favre/actions/workflows/build_deploy.yml/badge.svg)](https://github.com/patrickfav/website-favre/actions)\n[![Build Status](https://github.com/patrickfav/website-favre/actions/workflows/check_site.yml/badge.svg)](https://github.com/patrickfav/website-favre/actions)\n[![Coverage](https://sonarcloud.io/api/project_badges/measure?project=patrickfav_website-favre\u0026metric=coverage)](https://sonarcloud.io/summary/new_code?id=patrickfav_website-favre)\n[![Bugs](https://sonarcloud.io/api/project_badges/measure?project=patrickfav_website-favre\u0026metric=bugs)](https://sonarcloud.io/summary/new_code?id=patrickfav_website-favre)\n[![Technical Debt](https://sonarcloud.io/api/project_badges/measure?project=patrickfav_website-favre\u0026metric=sqale_index)](https://sonarcloud.io/summary/new_code?id=patrickfav_website-favre)\n\n![Screenshot Website](https://github.com/patrickfav/website-favre/blob/main/.readme/banner.png?raw=true)\n\n## Prepare\n\n### Install Hugo\n\n* Windows `choco install hugo-extended`\n* Mac `brew install hugo`\n\n### Install Node\n\nCurrently, this project uses [Node 18.17.0 (lts)](https://nodejs.org/es/blog/release/v18.17.0). It is recommended to use\na node version manager like [nvm](https://github.com/nvm-sh/nvm), then you can just run\n\n```bash\nnvm install \u0026\u0026 nvm use\n```\n\nin the project root dir to install and use the correct version.\n\n### Cloning Project with Submodule\n\nThis project uses a git submodule for including the theme. To correctly clone it you need to do\n\n```bash\ngit clone https://github.com/patrickfav/website-favre.git\ngit submodule init\ngit submodule update\n```\n\n## Build \u0026 Run\n\n### Set secrets\n\nFor the downloader to work with all features one must set 2 environmental variables\n\n````bash\nGITHUB_TOKEN=... # a GitHub Personal Access Token - https://docs.github.com/de/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token\nFIREBASE_SERVICE_ACCOUNT_JSON= {...} # a Firebase service account json file - https://firebase.google.com/support/guides/service-accounts\n````\n\nwhere the second, the Firebase service account json, is optional and not providing it will disable the stats persisting feature.\n\n### Prepare Content Sync\n\nInstall and link everything and build the js files from typescript with\n\n```bash\ncd content-downloader\nnpm run package\n```\n\nthen either run it with\n\n```bash\nhugo-content-downloader\n```\n\nor use the shortcut that automatically rebuilds the sources\n\n```bash\nnpm run exec\n```\n\nwhich will populate the directories `content/opensource` and `content/articles`.\n\n### Linting\n\nThis project uses [eslint](https://eslint.org/) to validate the code:\n\n```bash\ncd content-downloader\nnpm run lint\n```\n\n### Using the build \u0026 run Docker Image\n\nA docker image that builds everything, updates the content and then can be used to locally serve the website with nginx can be created by doing:\n\n```bash\ndocker build --no-cache --progress=plain -t websitefavre:latest .\ndocker run -p 8080:80 websitefavre:latest\n```\n\nand then you can access the page with `http://localhost:8080`\n\n# License\n\nProprietary: Patrick Favre 2023\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpatrickfav%2Fwebsite-favre","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpatrickfav%2Fwebsite-favre","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpatrickfav%2Fwebsite-favre/lists"}