{"id":24383321,"url":"https://github.com/firstandthird/pprogress","last_synced_at":"2025-07-25T23:34:31.596Z","repository":{"id":58225171,"uuid":"13038563","full_name":"firstandthird/pprogress","owner":"firstandthird","description":"Javascript pie style progress indicator","archived":false,"fork":false,"pushed_at":"2016-12-23T17:41:30.000Z","size":294,"stargazers_count":1,"open_issues_count":2,"forks_count":0,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-03-04T09:40:27.110Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/firstandthird.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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-09-23T14:53:03.000Z","updated_at":"2013-10-14T21:21:47.000Z","dependencies_parsed_at":"2022-08-31T04:10:16.463Z","dependency_job_id":null,"html_url":"https://github.com/firstandthird/pprogress","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/firstandthird%2Fpprogress","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/firstandthird%2Fpprogress/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/firstandthird%2Fpprogress/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/firstandthird%2Fpprogress/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/firstandthird","download_url":"https://codeload.github.com/firstandthird/pprogress/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243258504,"owners_count":20262301,"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":[],"created_at":"2025-01-19T10:14:14.484Z","updated_at":"2025-03-12T17:19:18.980Z","avatar_url":"https://github.com/firstandthird.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"#pprogress\n\njQuery plugin for a pie style progress inidcator.  Heavily inspired by iOS7 and [nprogress](http://ricostacruz.com/nprogress/).\n\n![screenshot](https://raw.github.com/firstandthird/pprogress/master/screenshot.png)\n\n##Installation\n\n###Bower\n\n`bower install pprogress`\n\n###Manual Download\n\n- [Development]()\n- [Production]()\n\n##Usage\n\n###Basic\n\n```javascript\n//element that the pie indicator will get appended to\nvar el = $(selector);\n\n//init\nel.pprogress()\n\n//start progress\nel.pprogress('start')\n\n//work gets done\n\n//work complete\nel.pprogress('done')\n```\n\n###Advanced\n\n####Options (defaults shown)\n\n```javascript\n$(selector).pprogress({\n\twidth: 100, //size of pie indicator\n\tfillColor: \"rgba(0,0,0,0.25)\", //color of pie chart\n  speed: 500, //speed for fake loader\n  rate: 0.02, //modifier for inc() and start(). Will by multiplied by Math.random()\n  cap: 0.90, //max percent complete start() will go\n  ease: function(t, b, c, d){} //easing function to use. See: http://www.gizma.com/easing/ for available functions\n})\n```\n\n####Start\nStarts a fake loader that calls inc() at configured rate.You will need to call done() when you're ready for it to finish. Will max out at 90% or configured cap. If you pass in true the random loader will be disabled.\n\n```javascript\n$(selector).pprogress('start');\n```\n\n```javascript\n$(selector).pprogress('start', true);\n```\n\n####Set\nSets the current percent complete.\n\n```javascript\n$(selector).pprogress('set', 0.5)\n```\n\n####Increment\nIncrements by random amounts. \n\n```javascript\n$(selector).pprogress('inc')\n```\n\n####Tick\nIncremements by a set amount. Adds passed value to existing percent complete.\n\n```javascript\n$(selector).pprogress('tick', 0.02);\n````\n\n####Done\nSets completion to 100%\n\n```javascript\n$(selector).pprogress('done');\n```\n\n##Development\n\n###Requirements\n\n- node and npm\n- bower `npm install -g bower`\n- grunt `npm install -g grunt-cli`\n\n###Setup\n\n- `npm install`\n- `bower install`\n\n###Run\n\n`grunt dev`\n\n###Tests\n\n`grunt mocha`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffirstandthird%2Fpprogress","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffirstandthird%2Fpprogress","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffirstandthird%2Fpprogress/lists"}