{"id":20338190,"url":"https://github.com/billryan/docker-hexo","last_synced_at":"2025-03-04T14:27:51.239Z","repository":{"id":24871636,"uuid":"28287368","full_name":"billryan/docker-hexo","owner":"billryan","description":"Docker Container for [Hexo](http://hexo.io/)","archived":false,"fork":false,"pushed_at":"2014-12-21T03:40:41.000Z","size":116,"stargazers_count":7,"open_issues_count":0,"forks_count":4,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-14T17:38:03.048Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"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/billryan.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}},"created_at":"2014-12-21T03:39:16.000Z","updated_at":"2021-11-13T03:25:09.000Z","dependencies_parsed_at":"2022-08-23T09:11:02.321Z","dependency_job_id":null,"html_url":"https://github.com/billryan/docker-hexo","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/billryan%2Fdocker-hexo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/billryan%2Fdocker-hexo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/billryan%2Fdocker-hexo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/billryan%2Fdocker-hexo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/billryan","download_url":"https://codeload.github.com/billryan/docker-hexo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241863333,"owners_count":20032966,"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-14T21:11:58.529Z","updated_at":"2025-03-04T14:27:51.205Z","avatar_url":"https://github.com/billryan.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# docker-hexo\n\nA Docker Container for [Hexo](http://hexo.io/).\n\n[docker-hexo](https://github.com/billryan/docker-hexo) image based on base image ubuntu:14.04, pandoc is optional for processing markdown files with better MathJax support and enhanced markdown such as footnotes.\n\nSince docker do not provide easy user permissions control inside container. You should set the gid and uid as your current user while modifying the Dockerfile, `$UID=1000` and `$GID=100` are the default uid and gid.\n\n## Use example  \n\nFor ease of use, you can set alias for tedious docker command in `~/.bashrc` or `~/.zshenv`. Be sure your current user are in `docker` group.\n\n```\nalias docker-hexo='docker run --rm -v \"$PWD:/blog\" -p 4000:4000 billryan/hexo'\nalias hexo='docker-hexo hexo'\n```\n\nUse `docker-hexo` for `npm install ...`, and `hexo` for `hexo ...`\n\n### Example  \n\n```\nhexo init \u003cfolder\u003e\ncd \u003cfolder\u003e\ndocker-hexo npm install\n```\n\nIf you want to use pandoc for markdown renderer, replace the `docker-hexo` with the following: \n\n```\nalias docker-hexo='docker run --rm -v \"$PWD:/blog\" -p 4000:4000 billryan/hexo:latest-pandoc'\n```\n\nRefer to [wzpan/hexo-renderer-pandoc](https://github.com/wzpan/hexo-renderer-pandoc) for more infomation. MathJax works perfect with pandoc, [Play MathJax with hexo-renderer-pandoc](http://blog.billryan.me/posts/2014/05/play-mathjax-with-pandoc.html) is a good reference.\n\n## Install Hexo plugins  \n\nVarious plugins can be found on [Plugins · hexojs/hexo Wiki](https://github.com/hexojs/hexo/wiki/plugins), replace `npm` with `docker-hexo npm`, happy `Hexo` with `docker-hexo`. :)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbillryan%2Fdocker-hexo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbillryan%2Fdocker-hexo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbillryan%2Fdocker-hexo/lists"}