{"id":19413052,"url":"https://github.com/flatlogic/widgster","last_synced_at":"2025-12-12T05:53:34.532Z","repository":{"id":16908673,"uuid":"19669734","full_name":"flatlogic/widgster","owner":"flatlogic","description":"Small jQuery plugin that provides an easy way to handle basic widget functions like collapsing, closing, ajax-refreshing \u0026 fullsreening.","archived":false,"fork":false,"pushed_at":"2018-03-21T18:54:36.000Z","size":12,"stargazers_count":37,"open_issues_count":0,"forks_count":14,"subscribers_count":11,"default_branch":"master","last_synced_at":"2025-08-09T19:13:35.552Z","etag":null,"topics":[],"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/flatlogic.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}},"created_at":"2014-05-11T15:29:06.000Z","updated_at":"2022-08-04T10:42:54.000Z","dependencies_parsed_at":"2022-08-26T16:30:54.952Z","dependency_job_id":null,"html_url":"https://github.com/flatlogic/widgster","commit_stats":null,"previous_names":["okendoken/widgster"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/flatlogic/widgster","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flatlogic%2Fwidgster","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flatlogic%2Fwidgster/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flatlogic%2Fwidgster/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flatlogic%2Fwidgster/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/flatlogic","download_url":"https://codeload.github.com/flatlogic/widgster/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flatlogic%2Fwidgster/sbom","scorecard":{"id":402765,"data":{"date":"2025-08-11","repo":{"name":"github.com/flatlogic/widgster","commit":"8e2e56632dd1334b17f4a027e13eec81aeb437dd"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Code-Review","score":0,"reason":"Found 1/13 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 1 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-18T20:28:04.890Z","repository_id":16908673,"created_at":"2025-08-18T20:28:04.890Z","updated_at":"2025-08-18T20:28:04.890Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279002963,"owners_count":26083487,"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-10T02:00:06.843Z","response_time":62,"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-10T12:30:23.002Z","updated_at":"2025-10-10T06:10:15.362Z","avatar_url":"https://github.com/flatlogic.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Widgster\n======================\n\nSmall jQuery plugin that provides an easy way to handle basic widget functions like collapsing, closing, ajax-refreshing \u0026 fullsreening.\n\n**[Demo](http://widgster.flatlogic.com/demo/index.html)**\n\n**[Advanced Demo](http://demo.flatlogic.com/4.0.1/dark/grid_live.html)**\n\nUse\n------------\n\n\nTo apply all these features to your default widget you have to add appropriate links (or buttons) to it:\n\n    \u003csection class=\"widget\"\u003e\n        \u003cheader\u003e\n            \u003ch3\u003eHeader\u003c/h3\u003e\n            \u003cdiv class=\"widget-controls\"\u003e\n                \u003ca data-widgster=\"load\" href=\"#\"\u003eReload\u003c/a\u003e\n                \u003ca data-widgster=\"expand\" href=\"#\"\u003eExpand\u003c/a\u003e\n                \u003ca data-widgster=\"collapse\" href=\"#\"\u003eCollapse\u003c/a\u003e\n                \u003ca data-widgster=\"fullscreen\" href=\"#\"\u003eFullscreen\u003c/a\u003e\n                \u003ca data-widgster=\"restore\" href=\"#\"\u003eRestore\u003c/a\u003e\n                \u003ca data-widgster=\"close\" href=\"#\"\u003eClose\u003c/a\u003e\n            \u003c/div\u003e\n        \u003c/header\u003e\n        \u003cdiv class=\"widget-body\"\u003e\n            Body\n        \u003c/div\u003e\n    \u003c/section\u003e\n\nIn the example above links are put into a `.widget-controls` but you can put them anywhere inside of widget.\n\nThen widgster needs to be initialized via javascript:\n\n    $('.widget').widgster();\n    \nAs you could guess `data-widgster` attribute defines widget action to be performed when link is clicked.\n\nActions\n------------\n\n*   **close** - closes the widget;\n*   **collapse** - collapses (minimizes) the widget. An element holding this data attribute will be hidden when widget gets expanded;\n*   **expand** - expands the widget. An element holding this data attribute will be hidden when widget gets collapsed;\n*   **fullscreen** - fullscreens the widget. An element holding this data attribute will be hidden when widget gets restored;\n*   **restore** - restores the widget back to its position. An element holding this data attribute will be hidden when widget gets fullscreened;\n*   **load** - reloads widget content from the url provided with `data-widget-load` attribute.\n\nAll actions may be called via js:\n\n    $('.widget').widgster('close');\n    \nOptions\n------------\n\n*   **collapsed** - if true collapses widget after page load;\n*   **fullscreened** - if true fullscreens widget after page load;\n*   **bodySelector** - widget body selector. Used for loading and collapsing. Default is `.body`;\n*   **load** - an url to fetch widget body from. Default is `undefined`;\n*   **showLoader** - whether to show a loader when ajax refresh performed. Default is `true`;\n*   **autoload** - whether to automatically perform ajax refresh after page load. May be set to an integer value. If set, for example, to 2000 will refresh the widget every 2 seconds. Default is `false`;\n*   **closePrompt(callback)** - a function to be called when closing. Closing is only performed when `callback` is called.\n\nWidgster accepts an object with options:\n\n    $('.widget').widgster({\n        collapsed: true\n    });\n    \nEvents\n------------\n\nEach action fires both before and after event. Events have the same names as actions. Before event may be canceled.\n\nFor example, to make refresh button spin:\n\n    $('.widget').on(\"load.widgster\", function(){\n        $(this).find('[data-widgster=\"load\"] \u003e i').addClass('fa-spin')\n    }).on(\"loaded.widgster\", function(){\n        $(this).find('[data-widgster=\"load\"] \u003e i').removeClass('fa-spin')\n    });\n\nHow can I support the developers?\n------------------------------------\n- Star our GitHub repo :star:\n- Create pull requests, submit bugs, suggest new features or documentation updates :wrench:\n- Follow us on [Twitter](https://twitter.com/flatlogic) :feet:\n- Like our page on [Facebook](https://www.facebook.com/flatlogic/) :thumbsup:\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflatlogic%2Fwidgster","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fflatlogic%2Fwidgster","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflatlogic%2Fwidgster/lists"}