{"id":16409651,"url":"https://github.com/leetaogoooo/pure","last_synced_at":"2025-03-16T16:32:13.981Z","repository":{"id":112051684,"uuid":"558309379","full_name":"LeetaoGoooo/pure","owner":"LeetaoGoooo","description":"a blog based on github discussion","archived":false,"fork":false,"pushed_at":"2024-04-27T12:13:19.000Z","size":8831,"stargazers_count":49,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-04-30T07:17:35.278Z","etag":null,"topics":["blog","discussions-blog","github-discussions","golang"],"latest_commit_sha":null,"homepage":"https://leetao.me","language":"Go","has_issues":false,"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/LeetaoGoooo.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":"2022-10-27T09:42:15.000Z","updated_at":"2024-04-29T15:49:17.000Z","dependencies_parsed_at":"2024-04-15T15:10:44.934Z","dependency_job_id":"fff9fd92-09de-4779-b2e5-b781bb98b6a8","html_url":"https://github.com/LeetaoGoooo/pure","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LeetaoGoooo%2Fpure","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LeetaoGoooo%2Fpure/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LeetaoGoooo%2Fpure/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LeetaoGoooo%2Fpure/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LeetaoGoooo","download_url":"https://codeload.github.com/LeetaoGoooo/pure/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221666183,"owners_count":16860380,"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","discussions-blog","github-discussions","golang"],"created_at":"2024-10-11T06:20:43.843Z","updated_at":"2024-10-27T10:57:14.619Z","avatar_url":"https://github.com/LeetaoGoooo.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Pure\n\n\u003e It's a blog based on github discussion that lets you focus on your creativity. All you need to do is open your browser, log in to github and start your creative journey, no more worry about file, sync deployment and image uploads. What's more  you can migrate your blog in the way you like!\n\n# Deploy\n\nBefore you do a deployment, you need to config your own `pure.yaml`\n\n```shell\ncp pure.sample.yaml pure.yaml\n```\nGet your own [GITHUB_ACCESS_TOKEN](https://github.com/settings/tokens) here\n\n## Category\n\n```bash\ncd core\ngo test -run TestApi -v\n```\n\nIt'll list all your categories, then you can config your `pure.yaml`\n\n# [Deploy To Vercel](https://github.com/LeetaoGoooo/pure/tree/vercel)\n\nBefore you do a deployment, you need to config `BlogConfig` in `constants.go` \n\nGet your own [GITHUB_ACCESS_TOKEN](https://github.com/settings/tokens) here\n\n\n[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2FLeetaoGoooo%2Fpure%2Ftree%2Fvercel\u0026env=ACCESS_TOKEN,USER_NAME,REPO,REPO_ID,WEB_HOST,WEB_NAME,WEB_BIO,WEB_EMAIL,CATEGORY_ID,CATEGORY_NAME)\n\n## comments\n\npure use [gitcus](https://github.com/giscus/giscus) as comment system, visit [gitcus-website](https://giscus.app/) to get your repo id ,which can be found in `data-repo-id`\n\n![gitcus-config](./screens/gitcus-config.png)\n\nThen just run the application\n\n```shell\ngo build main.go\n./main\n```\n\n# Screens\n\n\u003cimage src=\"./screens/homepage.png\" width=\"300\"/\u003e\u003cimage src=\"./screens/postpage.png\" width=\"300\"/\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleetaogoooo%2Fpure","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fleetaogoooo%2Fpure","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleetaogoooo%2Fpure/lists"}