{"id":13343699,"url":"https://github.com/bufgix/github-blog","last_synced_at":"2025-10-18T00:29:16.714Z","repository":{"id":41272436,"uuid":"248257010","full_name":"bufgix/github-blog","owner":"bufgix","description":"A blog system that uses Github Issues","archived":false,"fork":false,"pushed_at":"2023-01-05T16:01:31.000Z","size":1114,"stargazers_count":49,"open_issues_count":15,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-12T18:07:25.970Z","etag":null,"topics":["blog-engine","github-integration","markdown","zeit"],"latest_commit_sha":null,"homepage":"https://bufgix.now.sh/","language":"JavaScript","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/bufgix.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}},"created_at":"2020-03-18T14:39:30.000Z","updated_at":"2024-08-14T05:01:22.000Z","dependencies_parsed_at":"2023-02-04T07:01:27.373Z","dependency_job_id":null,"html_url":"https://github.com/bufgix/github-blog","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bufgix%2Fgithub-blog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bufgix%2Fgithub-blog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bufgix%2Fgithub-blog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bufgix%2Fgithub-blog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bufgix","download_url":"https://codeload.github.com/bufgix/github-blog/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221813790,"owners_count":16884911,"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":["blog-engine","github-integration","markdown","zeit"],"created_at":"2024-07-29T19:31:57.125Z","updated_at":"2025-10-18T00:29:11.682Z","avatar_url":"https://github.com/bufgix.png","language":"JavaScript","readme":"\u003ch1 align=\"center\"\u003eWelcome to github-blog 👋\u003c/h1\u003e\n\u003cp\u003e\n  \u003ca href=\"https://www.npmjs.com/package/github-blog\" target=\"_blank\"\u003e\n    \u003cimg alt=\"Version\" src=\"https://img.shields.io/npm/v/github-blog.svg\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/bufgix/github-blog/blob/master/LICENSE\" target=\"_blank\"\u003e\n    \u003cimg alt=\"License: MIT\" src=\"https://img.shields.io/badge/License-MIT-yellow.svg\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://twitter.com/bufgix\" target=\"_blank\"\u003e\n    \u003cimg alt=\"Twitter: bufgix\" src=\"https://img.shields.io/twitter/follow/bufgix.svg?style=social\" /\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n\u003e A blog system that uses Github Issues\n\n### 🏠 [Homepage](https://github-blog.now.sh/)\n\n![banner](https://i.hizliresim.com/O5vCIe.png)\n\n[TURKÇE](https://github.com/bufgix/github-blog/blob/master/READMETR.md)\n\nThe usual blog system. Except, all the backend is connected to Github. All blog posts are linked to the issues of a repo that you want.\n\n## Installation\n\nDownload the repo to your file system\n\n```sh\n$ git clone https://github.com/bufgix/github-blog \u0026\u0026 cd github-blog\n```\n\nInstall the required dependencies\n\n```sh\n$ yarn\n# or\n$ npm install\n```\n\nthen come to `config.js` and write your information\n\n```javascript\nexport default {\n  // Github username\n  username: \"bufgix\",\n  // Repo name where you will write your blogs\n  repoName: \"bufgix.github.io\",\n  // If you want, you can automatically add a CV that based\n  // on your github profile. It will appear on the homepage\n  useGithubCv: true\n};\n```\n\nGithub-blog uses [Github API V4](https://developer.github.com/v4/), which uses graphql to pull data. That's why [Github access token](https://help.github.com/en/github/authenticating-to-github/creating-a-personal-access-token-for-the-command-line) is needed. Create a token and give the following permissions\n\n- read:user\n- user:email\n- user:follow\n\nCopy the token and paste it into a `.env` file as follows\n\n```env\nGITHUB_TOKEN=0f49a4540d7efc7272533bc5ba23243da8de8ecd\n```\n\nThen to run your blog locally\n\n```sh\nyarn dev\n# or\nnpm run dev\n```\n\n## Publising Your Blog\n\nI use [zeit.co](https://zeit.co/), which is both easy and free. Download [Now CLI](https://zeit.co/download) to upload your blog to zeit. Then add the github token to the Now CLI\n\n```sh\n$ now secrets add GITHUB_TOKEN \u003cYOUR_GITHUB_TOKEN\u003e\n```\n\nPublish your application with this command\n\n```sh\n$ now deploy\n```\n\nAfter setting your project name, you can follow the application from zeit.co.\n\n## Publishing Articles\n\nSubmit a issue to the issues section of the repo that you specified in `config.json`.\nThen create a label named `Blog` and add it to your issue. Please note that issues without blog tag will not be shown. You can also create other tags and show what your post is about.\n\n---\n\nI inspired the project from [this](https://github.com/saadpasta/react-blog-github) repo. Although basically doing the same, I made the project write with [Next.js](https://nextjs.org/) to be SEO friendly\n\n## TODOS\n\n- ~~Footer~~\n- ~~Social links~~\n- ~~Comments implementation~~\n- ~~Reaction implementation~~\n- Pagination\n- ~~Error Handling~~\n- ~~Add image viewer~~\n- ~~[Github-CV](https://github.com/bufgix/github-cv) integration~~\n- ~~Filter by tags~~\n\n## Author\n\n👤 **bufgix**\n\n- Website: http://www.bufgix.space\n- Twitter: [@bufgix](https://twitter.com/bufgix)\n- Github: [@bufgix](https://github.com/bufgix)\n\n## 🤝 Contributing\n\nContributions, issues and feature requests are welcome!\u003cbr /\u003eFeel free to check [issues page](https://github.com/bufgix/github-blog/issues).\n\n## Show your support\n\nGive a ⭐️ if this project helped you!\n\n## 📝 License\n\nCopyright © 2020 [bufgix](https://github.com/bufgix).\u003cbr /\u003e\nThis project is [MIT](https://github.com/bufgix/github-blog/blob/master/LICENSE) licensed.\n\n---\n\n_This README was generated with ❤️ by [readme-md-generator](https://github.com/kefranabg/readme-md-generator)_\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbufgix%2Fgithub-blog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbufgix%2Fgithub-blog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbufgix%2Fgithub-blog/lists"}