{"id":42943742,"url":"https://github.com/jonchretien/tickit","last_synced_at":"2026-01-30T20:12:20.968Z","repository":{"id":48348448,"uuid":"52763280","full_name":"jonchretien/tickit","owner":"jonchretien","description":"A basic ticker that uses CSS animations \u0026 vanilla JavaScript.","archived":false,"fork":false,"pushed_at":"2025-09-06T13:25:59.000Z","size":13,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-06T15:22:26.631Z","etag":null,"topics":["css","css-animations","javascript","ticker","vanilla-javascript"],"latest_commit_sha":null,"homepage":null,"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/jonchretien.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-02-29T04:09:42.000Z","updated_at":"2025-09-06T13:26:02.000Z","dependencies_parsed_at":"2022-08-29T19:51:21.618Z","dependency_job_id":null,"html_url":"https://github.com/jonchretien/tickit","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jonchretien/tickit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonchretien%2Ftickit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonchretien%2Ftickit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonchretien%2Ftickit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonchretien%2Ftickit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jonchretien","download_url":"https://codeload.github.com/jonchretien/tickit/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonchretien%2Ftickit/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28918235,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-30T19:10:10.838Z","status":"ssl_error","status_checked_at":"2026-01-30T19:06:40.573Z","response_time":66,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["css","css-animations","javascript","ticker","vanilla-javascript"],"created_at":"2026-01-30T20:12:20.886Z","updated_at":"2026-01-30T20:12:20.956Z","avatar_url":"https://github.com/jonchretien.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# tickit\n\n_A basic ticker that uses CSS animations \u0026 vanilla JavaScript. It supports vertical scrolling and runs either on an infinite timed loop or when the user clicks the container._\n\n## Install\n\n### Download\n\n#### CSS\n\n+ [tickit.css](https://github.com/jonchretien/tickit/blob/master/dist/css/tickit.css)\n\n#### JavaScript\n\n+ [tickit.js](https://github.com/jonchretien/tickit/blob/master/dist/js/tickit.js) \n\n### Markup\n\n**tickit** works with a base element and an inner container. Child elements are dynamically added.\n\n``` html\n\u003cdiv id=\"tickit\" class=\"tickit\"\u003e\n  \u003cdiv class=\"tickit-inner js-tickit-inner\"\u003e\u003c/div\u003e\n\u003c/div\u003e\n```\n\n### JavaScript\n\n``` js\n/**\n * @param {Object} config - Tickit configuration values.\n * @param {array} config.data - The text to display.\n * @param {string} config.selector - The id for the container element.\n * @param {number} config.duration - The animation duration.\n * @param {number} config.initialPos - The initial offset position.\n * @param {string} config.behavior - The user interaction behavior.\n */\nconst config = {\n  data: ['item 1', 'item 2', 'item 3'],\n  selector: '#tickit',\n  duration: 1000,\n  initialPos: -15,\n  behavior: 'scroll'\n};\n\nconst tickit = Tickit(config).init();\n```\n\n## Browser Support\n\nStill need to test in IE, iOS, and Android, but otherwise most modern browsers\n\n## License\n\n**tickit** is released under the [MIT license](https://github.com/jonchretien/tickit/blob/master/LICENSE.txt).\n\n## To Do\n\n+ Demos\n+ Tests\n+ Account for longest txt in arr (for box width)\n+ Test in IE, iOS, and Android browsers\n+ Minify files\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonchretien%2Ftickit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjonchretien%2Ftickit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonchretien%2Ftickit/lists"}