{"id":20762014,"url":"https://github.com/donkeyclip/motorcortex-banners","last_synced_at":"2025-04-30T06:42:00.012Z","repository":{"id":37531554,"uuid":"300254973","full_name":"donkeyclip/motorcortex-banners","owner":"donkeyclip","description":null,"archived":false,"fork":false,"pushed_at":"2025-04-30T05:29:54.000Z","size":24317,"stargazers_count":0,"open_issues_count":21,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-30T06:31:47.256Z","etag":null,"topics":["banners","motorcortex","motorcortex-plugin"],"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/donkeyclip.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":"CODE_OF_CONDUCT.md","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,"zenodo":null}},"created_at":"2020-10-01T11:29:42.000Z","updated_at":"2023-01-31T18:32:22.000Z","dependencies_parsed_at":"2023-02-17T16:45:50.597Z","dependency_job_id":"760c3219-599e-4374-b761-a427e63e6fb3","html_url":"https://github.com/donkeyclip/motorcortex-banners","commit_stats":{"total_commits":676,"total_committers":13,"mean_commits":52.0,"dds":0.4807692307692307,"last_synced_commit":"02d1b4249751b50b34ac119d8030909ef2962760"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/donkeyclip%2Fmotorcortex-banners","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/donkeyclip%2Fmotorcortex-banners/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/donkeyclip%2Fmotorcortex-banners/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/donkeyclip%2Fmotorcortex-banners/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/donkeyclip","download_url":"https://codeload.github.com/donkeyclip/motorcortex-banners/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251657343,"owners_count":21622813,"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":["banners","motorcortex","motorcortex-plugin"],"created_at":"2024-11-17T10:28:39.724Z","updated_at":"2025-04-30T06:41:59.978Z","avatar_url":"https://github.com/donkeyclip.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MotorCortex-Banners\n\n**Table of Contents**\n\n- [MotorCortex-Banners](#motorcortex-banners)\n  - [Demo](#demo)\n- [Intro / Features](#intro--features)\n- [Getting Started](#getting-started)\n  - [Installation](#installation)\n  - [Importing and Loading](#importing-and-loading)\n- [Creating Incidents](#creating-incidents)\n  - [BannerA](#bannera)\n- [Adding Incidents in your clip](#adding-incidents-in-your-clip)\n- [Contributing](#contributing)\n- [License](#license)\n- [Sponsored by](#sponsored-by)\n\n## Demo\n\n[Check it out here](https://donkeyclip.github.io/motorcortex-banners/demo/index.html)\n\n# Intro / Features\nIf you are looking for a simple way to create a starting banner, MotorCortex-Banners is the right plugin for your clip.\n\nThis Plugin exposes one Incident:\n- BannerA\n\n# Getting Started\n\n## Installation\n\n```bash\n$ npm install --save @donkeyclip/motorcortex-banners\n# OR\n$ yarn add @donkeyclip/motorcortex-banners\n```\n\n## Importing and loading\n\n```javascript\nimport { loadPlugin } from \"@donkeyclip/motorcortex\";\nimport BannersDefinition from \"@donkeyclip/motorcortex-banners\";\nconst Banner = loadPlugin(BannersDefinition);\n```\n\n# Creating Incidents\n\n## BannerA\n\nThe only thing you have to do is to give values to the attributes you want to include in your clip.\n\n```javascript\nconst BannerA = new Banner.BannerA(\n  {\n    width: 400,\n    height: 700,\n    bgUrl: \"./bg2.jpg\",\n    overlayColor,\n    imgWidth: 1002,\n    imgHeight: 1280,\n    txtGroup: \"MOTORCORTEX\",\n    txtGroupSize: 40,\n    strokeText: \"WE WIN THE GAME IN THE CSS\",\n    mainColor: \"#ffff00\",\n    centerText: \"Yeyey\",\n  },\n  {\n    selector: \".container1\",\n  }\n);\n```\n\n### BannerA Attrs\n\n| Name         |               Are                | Values |\n| ------------ | :------------------------------: | -----: |\n| width        |        width of incident         |    num |\n| height       |        height of incident        |    num |\n| bgUrl        |       url of the bg image        | string |\n| imgWidth     |  the original widht of the img   |    num |\n| imgHeight    |  the original height of the img  |    num |\n| txtGroup     |       the transparent text       | string |\n| txtGroupSize | the size of the transparent text |    num |\n| mainColor    |    the main color of the clip    |  color |\n| centerText   |      the text with shadows       | string |\n| overlayColor |      list of hex colors          | string |\n\n# Adding Incidents in your clip\n\n```javascript\nclipName.addIncident(incidentName,startTime);\n```\n\n# Contributing \n\nIn general, we follow the \"fork-and-pull\" Git workflow, so if you want to submit patches and additions you should follow the next steps:\n1.\t**Fork** the repo on GitHub\n2.\t**Clone** the project to your own machine\n3.\t**Commit** changes to your own branch\n4.\t**Push** your work back up to your fork\n5.\tSubmit a **Pull request** so that we can review your changes\n\n\n# License\n\n[MIT License](https://opensource.org/licenses/MIT)\n\n# Sponsored by\n[\u003cimg src=\"https://presskit.donkeyclip.com/logos/donkey%20clip%20logo.svg\" width=250\u003e\u003c/img\u003e](https://donkeyclip.com)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdonkeyclip%2Fmotorcortex-banners","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdonkeyclip%2Fmotorcortex-banners","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdonkeyclip%2Fmotorcortex-banners/lists"}