{"id":16190596,"url":"https://github.com/linusborg/vue-ko-fi-button","last_synced_at":"2025-04-07T14:28:08.941Z","repository":{"id":37693093,"uuid":"180586760","full_name":"LinusBorg/vue-ko-fi-button","owner":"LinusBorg","description":"the Ko-fi Buttton  (www.ko-fi.com) implemented as a Vue component (no affiliation)","archived":false,"fork":false,"pushed_at":"2022-12-09T19:28:49.000Z","size":3617,"stargazers_count":6,"open_issues_count":22,"forks_count":0,"subscribers_count":2,"default_branch":"develop","last_synced_at":"2025-02-13T16:54:02.678Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Vue","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/LinusBorg.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":"2019-04-10T13:22:56.000Z","updated_at":"2022-11-27T10:03:08.000Z","dependencies_parsed_at":"2023-01-25T23:16:27.449Z","dependency_job_id":null,"html_url":"https://github.com/LinusBorg/vue-ko-fi-button","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LinusBorg%2Fvue-ko-fi-button","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LinusBorg%2Fvue-ko-fi-button/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LinusBorg%2Fvue-ko-fi-button/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LinusBorg%2Fvue-ko-fi-button/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LinusBorg","download_url":"https://codeload.github.com/LinusBorg/vue-ko-fi-button/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247668770,"owners_count":20976267,"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-10-10T07:43:41.876Z","updated_at":"2025-04-07T14:28:08.903Z","avatar_url":"https://github.com/LinusBorg.png","language":"Vue","funding_links":["https://ko-fi.com/Manage/Widgets","https://ko-fi.com/R6R7QW4D'"],"categories":[],"sub_categories":[],"readme":"# vue-ko-fi-button\n\n\u003e A Vue component to add the KoFi Button to your Vue apps.\n\n## About\n\n**Disclaimer**: I'm not working for www.ko-fi.com or am in any other way affiliated with them except for using their service. \n\nI created this component because I wanted to implement their [button widget](https://ko-fi.com/Manage/Widgets) into my Vue apps, but found it difficult to do so.\n\nIt looks  kind of like this (even though this one is the static version for markdown):\n\n\u003ca href='https://ko-fi.com/R6R7QW4D' target='_blank'\u003e\n  \u003cimg height='36' style='border:0px;height:36px;' src='https://az743702.vo.msecnd.net/cdn/kofi3.png?v=2' border='0' alt='Buy Me a Coffee at ko-fi.com' /\u003e\n\u003c/a\u003e\n\nI'm using their CSS with very little tweaks, and of course link to their images. I hope that's cool with them.\n\n## Install\n\n```bash\nnpm i -D @linusborg/vue-ko-fi-button\n# or\nyarn add -D @linusborg/vue-ko-fi-button\n```\n\n## ES5/ES6\n\n* The package's main export is a .vue File containing ES5 code (IE-compatible).\n* If you want to use the ES6-version directly, import from `'@linusborg/vue-ko-fi-button/es6/KoFiButton.vue'`\n\n### In the browser\n\nThe package also comes with a UMD build if you really need to include it with a `\u003cscript\u003e` element.\n\n```html\n\u003cscript src=\"https://unpkg.com/@linusborg/vue-ko-fi-button/umd/VueKoFiButton.umd.min.js\"\u003e\u003c/script\u003e\n```\n\nThe component will be avaliable as `window.VueKoFiButton`.\n\n## Usage\n\n```html\n\u003ctemplate\u003e\n  \u003cKoFiButton \n    username=\"linusborg\"\n    color=\"#CCC\"\n    :title=\"Can I haz coffee plz?\"\n  /\u003e\n\u003c/template\u003e\n\u003cscript\u003e\nimport KoFiButton from '@linusborg/vue-ko-fi-button'\nexport default {\n  name: 'YourComponent',\n  components: {\n    KoFiButton\n  }\n}\n```\n\n## Development\n\n\u003c!-- markdownlint-disable MD033 --\u003e\n\u003cdetails\u003e\n  \u003csummary\u003eBoring details about this project's dev setup\u003c/summary\u003e\n\n### Setup\n\n```bash\nyarn install\n```\n\n### Compiles and hot-reloads for demo/development\n\n```bash\nyarn serve\n```\n\n### Compiles and minifies for production\n\n```bash\nyarn build\n```\n\n### Lints and fixes files\n\n```bash\nyarn lint\n```\n\n### Run unit tests\n\n```bash\nyarn test:unit\n```\n\n### Release a new version\n\n```bash\n\nyarn relase\n```\n\n### Customize configuration\n\nSee [Configuration Reference](https://cli.vuejs.org/config/).\n\n\u003c/details\u003e\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flinusborg%2Fvue-ko-fi-button","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flinusborg%2Fvue-ko-fi-button","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flinusborg%2Fvue-ko-fi-button/lists"}