{"id":19465381,"url":"https://github.com/cyanxiao/nimblog","last_synced_at":"2025-07-24T06:39:27.549Z","repository":{"id":39851052,"uuid":"492700790","full_name":"cyanxiao/nimblog","owner":"cyanxiao","description":"🏗 Build static blog with lines of HTML and Markdown.","archived":false,"fork":false,"pushed_at":"2023-08-06T11:08:59.000Z","size":330,"stargazers_count":12,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-25T09:44:19.698Z","etag":null,"topics":["html","markdown","reactjs","static-site-generator","web"],"latest_commit_sha":null,"homepage":"https://nimblog.vercel.app/","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/cyanxiao.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":"2022-05-16T05:52:20.000Z","updated_at":"2025-02-01T06:29:41.000Z","dependencies_parsed_at":"2024-09-23T14:09:50.765Z","dependency_job_id":"bf24d135-2ea7-499b-8cd2-1e6a3485fe10","html_url":"https://github.com/cyanxiao/nimblog","commit_stats":null,"previous_names":["cyanxiao/nimblog"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cyanxiao/nimblog","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cyanxiao%2Fnimblog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cyanxiao%2Fnimblog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cyanxiao%2Fnimblog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cyanxiao%2Fnimblog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cyanxiao","download_url":"https://codeload.github.com/cyanxiao/nimblog/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cyanxiao%2Fnimblog/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266802815,"owners_count":23986392,"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","status":"online","status_checked_at":"2025-07-24T02:00:09.469Z","response_time":99,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["html","markdown","reactjs","static-site-generator","web"],"created_at":"2024-11-10T18:19:53.671Z","updated_at":"2025-07-24T06:39:27.514Z","avatar_url":"https://github.com/cyanxiao.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Nimblog\n\n![npm](https://img.shields.io/npm/dm/nimblog) ![NPM](https://img.shields.io/npm/l/nimblog) ![GitHub top language](https://img.shields.io/github/languages/top/imchell/nimblog)\n\nNimblog requires only a few lines of HTML to deploy and is suitable for lightweight bloggers. The [demo site](https://nimblog.vercel.app/) is built with Nimblog, check it out for more information.\n\n![Nimblog](pic/front_1.png)\n\n* Runs on static website hosting platform, such as [GitHub Pages](https://pages.github.com/).\n* Easy to customize themes, as you only need to bring in your own CSS files.\n* Use [heti](https://github.com/sivan/heti) to optimize the layout.\n\nI recommend the directory structure below.\n\n```\nindex.html\nyour_essay_1.md\nyour_essay_2.md\nyour_pic_1.jpg\n...\n```\n\nThen paste the following content in `index.html`.\n\n```html\n\u003c!DOCTYPE html\u003e\n\u003chtml lang='en'\u003e\n\u003chead\u003e\n  \u003clink rel=\"stylesheet\" href=\"https://unpkg.com/nimblog/dist/production/index.css\"\u003e\n  \u003cmeta name=\"viewport\" content=\"width=device-width, initial-scale=1\"\u003e\n  \u003cmeta charset='UTF-8'\u003e\n  \u003ctitle\u003eNimblog\u003c/title\u003e\n\u003c/head\u003e\n\u003cbody\u003e\n# [Your Blog](/)\n- [your essay 1](your_essay_1.md)\n- [your essay 2](your_essay_2.md)\n\u003cscript type='module' src='https://unpkg.com/nimblog/dist/production/index.js'\u003e\u003c/script\u003e\n\u003c/body\u003e\n\u003c/html\u003e\n```\n\nAs you can see, you can write Markdown directly in `\u003cbody\u003e` and link to your Markdown documents. Once you're done, just upload this directory to a static website hosting platform.\n\n\u003e **Note**\n\u003e Markdown in `\u003cbody\u003e` supports any kind of links but only ones ending with `.md` \u0026 `.txt` and with `text\\markdown` content type are parsed as blog post links under the hood.\n\n## 🔎 Live Preview\n\nCopy \u0026 paste code below to edit online with [W3Schools Online Editor](https://www.w3schools.com/tryit/tryit.asp?filename=tryhtml_hello).\n\n```html\n\u003c!DOCTYPE html\u003e\n\u003chtml lang='en'\u003e\n\u003chead\u003e\n  \u003clink rel=\"stylesheet\" href=\"https://unpkg.com/nimblog/dist/production/index.css\"\u003e\n  \u003cmeta name=\"viewport\" content=\"width=device-width, initial-scale=1\"\u003e\n  \u003cmeta charset='UTF-8'\u003e\n  \u003ctitle\u003eNimblog\u003c/title\u003e\n\u003c/head\u003e\n\u003cbody\u003e\n# [Nimblog Intro](/)\n- [How to Use](https://unpkg.com/nimblog/dist/production/how-to-use.md)\n- [Contribution](https://unpkg.com/nimblog/dist/production/contribution.md)\n\u003cscript type='module' src='https://unpkg.com/nimblog/dist/production/index.js'\u003e\u003c/script\u003e\n\u003c/body\u003e\n\u003c/html\u003e\n```\n\n\u003e **Note**\n\u003e If you want to try it in other online editor like StackBlitz, make sure to turn off prettier or formatter so that Markdown content in HTML will not be destructed. \n\n## 🧪 Contribution\n\nFeel free to contribute to Nimblog.\n\nRun `yarn` to install all dependencies.\n\nNimblog uses Parcel as the build tool. Run `yarn dev` to make live changes to the project. Run `yarn build` to build the production version.\n\nNote that Parcel does not support invoking static assets natively, so static files are put in `\\static` to make sure they can be accessed with HMR.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcyanxiao%2Fnimblog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcyanxiao%2Fnimblog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcyanxiao%2Fnimblog/lists"}