{"id":16214070,"url":"https://github.com/bitbrain/icebearjs","last_synced_at":"2026-06-30T11:31:57.978Z","repository":{"id":9625598,"uuid":"11554016","full_name":"bitbrain/icebearjs","owner":"bitbrain","description":"A light weight JQuery plugin collection","archived":false,"fork":false,"pushed_at":"2015-10-12T09:14:35.000Z","size":457,"stargazers_count":4,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-07T22:17:07.831Z","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":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bitbrain.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":"2013-07-20T22:34:50.000Z","updated_at":"2017-09-26T18:50:29.000Z","dependencies_parsed_at":"2022-09-22T17:51:02.115Z","dependency_job_id":null,"html_url":"https://github.com/bitbrain/icebearjs","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/bitbrain/icebearjs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitbrain%2Ficebearjs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitbrain%2Ficebearjs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitbrain%2Ficebearjs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitbrain%2Ficebearjs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bitbrain","download_url":"https://codeload.github.com/bitbrain/icebearjs/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitbrain%2Ficebearjs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34965642,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-30T02:00:05.919Z","response_time":92,"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-10-10T11:09:32.900Z","updated_at":"2026-06-30T11:31:57.954Z","avatar_url":"https://github.com/bitbrain.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"![icebearJS](icebearjs-head.png)\n\nA lightweight jQuery plugin which shows development progress.\n\nGetting started\n===\n\nTo use IcebearJS properly you have to include it. Put the following line in your head code:\n\n```html\n\u003cscript type=\"text/javascript\" src=\"http://dev.my-reality.de/jquery/icebearjs/1.1/jquery.icebearjs.min.js\"\u003e\u003c/script\u003e\n```\n\nAfterwards you can use supported IcebearJS. To have a basic understanding about what IcebearJS does, [take a look at the demo](http://dev.my-reality.de/jquery/icebearjs/demo/).\n\nMetadata\n===\n\nThis plugin generates HTML elements which base on JQueryUI. You can define a json source in a repository first, in the following example a basic ```meta.json``` file, which should match the following structure:\n\n```json\n{\n        \"name\" : \"name-of-your-app\",\n        \"author\" : \"name-of-the-author\",\n        \"url\" : \"url-of-your-app\",\n        \"version\" : \"0.8\",\n        \"phase\" : \"beta\",\n        \"progress\" : \"73\",\n        \"phaselist\" : [\n            \"dev\", \"alpha\", \"beta\", \"release\"\n        ],\n                \n        \"patchnotes\" : [\n        {\n         \"name\" : \"Ruins of Zandaria\",\n         \"version\" : \"1.6.2\",\n         \"description\" : \"Dark creatures enter the realm. It is time for a new battle!\",\n         \"patch\" : [\n            {\n            \"caption\" : \"General\",\n            \"content\" : [\n                  {\n                     \"type\" : \"added\",\n                     \"description\" : \"New menu has been implemented\"\n                  },\n                  {\n                     \"type\" : \"removed\",\n                     \"description\" : \"Removed old buttons\"\n                  }\n               ]\n            },\n            {\n            \"caption\" : \"Features\",\n            \"content\" : [\n                  {\n                     \"type\" : \"modified\",\n                     \"description\" : \"Changed skin of 'Dark Thrull'\"\n                  },\n                  {\n                     \"type\" : \"removed\",\n                     \"description\" : \"Excluded player vs. player mode (PVP)\"\n                  }\n               ]\n            }\n         ]\n      }\n   ],\n           \n   \"team\" : [\n      {\n         \"name\" : \"Miguel Gonzalez\",\n         \"job\": \"Developer\",\n         \"email\" : \"miguel-gonzalez@gmx.de\",\n         \"url\" : \"http://my-reality.de\",\n         \"facebook\" : \"https://facebook.com/3928u28u\",\n         \"twitter\" : \"https://twitter.com/sdccsds\",\n         \"googleplus\" : \"https://plus.google.com/2832928392\"\n      },\n      {\n         \"name\" : \"Markus Mustermann\",\n         \"job\": \"Manager\",\n         \"email\" : \"m.mustermann@gmx.de\",\n         \"url\" : \"http://musterhausen.e\",\n         \"facebook\" : \"https://facebook.com/3928u28u\",\n         \"twitter\" : \"https://twitter.com/sdccsds\",\n         \"googleplus\" : \"https://plus.google.com/2832928392\"\n      }\n   ]\n}\n```\n\nYou can use another json source, it is only important to have the upper structure provided.\n\n### Reading from remote\n\nMaybe you don't want to have a local meta file. In many cases you have a nice meta file in an external repository. Because of some security issues, IcebearJS works with jsonp (Jason with padding).\n\nSometimes, the following error occurs:\n\n```text\nOrigin http://your-server is not allowed by Access-Control-Allow-Origin.\n```\n\nTo solve the bug, write a small php script and call it ```proxy.php```:\n```php\n\u003c?php\n// File Name: proxy.php\nif (!isset($_GET['url'])) die();\n$url = urldecode($_GET['url']);\n$protocol = parse_url($url);\n$url = $protocol['scheme'] . '://' . str_replace($protocol['scheme'] . '://', '', $url);\necho file_get_contents($url);\n?\u003e\n```\n\nNow you can define the datasource as mentioned here:\n```javascript\ndatasource : 'proxy.php?url=https://raw.github.com/MyRealityCoding/galacticum/master/res/meta.json'\n```\n\nElements\n===\n\n### icebearProgress\n\nThis UI element provides a animated progress bar which displays the current development status of your app. Additionally you have to pass the location of the meta file as parameter:\n\n```html\n\u003cdiv id=\"progress\"\u003e\u003c/div\u003e\n\n\u003cscript type=\"text/javascript\u003e\"\u003e\n$('#progress').icebearProgress({\n        datasource : 'proxy.php?url=https://raw.github.com/MyRealityCoding/galacticum/master/res/meta.json'\n});\n\u003c/script\u003e\n```\nThat's all! Now you can view a full working, animated progress bar which displays the current development status of your game. Additionally you can style it with CSS to improve appearance.\n\n#### Options\n\nThere are more than the datasource attribute to configure:\n\n* *datasource* - Set a source for the json input (Standard: ```\"meta.json\"```)\n* *animated* - Determines if the bar should be animated at all (Standard: true)\n* *animationType*: jQueryUI [easing effects](http://api.jqueryui.com/easings/) (Standard: ```\"easeOutBounce\"```)\n* *duration*: Duration of animation in miliseconds (Standard: ```1000```)\n* *onLeavePhase*: Event function which is called on phase leaving (Standard: ```function(element) { }```)\n* *onEnterPhase*: Event function which is called on phase entering (Standard: ```function(element) { }```)\n* *internalCss*: Determines if internal css should be used at all (Standard: ```true```)\n\n### icebearPatch\n\nThis UI element provides patchnotes which can be styled with CSS afterwards:\n\n```html\n\u003cdiv id=\"patchnotes\"\u003e\u003c/div\u003e\n\n\u003cscript type=\"text/javascript\u003e\"\u003e\n$('#patchnotes').icebearPatch({\n        datasource : 'proxy.php?url=https://raw.github.com/MyRealityCoding/galacticum/master/res/meta.json'\n});\n\u003c/script\u003e\n```\n\n#### Options\n\n * *datasource*: The location of your meta data file\n * *version*: Shows the version of the patch\n * *description*: shows the description of a patch\n \n### icebearTeam\n\nThis UI element provides a team view which can be styled with CSS afterwards:\n\n```html\n\u003cdiv id=\"team\"\u003e\u003c/div\u003e\n\n\u003cscript type=\"text/javascript\u003e\"\u003e\n$('#team').icebearTeam({\n        datasource : 'proxy.php?url=https://raw.github.com/MyRealityCoding/galacticum/master/res/meta.json'\n});\n\u003c/script\u003e\n```\n\n#### Options\n\n * *datasource*: The location of your meta data file\n * *job*: Shows the job title\n * *social*: Shows social box\n * *linked*: Add a link to each member\n \n### icebearMeta\n\nThis UI element provides meta information:\n\n```html\n\u003cdiv id=\"version\"\u003e\u003c/div\u003e\n\n\u003cscript type=\"text/javascript\u003e\"\u003e\n$('#version').icebearMeta({\n        datasource : 'proxy.php?url=https://raw.github.com/MyRealityCoding/galacticum/master/res/meta.json'\n});\n\u003c/script\u003e\n```\n\n#### Options\n\n * *datasource*: The location of your meta data file\n * *type*: Type of the meta data (default: version)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbitbrain%2Ficebearjs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbitbrain%2Ficebearjs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbitbrain%2Ficebearjs/lists"}