{"id":18956541,"url":"https://github.com/swader/trelloui","last_synced_at":"2025-10-04T02:17:38.051Z","repository":{"id":24882381,"uuid":"28298411","full_name":"Swader/TrelloUI","owner":"Swader","description":null,"archived":false,"fork":false,"pushed_at":"2014-12-21T12:15:07.000Z","size":164,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-02T04:53:56.027Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/Swader.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-12-21T12:09:08.000Z","updated_at":"2015-06-10T03:33:14.000Z","dependencies_parsed_at":"2022-08-20T20:10:42.637Z","dependency_job_id":null,"html_url":"https://github.com/Swader/TrelloUI","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Swader/TrelloUI","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Swader%2FTrelloUI","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Swader%2FTrelloUI/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Swader%2FTrelloUI/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Swader%2FTrelloUI/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Swader","download_url":"https://codeload.github.com/Swader/TrelloUI/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Swader%2FTrelloUI/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278254466,"owners_count":25956604,"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","status":"online","status_checked_at":"2025-10-04T02:00:05.491Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-11-08T13:52:45.579Z","updated_at":"2025-10-04T02:17:38.031Z","avatar_url":"https://github.com/Swader.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TrelloUI Helper Lib v0.0.1\r\n\r\nA helper library for extending Trello's UI. You'll have little use for it outside browser extension development.\r\n\r\nCurrently extremely rudimentary, built for tutorial on SitePoint.com/javascript.\r\n\r\n## Functionality and Usage\r\n\r\nCurrently, the library merely dispatches an event when the #board element has loaded, and/or the .list elements have appeared. This allows you to attach events and UI mods on those elements reliably - Trello's UI is very ajaxy and as such often emits a page ready event before the elements have loaded. This helper library makes that problem go away (for the most part).\r\n\r\nTo use it, download [this file](src/trelloui.js), include it in your project and then attach listeners for either (or all) of the following events:\r\n\r\n- trelloui-boardready\r\n- trelloui-listsready\r\n\r\nlike so:\r\n\r\n```\r\ndocument.addEventListener('trelloui-boardready', function() {\r\n    console.log(\"Board is ready!\");\r\n});\r\n```\r\n\r\n## Contributions\r\n\r\nContributions are welcome - send me your pull requests and I'll take a look at them ASAP. The only rule is: no frameworks. No Angular, no Ember, none of that nonsense. The only allowed third party resource is jQuery, and that's just because Trello's JS client requires it.\r\n\r\nPerformance is king - if you need to sacrifice code verbosity or DRY principles for performance gains, do it - I'd rather use 1% less CPU than have fully reusable components.\r\n\r\nI won't be writing tests because I hate writing JavaScript, but if you want to and know how, feel free, I'll be very grateful.\r\n\r\n## License\r\n\r\nSee [LICENSE](LICENSE.md).\r\n\r\n## Todo\r\n\r\n- remove jQuery dependency (low priority - the Trello client needs it anyway)\r\n- optimize the interval checker (sometimes uses more CPU than I'd like it to)\r\n- add more events (menusready, avatarsready...?)\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fswader%2Ftrelloui","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fswader%2Ftrelloui","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fswader%2Ftrelloui/lists"}