{"id":17181516,"url":"https://github.com/dimitarchristoff/loadr","last_synced_at":"2025-07-28T05:05:05.294Z","repository":{"id":140664134,"uuid":"43224848","full_name":"DimitarChristoff/loadr","owner":"DimitarChristoff","description":"Random loading messages for the browser or node","archived":false,"fork":false,"pushed_at":"2018-02-01T17:31:50.000Z","size":1963,"stargazers_count":15,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-20T00:10:34.815Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://dimitarchristoff.github.io/loadr","language":"CSS","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/DimitarChristoff.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2015-09-26T22:05:21.000Z","updated_at":"2023-09-08T17:02:04.000Z","dependencies_parsed_at":"2023-04-15T14:34:54.392Z","dependency_job_id":null,"html_url":"https://github.com/DimitarChristoff/loadr","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/DimitarChristoff/loadr","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DimitarChristoff%2Floadr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DimitarChristoff%2Floadr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DimitarChristoff%2Floadr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DimitarChristoff%2Floadr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DimitarChristoff","download_url":"https://codeload.github.com/DimitarChristoff/loadr/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DimitarChristoff%2Floadr/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267464522,"owners_count":24091505,"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-07-28T02:00:09.689Z","response_time":68,"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-15T00:34:33.201Z","updated_at":"2025-07-28T05:05:05.285Z","avatar_url":"https://github.com/DimitarChristoff.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# loadr [![Build Status](https://travis-ci.org/DimitarChristoff/loadr.svg?branch=master)](https://travis-ci.org/DimitarChristoff/loadr) [![Codecov](https://codecov.io/github/DimitarChristoff/loadr/coverage.svg)](https://codecov.io/github/DimitarChristoff/loadr/)\n\nNot just another spinner: keep your visitors amused while your app is loading something. Over 200 random messages to show!\n\n[![Example](https://rawgit.com/DimitarChristoff/loadr/master/example/loadr.gif)](http://jsfiddle.net/dimitar/kvxyc1bg/)\n\n[See example in JSfiddle](http://jsfiddle.net/dimitar/kvxyc1bg/)\n\nIt can auto rotate messages given an element or just return random messages.\n\nWorks under ES6 or ES5, browser or nodejs -- no external dependencies. Easily usable in React.js\n\n## usage\n\n```sh\n$ npm i randloadr --save\n```\n\nVia ES2016+\n\n```js\nimport Loadr from 'randloadr'; // or require('randloadr')\n\nconst instance = new Loadr(document.querySelector('.loader'));\ninstance.start();\ninstance.stop();\n```\n\nIn ES5 from global object (transpiles to window.loadr.default because of modules)\n\n```javascript\n(function(Loadr){\n  var instance = new Loadr(document.querySelector('.loader'));\n\n  instance.start();\n  // ...\n  instance.stop();\n}(this.loadr.default);\n```\n\nChange some options\n\n```javascript\nconst instance = new Loadr(document.querySelector('.loader', {\n  delay: 2000,\n  before: '\u003ci class=\"fa fa-spin fa-pulse\" /\u003e '\n});\n```\n\nJust get random excuse messages\n\n```javascript\nconst instance = new Loadr();\nconsole.log(instance.get());\n```\n\nExample as a react component\n\n```jsx\nimport React from 'react';\nimport Loadr from 'randloadr';\n\nclass Loader extends React.Component {\n\n  static defaultProps = {\n    loadrOptions: {}\n  }\n\n  componentDidMount(){\n    if (!this.Element){\n      return;\n    }\n    this.instance = new Loadr(this.Element, this.props.loadrOptions);\n    this.instance.start();\n  }\n\n  componentWillUnmount(){\n    this.instance.stop();\n  }\n\n  render(){\n    return \u003cdiv className='loader' {...this.props} ref={el =\u003e this.Element = el} /\u003e;\n  }\n}\n```\n\n## installing\n\nYou can also install via bower or download the script.\n\n`src/loadr.js` is ES2016 and stage-3 raw, `dist/loadr.min.js` is the minified ES5 version.\n\n## credits\n\nMessages taken from VideoStream for Chromecast plugin for Chrome, who probably took them from a pastebin I have found. No idea, thanks to whoever wrote them.\n\n## messages\n\nFull list (also available via `instance.messages`):\n\n\u003e - Reticulating Splines\n\u003e - Gathering Goblins\n\u003e - Lifting Weights\n\u003e - Pushing Pixels\n\u003e - Formulating Plan\n\u003e - Taking Break\n\u003e - Herding Ducks\n\u003e - Feeding Developers\n\u003e - Fishing for Change\n\u003e - Searching for Dancers\n\u003e - Waking Up Gnomes\n\u003e - Playing Chess\n\u003e - Building Igloos\n\u003e - Converting Celsius\n\u003e - Scanning Power Level\n\u003e - Delivering Presents\n\u003e - Finding Dragon Balls\n\u003e - Firing Lasers\n\u003e - Party Rocking\n\u003e - Walking up to the club\n\u003e - Righting wrongs\n\u003e - Building Lego\n\u003e - Assembling Avengers\n\u003e - Turning Down for What\n\u003e - Reaching 88mph\n\u003e - Pondering Existence\n\u003e - Battling Robots\n\u003e - Smashing Pots\n\u003e - Stomping Goombas\n\u003e - Doing Donuts\n\u003e - Entering Danger Zone\n\u003e - Talking to Mom\n\u003e - Chasing Squirrels\n\u003e - Setting Phasers to Stun\n\u003e - Doing Macarena\n\u003e - Dropping Bass\n\u003e - Removing Biebers\n\u003e - Performing Magic\n\u003e - Autotuning Kanye\n\u003e - Waxing Legs\n\u003e - Invading Space\n\u003e - Levelling Up\n\u003e - Generating Map\n\u003e - Conquering France\n\u003e - Piloting Tardis\n\u003e - Destroying Deathstar\n\u003e - Typing Letters\n\u003e - Making Code\n\u003e - Running Marathon\n\u003e - Shooting Pucks\n\u003e - Kicking Field Goals\n\u003e - Fighting Bad Guys\n\u003e - Driving Batmobile\n\u003e - Warming Up Kryptonite\n\u003e - Popping Popcorn\n\u003e - Creating Hashes\n\u003e - Spawning Boss\n\u003e - Evaluating Life Choices\n\u003e - Eating Ramen\n\u003e - Re-heating Leftovers\n\u003e - Petting Kittens\n\u003e - Walking Puppies\n\u003e - Catching Z’s\n\u003e - Jumping Rope\n\u003e - Declaring Variables\n\u003e - Yessing Doge\n\u003e - Recycling Memes\n\u003e - Tipping Fedora\n\u003e - Walking Runway\n\u003e - Counting to Ten\n\u003e - Booting Native Client\n\u003e - Launching App\n\u003e - Drawing Icons\n\u003e - Reading Instructions\n\u003e - Finding Screws\n\u003e - Completing Puzzles\n\u003e - Generating Volume Slider\n\u003e - Brightening Orange\n\u003e - Ordering Pizza\n\u003e - You Look Good Today\n\u003e - Clearing Screen\n\u003e - Stirring Pot\n\u003e - Mashing Potatoes\n\u003e - Banishing Evil\n\u003e - Taking Selfies\n\u003e - Accelerating Disks\n\u003e - Benching Network\n\u003e - Rocking Out\n\u003e - Grinding Mage\n\u003e - Studying Calculus\n\u003e - Playing N64\n\u003e - Racing GoKarts\n\u003e - Defeating Creepers\n\u003e - Blowing Game Cartridge\n\u003e - Choosing Pikachu\n\u003e - Postponing Half Life 3\n\u003e - Rushing Zergs\n\u003e - Rescuing Hostages\n\u003e - Typing Konami Code\n\u003e - Building Snowman\n\u003e - Letting it Snow\n\u003e - Burning HDMI Cords\n\u003e - Applying Filters\n\u003e - Taking Screenshot\n\u003e - Shaving Mustache\n\u003e - Growing Beard\n\u003e - Baking Muffins\n\u003e - Iterating Javascript\n\u003e - Attracting Venture Capital\n\u003e - Disrupting Industry\n\u003e - Tweeting Hashtags\n\u003e - Encrypting Lines\n\u003e - Obfuscating C\n\u003e - Enhancing License Plate\n\u003e - Running Diagnostic\n\u003e - Warming Hyperdrive\n\u003e - Calibrating Positions\n\u003e - Calculating Percentages\n\u003e - Revoking Licenses\n\u003e - Shedding Core\n\u003e - Dampening Gravity\n\u003e - Increasing Power\n\u003e - Checking Sensors\n\u003e - Indexing RSS\n\u003e - Programming PCI\n\u003e - Determining USB Position\n\u003e - Connecting to Bus\n\u003e - Inverting Ports\n\u003e - Bypassing Capacitor\n\u003e - Reversing Bandwidth Throttle\n\u003e - Testing AI\n\u003e - Virtualizing Microchip\n\u003e - Emulating Playstation\n\u003e - Synthesizing Drivers\n\u003e - Structuring Chlorophyll\n\u003e - Watering Plants\n\u003e - Ingesting Caffeine\n\u003e - Chugging Redbull\n\u003e - Parsing System\n\u003e - Navigating Arrays\n\u003e - Searching Google\n\u003e - Overflowing Stack\n\u003e - Compiling Binaries\n\u003e - Answering Emails\n\u003e - Migrating CSS\n\u003e - Backing Up Primaries\n\u003e - Rendering Dialogs\n\u003e - Reading RSS\n\u003e - Compressing Data\n\u003e - Rejecting Cloud\n\u003e - Evaluating Weissman Score\n\u003e - Purging Local Storage\n\u003e - Leaking Memory\n\u003e - Scripting Python\n\u003e - Grunting Ruby\n\u003e - Benching RAM\n\u003e - Determining Auxiliaries\n\u003e - Jiggling Internet\n\u003e - Ejecting Floppy\n\u003e - Fluctuating Objects\n\u003e - Spiking Reactor Core\n\u003e - Firing Bosons\n\u003e - Testing Processor\n\u003e - Debugging Prompts\n\u003e - Connecting Floats\n\u003e - Rounding Integers\n\u003e - Pronouncing Gigawatt\n\u003e - Inverting Transponders\n\u003e - Bypassing Silicon\n\u003e - Raising Funds\n\u003e - Caching Logs\n\u003e - Dithering Broadband\n\u003e - Eating Poutine\n\u003e - Rolling Rims to Win\n\u003e - Begging for Change\n\u003e - Chasing Waterfalls\n\u003e - Pumping Gas\n\u003e - Emptying Pipes\n\u003e - Hitting Piñata\n\u003e - Unleashing Freedom\n\u003e - Airbrushing Actors\n\u003e - FIling Taxes\n\u003e - Powering Mitochondria\n\u003e - Calculating Qi charge\n\u003e - Completing Geometry\n\u003e - Turning in Algebra\n\u003e - Solving for X\n\u003e - Benching Wattage\n\u003e - Kludging Playback Bar\n\u003e - Stringifying Json\n\u003e - Consuming Spaghetti Code\n\u003e - Deleting Comments\n\u003e - Transitioning to Django\n\u003e - Learning to Code\n\u003e - Battling Feature Creep\n\u003e - Losing Flappy Bird\n\u003e - Celebrating Good Times\n\u003e - Sharpening Pencils\n\u003e - Automating Processes\n\u003e - Attacking Godzilla\n\u003e - Carbonating Soda\n\u003e - Thinking of Witty Text\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdimitarchristoff%2Floadr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdimitarchristoff%2Floadr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdimitarchristoff%2Floadr/lists"}