{"id":13494057,"url":"https://github.com/ohroy/hexo-abbrlink","last_synced_at":"2025-12-16T03:04:20.079Z","repository":{"id":43137860,"uuid":"61875630","full_name":"ohroy/hexo-abbrlink","owner":"ohroy","description":"create one and only link for every post for hexo","archived":false,"fork":false,"pushed_at":"2024-06-16T12:39:34.000Z","size":56,"stargazers_count":372,"open_issues_count":15,"forks_count":37,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-10-29T00:14:10.190Z","etag":null,"topics":["hexo","hexo-abbrlink","hexo-plugin","rozbo"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"wtfpl","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ohroy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"License","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":null,"patreon":null,"open_collective":"hexo-abbrlink","ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":["https://blog.zz173.com/sponsor"]}},"created_at":"2016-06-24T10:04:04.000Z","updated_at":"2024-10-23T13:51:42.000Z","dependencies_parsed_at":"2022-08-04T14:30:19.116Z","dependency_job_id":null,"html_url":"https://github.com/ohroy/hexo-abbrlink","commit_stats":null,"previous_names":["ohroy/hexo-abbrlink","rozbo/hexo-abbrlink"],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ohroy%2Fhexo-abbrlink","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ohroy%2Fhexo-abbrlink/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ohroy%2Fhexo-abbrlink/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ohroy%2Fhexo-abbrlink/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ohroy","download_url":"https://codeload.github.com/ohroy/hexo-abbrlink/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":222382390,"owners_count":16975376,"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":["hexo","hexo-abbrlink","hexo-plugin","rozbo"],"created_at":"2024-07-31T19:01:21.356Z","updated_at":"2025-12-16T03:04:15.030Z","avatar_url":"https://github.com/ohroy.png","language":"JavaScript","funding_links":["https://opencollective.com/hexo-abbrlink","https://blog.zz173.com/sponsor"],"categories":["JavaScript"],"sub_categories":[],"readme":"# hexo-abbrlink\n[![npm](https://img.shields.io/npm/dm/hexo-abbrlink.svg)](https://www.npmjs.com/package/hexo-abbrlink)\n[![npm](https://img.shields.io/npm/dy/hexo-abbrlink.svg)](https://www.npmjs.com/package/hexo-abbrlink)\n[![npm](https://img.shields.io/npm/dt/hexo-abbrlink.svg)](https://www.npmjs.com/package/hexo-abbrlink)\n\nA [Hexo plugin](https://hexo.io/plugins/) to generate static post link based on title and data in the post front.\n\nThis plugin supports `.textbundle` -- a file format contents markdown and its assets. Actually, `.textbundle` file is a folder which shows like a file in Finder on macOS.\n\n## Suggest\n[https://github.com/rozbo/hexo-abbrlink2](https://github.com/rozbo/hexo-abbrlink2), supports the orderly growth of ID is beta now.\nThe working principle of `hexo-abbrlink2` is different from this plug-in, not as an upgraded version of this plugin, they are different individuals.\nBut `hexo-abbrlink2` is compatible with the previous configuration of this plugin.\nAs a supplement to this plugin, use it only when you really need an orderly growing id.\n## How to install\n\nAdd plugin to Hexo:\n\n```\nnpm install hexo-abbrlink --save\n```\n\nModify permalink in config.yml file:\n\n```\npermalink: posts/:abbrlink/ \n# or\npermalink: posts/:abbrlink.html\n```\n\nConfigs in `_config.yml`:\n\n```\n# abbrlink config\nabbrlink:\n  alg: crc32      # Algorithm used to calc abbrlink. Support crc16(default) and crc32\n  rep: hex        # Representation of abbrlink in URLs. Support dec(default) and hex\n  drafts: false   # Whether to generate abbrlink for drafts. (false in default)\n  force: false    # Enable force mode. In this mode, the plugin will ignore the cache, and calc the abbrlink for every post even it already had an abbrlink. (false in default)\n  writeback: true # Whether to write changes to front-matters back to the actual markdown files. (true in default)\n```\n\n## Sample\n\nThe generated link will look like the following:\n\n```\ncrc16 \u0026 hex\nhttps://post.zz173.com/posts/66c8.html\n\ncrc16 \u0026 dec\nhttps://post.zz173.com/posts/65535.html\n```\n\n```\ncrc32 \u0026 hex\nhttps://post.zz173.com/posts/8ddf18fb.html\n\ncrc32 \u0026 dec\nhttps://post.zz173.com/posts/1690090958.html\n```\n\n## More info\n\nsee [this](https://post.zz173.com/detail/hexo-abbrlink.html)(Chinese)\n\n## ThanksFor\n\n[NoahDragon](https://github.com/NoahDragon)\n\n\n## Sponsor\nThe project is develop by [JetBrains Ide](https://www.jetbrains.com/?from=puck)\n\n[![](https://www.jetbrains.com/company/brand/img/logo1.svg)](https://www.jetbrains.com/?from=puck)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fohroy%2Fhexo-abbrlink","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fohroy%2Fhexo-abbrlink","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fohroy%2Fhexo-abbrlink/lists"}