{"id":20459182,"url":"https://github.com/codingstark-dev/reduceimage","last_synced_at":"2025-03-05T11:14:45.496Z","repository":{"id":234834154,"uuid":"482117205","full_name":"codingstark-dev/reduceimage","owner":"codingstark-dev","description":null,"archived":false,"fork":false,"pushed_at":"2022-05-02T00:16:15.000Z","size":1495,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-16T00:22:47.103Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/codingstark-dev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2022-04-16T00:24:30.000Z","updated_at":"2024-04-21T00:14:19.000Z","dependencies_parsed_at":"2024-04-21T02:36:26.713Z","dependency_job_id":"1cf06e7b-5271-4c52-b264-496d6e32a30e","html_url":"https://github.com/codingstark-dev/reduceimage","commit_stats":null,"previous_names":["codingstark-dev/reduceimage"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codingstark-dev%2Freduceimage","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codingstark-dev%2Freduceimage/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codingstark-dev%2Freduceimage/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codingstark-dev%2Freduceimage/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codingstark-dev","download_url":"https://codeload.github.com/codingstark-dev/reduceimage/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242014715,"owners_count":20057879,"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":"2024-11-15T12:15:22.358Z","updated_at":"2025-03-05T11:14:45.476Z","avatar_url":"https://github.com/codingstark-dev.png","language":"JavaScript","readme":"\u003cimg src=\"https://cdn.statically.io/gh/craigary/nobelium/main/Nobelium-Logo.svg\" width=\"50\" height=\"50\"\u003e\n\n# Nobelium\n\nA static blog build on top of Notion and Nextjs, deployed on [Vercel](https://vercel.com?utm_source=Craigary\u0026utm_campaign=oss).\n\n\u003cp\u003e\n  \u003ca aria-label=\"GitHub commit activity\" href=\"https://github.com/craigary/nobelium/commits/main\" title=\"GitHub commit activity\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/commit-activity/m/craigary/nobelium?style=for-the-badge\"\u003e\n  \u003c/a\u003e\n  \u003ca aria-label=\"GitHub contributors\" href=\"https://github.com/craigary/nobelium/graphs/contributors\" title=\"GitHub contributors\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/contributors/craigary/nobelium?color=orange\u0026style=for-the-badge\"\u003e\n  \u003c/a\u003e\n  \u003ca aria-label=\"Build status\" href=\"#\" title=\"Build status\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/deployments/craigary/nobelium/Preview?logo=Vercel\u0026style=for-the-badge\"\u003e\n  \u003c/a\u003e\n  \u003ca aria-label=\"Powered by Vercel\" href=\"https://vercel.com?utm_source=Craigary\u0026utm_campaign=oss\" title=\"Powered by Vercel\"\u003e\n    \u003cimg src=\"https://www.datocms-assets.com/31049/1618983297-powered-by-vercel.svg\" height=\"28\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\nDemo: [https://nobelium.vercel.app/](https://nobelium.vercel.app/)\n\n\u003cdetails\u003e\u003csummary\u003eScreenshot\u003c/summary\u003e\n\u003cimg src=\"https://github.com/craigary/nobelium/blob/main/desktop.png?raw=true\"\u003e\n\u003c/details\u003e\n\n## Highlights ✨\n\n**🚀 \u0026nbsp;Fast and responsive**\n\n- Fast page render and responsive design\n- Fast static generation with efficient compiler\n\n**🤖 \u0026nbsp;Deploy instantly**\n\n- Deploy on Vercel in minutes\n- Incremental regeneration and no need to redeploy after update the content in notion\n\n**🚙 \u0026nbsp;Fully functional**\n\n- Comments, full width page, quick search and tag filter\n- RSS, analytics, web vital... and much more\n\n**🎨 \u0026nbsp;Easy for customization**\n\n- Rich config options, support English \u0026 Chinese interface\n- Built with Tailwind CSS, easy for customization\n\n**🕸 \u0026nbsp;Pretty URLs and SEO friendly**\n\n## Quick Start\n\n- Star this repo 😉\n- Duplicate [this Notion template](https://craigary.notion.site/adc3552cfc73442ab5048d4b1eb0079a), and share it to the public\n- [Fork](https://github.com/craigary/nobelium/fork) this project\n- Customize `blog.config.js`\n- _(Optional)_ Replace `favicon.svg`, and `favicon.ico` in `/public` folder with your own\n- Deploy on [Vercel](https://vercel.com), set following environment variables：\n  - `NOTION_PAGE_ID` (Required): The ID of the Notion page you previously shared to the web, usually has 32 digits after your workspace address\n  - `NOTION_ACCESS_TOKEN` (Optional, not recommended): If you decide not to share your database, you can use token to let Nobelium grab data from Notion database. You can find it in your browser cookies called `token_v2`\n    - Keep in mind Notion token is only valid for 180 days, make sure to update manually in vercel dashboard, we probably switch to Official API to resolve this issue in the future. Also, images in Notion database will not properly rendered\n- **That's it!** Easy-peasy?\n\n\u003cdetails\u003e\u003csummary\u003eWait for a sec, what is Page ID？\u003c/summary\u003e\n  \u003cimg src=\"https://github.com/craigary/nobelium/blob/main/pageid.png?raw=true\"\u003e\n\u003c/details\u003e\n\n## Play With Docker\n\nUnofficial, thanks to [@Vaayne](https://github.com/craigary/nobelium/pull/157)'s work!\n\n### Build Docker image yourself\n```\n# set env\nexport NOTION_PAGE_ID=xxx # your NOTION_PAGE_ID\nexport IMAGE=nobelium:latest\n\n# build with docker\ndocker build -t ${IMAGE} --build-arg NOTION_PAGE_ID .\n\n# run with docker\ndocker run -d --name nobelium -p 3000:3000 -e NOTION_PAGE_ID=${NOTION_PAGE_ID} nobelium:latest\n```\n\n### Use default docker image\n```\n# pull image\ndocker pull ghcr.io/craigary/nobelium:main\n\n# run with docker\ndocker run -d --name nobelium -p 3000:3000 -e NOTION_PAGE_ID=${NOTION_PAGE_ID} ghcr.io/craigary/nobelium:main\n```\n\n## Roadmap\n\nCheck out our roadmap [here](https://www.notion.so/craigary/Public-Roadmap-3cfc4d0f0ca642ef8f652673c37add22)\n\n- [x] Better SEO\n- [x] Dark mode\n- [x] Open Graph support\n- [x] Switch to react-notion-x\n- [x] Sitemap\n- [ ] ...\n\n## Technical details\n\n- **Generation**: Next.js and Incremental Static Regeneration\n- **Page render**: [react-notion-x](https://github.com/NotionX/react-notion-x)\n- **Style**: Tailwind CSS and `@tailwindcss/jit` compiler\n- **Comments**: Gitalk, Cusdis and more\n\n## Special Thanks\n\n\u003ctable\u003e\u003ctr align=\"left\"\u003e\n  \u003ctd align=\"center\"\u003e\u003ca href=\"https://notion.so/cnotion\" title=\"Notion CN Community\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/u/4792552\" width=\"64px;\"alt=\"Notion CN Community\"/\u003e\u003c/a\u003e\u003cbr/\u003e\u003ca href=\"https://notion.so/cnotion\" title=\"Notion CN Community\"\u003eNotion CN Community\u003c/a\u003e\u003c/td\u003e\n  \u003ctd align=\"center\"\u003e\u003ca href=\"https://twitter.com/SilentDepthCN\" title=\"SilentDepth\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/u/7194254\" width=\"64px;\" alt=\"yokinist\"/\u003e\u003c/a\u003e\u003cbr/\u003e\u003ca href=\"https://twitter.com/SilentDepthCN\" title=\"SilentDepth\"\u003eSilentDepth\u003c/a\u003e\u003c/td\u003e\n  \u003ctd align=\"center\"\u003e\u003ca href=\"https://leerob.io/\" title=\"Lee Robinson\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/u/9113740\" width=\"64px;\" alt=\"Reynard\"/\u003e\u003c/a\u003e\u003cbr/\u003e\u003ca href=\"https://leerob.io\" title=\"Lee Robinson\"\u003eLee Robinson\u003c/a\u003e\u003c/td\u003e\n  \u003ctd align=\"center\"\u003e\u003ca href=\"https://spencerwoo.com/\" title=\"Spencer Woo\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/u/32114380\" width=\"64px;\" alt=\"Niin\"/\u003e\u003c/a\u003e\u003cbr/\u003e\u003ca href=\"https://spencerwoo.com\" title=\"Spencer Woo\"\u003eSpencer Woo\u003c/a\u003e\u003c/td\u003e\n\u003c/tr\u003e\u003c/table\u003e\n\n## Contributors\n\n\u003ctable\u003e\u003ctr align=\"left\"\u003e\n  \u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/craigary\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/u/10571717\" width=\"64px;\"alt=\"Craig Hart\"/\u003e\u003cbr/\u003e\u003csub\u003e\u003cb\u003eCraig Hart\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr/\u003e\u003ca href=\"https://github.com/craigary/nobelium/commits?author=craigary\" title=\"Owner\" \u003e🎫 🔧 🎨 🐛\u003c/a\u003e\u003c/td\u003e\n  \u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/yokinist\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/u/19779874\" width=\"64px;\" alt=\"yokinist\"/\u003e\u003cbr/\u003e\u003csub\u003e\u003cb\u003eyokinist\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr/\u003e\u003ca href=\"https://github.com/craigary/nobelium/commits?author=yokinist\" title=\"yokinist\" \u003e🔧 🐛\u003c/a\u003e\u003c/td\u003e\n  \u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/reycn\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/u/11225092\" width=\"64px;\" alt=\"Reynard\"/\u003e\u003cbr/\u003e\u003csub\u003e\u003cb\u003eReynard\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr/\u003e\u003ca href=\"https://github.com/craigary/nobelium/commits?author=reycn\" title=\"Reynard\" \u003e 🎨 🐛\u003c/a\u003e\u003c/td\u003e\n  \u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/Niinjoy\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/u/39721307\" width=\"64px;\" alt=\"Niin\"/\u003e\u003cbr/\u003e\u003csub\u003e\u003cb\u003eNiin\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr/\u003e\u003ca href=\"https://github.com/craigary/nobelium/commits?author=Niinjoy\" title=\"Niin\" \u003e🔧 🐛\u003c/a\u003e\u003c/td\u003e\n  \u003ctd align=\"center\"\u003e\u003ca href=\"https://github.com/ruter\"\u003e\u003cimg src=\"https://avatars.githubusercontent.com/u/8568876\" width=\"64px;\" alt=\"Ruter\"/\u003e\u003cbr/\u003e\u003csub\u003e\u003cb\u003eRuter\u003c/b\u003e\u003c/sub\u003e\u003c/a\u003e\u003cbr/\u003e\u003ca href=\"https://github.com/craigary/nobelium/commits?author=ruter\" title=\"Ruter\" \u003e🔧 🐛\u003c/a\u003e\u003c/td\u003e\n\u003c/tr\u003e\u003c/table\u003e\n\n## License\n\nThe MIT License.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodingstark-dev%2Freduceimage","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodingstark-dev%2Freduceimage","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodingstark-dev%2Freduceimage/lists"}