{"id":16332229,"url":"https://github.com/dimaslanjaka/static-blog-generator","last_synced_at":"2025-03-16T14:31:18.148Z","repository":{"id":37042679,"uuid":"494722960","full_name":"dimaslanjaka/static-blog-generator","owner":"dimaslanjaka","description":"HexoJS GUI and Helpers. Pre-process source posts, assets before compile using hexo","archived":false,"fork":false,"pushed_at":"2025-02-11T03:27:06.000Z","size":2056574,"stargazers_count":5,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-27T10:39:54.194Z","etag":null,"topics":["blog","blog-nodejs","frontmatter","gulp","gulp-blog","hexo","hexo-admin","hexo-gui","hexo-seo","static-site","static-site-generator"],"latest_commit_sha":null,"homepage":"http://www.webmanajemen.com/docs/static-blog-generator/","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/dimaslanjaka.png","metadata":{"files":{"readme":"readme-old.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-05-21T08:19:58.000Z","updated_at":"2025-01-27T08:11:28.000Z","dependencies_parsed_at":"2024-01-19T21:48:55.011Z","dependency_job_id":"705783b1-457e-4dc5-b974-34a9eaf365a4","html_url":"https://github.com/dimaslanjaka/static-blog-generator","commit_stats":{"total_commits":9333,"total_committers":4,"mean_commits":2333.25,"dds":0.05539483552984037,"last_synced_commit":"f8c91e5a7690ccd2418563678a840ad20d1899ae"},"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimaslanjaka%2Fstatic-blog-generator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimaslanjaka%2Fstatic-blog-generator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimaslanjaka%2Fstatic-blog-generator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimaslanjaka%2Fstatic-blog-generator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dimaslanjaka","download_url":"https://codeload.github.com/dimaslanjaka/static-blog-generator/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243818194,"owners_count":20352629,"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","blog-nodejs","frontmatter","gulp","gulp-blog","hexo","hexo-admin","hexo-gui","hexo-seo","static-site","static-site-generator"],"created_at":"2024-10-10T23:29:40.313Z","updated_at":"2025-03-16T14:31:13.139Z","avatar_url":"https://github.com/dimaslanjaka.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Static Blog Generator v3\n\nStatic Blog Generator v3 using Gulp System. (under development)\n\nPre-processing all source posts before rendering from hexo. Useful for low-end devices to avoid memory heap errors. With this package you can prevent using large number of hexo plugins, because some function (runner) separated by task, so memory friendly.\n\n## API documentation\n- [index](https://www.webmanajemen.com/docs/static-blog-generator/)\n- [modules](https://www.webmanajemen.com/docs/static-blog-generator/modules/)\n\n## Usages\n- copy source posts (`gulp post:copy`)\n- generate site (`hexo generate`)\n- anonymize link (`gulp safelink`) optional\n- fix seo (`gulp seo`) optional\n\n### References\n- [https://github.com/dimaslanjaka/static-blog-generator-hexo/blob/master/gulpfile.js](https://github.com/dimaslanjaka/static-blog-generator-hexo/blob/master/gulpfile.js)\n\n## Configuration\nConfiguration setup for `_config.yml` that required for this package (you can change the values)\n```yaml\npublic_dir: \"public\"\nsource_dir: \"source\"\npost_dir: \"src-posts\"\ngenerator:\n  # enable global cache\n  cache: true\n  # transform shortcodes result to amp html\n  amp: false\n```\n\n## Copy source posts to hexo source dir\nCompiling and Copying all source posts including shortcodes etc to hexo source post directory\n\n| Source | Destination |\n| :--- | :--- |\n| ./src-posts | ./source/_posts |\n\n```bash\ngulp post:copy\n```\n\n## Anonymize External Links\nCloaking all external links to outbound page redirector, useful for SEO.\n\n| Source | Destination |\n| :--- | :--- |\n| ./.deploy_git | ./.deploy_git |\n\n```bash\ngulp safelink\n```\n\n## Automatic SEO\n- adds an alt tag to an image element when none exists\n- adds an title tag to an iframe element when none exists\n\n| Source | Destination |\n| :--- | :--- |\n| ./.deploy_git | ./.deploy_git |\n\n```bash\ngulp seo\n```\n\n## todo\n\n- CLI\n\n| \u0026#9745; | command | Description |\n| :--- | :--- | :--- |\n| \u0026#9744; | sbg copy post | process and copy post from `src-posts` to `source/_posts` |\n| \u0026#9745; | gulp --tasks | list all tasks |\n\n\u003c!--\nCheckboxed inside markdown table\n| Unchecked | Checked |\n| --------- | ------- |\n| \u0026#9744;   | \u0026#9745; |\n--\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdimaslanjaka%2Fstatic-blog-generator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdimaslanjaka%2Fstatic-blog-generator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdimaslanjaka%2Fstatic-blog-generator/lists"}