{"id":21182424,"url":"https://github.com/theme-next/theme-next-canvas-ribbon","last_synced_at":"2026-03-04T18:02:44.356Z","repository":{"id":90598673,"uuid":"115852298","full_name":"theme-next/theme-next-canvas-ribbon","owner":"theme-next","description":"canvas-ribbon.js for NexT.","archived":false,"fork":false,"pushed_at":"2020-04-05T23:24:05.000Z","size":8,"stargazers_count":14,"open_issues_count":2,"forks_count":5,"subscribers_count":13,"default_branch":"master","last_synced_at":"2024-02-23T21:37:25.803Z","etag":null,"topics":["canvas-ribbon","module","theme-next"],"latest_commit_sha":null,"homepage":"","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/theme-next.png","metadata":{"files":{"readme":"README.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}},"created_at":"2017-12-31T08:35:25.000Z","updated_at":"2023-05-14T11:24:38.000Z","dependencies_parsed_at":"2023-03-24T13:17:49.045Z","dependency_job_id":null,"html_url":"https://github.com/theme-next/theme-next-canvas-ribbon","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/theme-next%2Ftheme-next-canvas-ribbon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theme-next%2Ftheme-next-canvas-ribbon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theme-next%2Ftheme-next-canvas-ribbon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theme-next%2Ftheme-next-canvas-ribbon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/theme-next","download_url":"https://codeload.github.com/theme-next/theme-next-canvas-ribbon/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225606632,"owners_count":17495551,"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":["canvas-ribbon","module","theme-next"],"created_at":"2024-11-20T17:57:01.109Z","updated_at":"2026-03-04T18:02:39.304Z","avatar_url":"https://github.com/theme-next.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e\u003ca href=\"https://github.com/hustcc/ribbon.js\"\u003ecanvas-ribbon.js\u003c/a\u003e for \u003ca href=\"https://github.com/theme-next\"\u003eNexT\u003c/a\u003e\u003c/h1\u003e\n\n\u003ch1 align=\"center\"\u003eInstallation\u003c/h1\u003e\n\n\u003ch2\u003eIf you want to use the CDN instead of clone this repo, please jump to the Step 3.\u003c/h2\u003e\n\n\u003ch2 align=\"center\"\u003eStep 1 \u0026rarr; Go to NexT dir\u003c/h2\u003e\n\nChange dir to **NexT** directory. There must be `layout`, `source`, `languages` and other directories:\n\n```sh\n$ cd themes/next\n$ ls\n_config.yml  crowdin.yml  docs  gulpfile.js  languages  layout  LICENSE.md  package.json  README.md  scripts  source\n```\n\n\u003ch2 align=\"center\"\u003eStep 2 \u0026rarr; Get module\u003c/h2\u003e\n\nInstall module to `source/lib` directory:\n\n```sh\n$ git clone https://github.com/theme-next/theme-next-canvas-ribbon source/lib/canvas-ribbon\n```\n\n\u003ch2 align=\"center\"\u003eStep 3 \u0026rarr; Set it up\u003c/h2\u003e\n\nEnable module in **NexT** `_config.yml` file:\n\n```yml\ncanvas_ribbon:\n  enable: true\n```\n\n**And, if you wants to use the CDN, then need to set:**\n\n```yml\nvendors:\n  ...\n  canvas_ribbon: //cdn.jsdelivr.net/gh/theme-next/theme-next-canvas-ribbon@1/canvas-ribbon.js\n```\n\n\u003ch1 align=\"center\"\u003eUpdate\u003c/h1\u003e\n\n```sh\n$ cd themes/next/source/lib/canvas-ribbon\n$ git pull\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftheme-next%2Ftheme-next-canvas-ribbon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftheme-next%2Ftheme-next-canvas-ribbon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftheme-next%2Ftheme-next-canvas-ribbon/lists"}