{"id":20529717,"url":"https://github.com/7ph/powerglitch","last_synced_at":"2025-05-14T03:04:04.284Z","repository":{"id":46990589,"uuid":"515654862","full_name":"7PH/powerglitch","owner":"7PH","description":"Tiny JS library to glitch anything on the web","archived":false,"fork":false,"pushed_at":"2025-01-16T14:31:58.000Z","size":11584,"stargazers_count":1375,"open_issues_count":0,"forks_count":15,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-05-08T17:53:34.636Z","etag":null,"topics":["css","css-animations","gifs","glitch-art","glitch-effect","glitched-images","glitchify-images","glitching","javascript","library","mosh"],"latest_commit_sha":null,"homepage":"https://7ph.github.io/powerglitch/","language":"TypeScript","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/7PH.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-07-19T16:07:14.000Z","updated_at":"2025-05-08T15:39:00.000Z","dependencies_parsed_at":"2024-01-14T14:31:47.151Z","dependency_job_id":"26df7fa0-0642-4b09-a546-817fd134cf45","html_url":"https://github.com/7PH/powerglitch","commit_stats":{"total_commits":75,"total_committers":3,"mean_commits":25.0,"dds":0.07999999999999996,"last_synced_commit":"618bba419a9a24d7bfdae39a53115953f0c18b16"},"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/7PH%2Fpowerglitch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/7PH%2Fpowerglitch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/7PH%2Fpowerglitch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/7PH%2Fpowerglitch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/7PH","download_url":"https://codeload.github.com/7PH/powerglitch/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254059485,"owners_count":22007768,"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":["css","css-animations","gifs","glitch-art","glitch-effect","glitched-images","glitchify-images","glitching","javascript","library","mosh"],"created_at":"2024-11-15T23:33:50.806Z","updated_at":"2025-05-14T03:04:04.213Z","avatar_url":"https://github.com/7PH.png","language":"TypeScript","readme":"\u003cimg src=\"./assets/intro.gif\" alt=\"\"\u003e\n\nPowerGlitch is a standalone library with no external dependencies. It leverages CSS animations to glitch anything on the web, without using a canvas. It weights less than 2kb minified and gzipped.\u003cbr\u003e\n\nWant to try it out? Check out the [demo](https://7ph.github.io/powerglitch/#/playground) 😊\n\n\u003cp align=\"right\"\u003e\n    Like this project? Give a star 🌟\n\u003c/p\u003e\n\n## Getting started\n\n1. Install PowerGlitch using a package manager\n    ```bash\n    npm i --save powerglitch\n    # or\n    yarn add powerglitch\n    ```\n    or by [importing the web bundle](https://unpkg.com/powerglitch@latest/dist/powerglitch.min.js) in a script tag (or save it locally)\n    ```html\n    \u003cscript src=\"https://unpkg.com/powerglitch@latest/dist/powerglitch.min.js\"\u003e\u003c/script\u003e\n    ```\n\n2. Find an element to glitch\n    ```html\n    \u003c!-- Image --\u003e\n    \u003cimg src='https://.../image.png' class='glitch' /\u003e\n\n    \u003c!-- Button --\u003e\n    \u003cbutton class='glitch'\u003e\n        click me 🤷‍♂️\n    \u003c/button\u003e\n\n    \u003c!-- Any DOM element --\u003e\n    \u003cdiv class='glitch'\u003e\n        \u003cp\u003eHello \u003cb\u003eWorld\u003c/b\u003e\u003c/p\u003e\n    \u003c/div\u003e\n    ```\n\n3. Import PowerGlitch using ES6 import\n    ```javascript\n    import { PowerGlitch } from 'powerglitch'\n    ```\n    or using ES5 require\n    ```javascript\n    const PowerGlitch = require('powerglitch').PowerGlitch\n    ```\n    if you are importing PowerGlitch using a `script` tag, the `PowerGlitch` global variable is automatically available.\n\n4. Glitch the element\n    ```javascript\n    PowerGlitch.glitch('.glitch')\n    ```\n\n5. That's it, your element is glitched!\n6. Check-out the [usage guide](https://7ph.github.io/powerglitch/#/usage) for optimization and usage tips.\n\n## Useful links\n\nDocumentation\n- Visually try out effects using the [demo](https://7ph.github.io/powerglitch/#/playground).\n- Lookup PowerGlitch [home page](https://7ph.github.io/powerglitch/).\n- For customization and optimization tips, check the [usage guide](https://7ph.github.io/powerglitch/#/usage).\n- Check out the [api documentation](https://7ph.github.io/powerglitch/api-docs/variables/PowerGlitch.html) for reference.\n\nIntegrations\n- React: [react-powerglitch](https://github.com/7PH/react-powerglitch)\n- Vue: [vue-powerglitch](https://github.com/7PH/vue-powerglitch)\n\n## Contributing\n\nHaving trouble? Found a bug? Want to contribute? Any kind of contribution is welcome. If you have any questions, please open an issue or create a pull request.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F7ph%2Fpowerglitch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F7ph%2Fpowerglitch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F7ph%2Fpowerglitch/lists"}