{"id":17659383,"url":"https://github.com/raphamorim/inphinity","last_synced_at":"2025-08-12T13:08:02.218Z","repository":{"id":57274263,"uuid":"40383017","full_name":"raphamorim/inphinity","owner":"raphamorim","description":"A infinity scroll without jQuery or other dependency.","archived":false,"fork":false,"pushed_at":"2015-12-29T19:44:38.000Z","size":34,"stargazers_count":45,"open_issues_count":5,"forks_count":2,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-08-07T05:26:17.440Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/raphamorim.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-08-07T22:14:19.000Z","updated_at":"2020-02-07T20:14:53.000Z","dependencies_parsed_at":"2022-09-11T03:33:03.132Z","dependency_job_id":null,"html_url":"https://github.com/raphamorim/inphinity","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/raphamorim/inphinity","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raphamorim%2Finphinity","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raphamorim%2Finphinity/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raphamorim%2Finphinity/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raphamorim%2Finphinity/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/raphamorim","download_url":"https://codeload.github.com/raphamorim/inphinity/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raphamorim%2Finphinity/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269727188,"owners_count":24465400,"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-08-10T02:00:08.965Z","response_time":71,"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-23T16:06:53.110Z","updated_at":"2025-08-12T13:08:02.178Z","avatar_url":"https://github.com/raphamorim.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Inphinity\n\n\u003e Infinity Scroll without [jQuery](https://jquery.com/) or other dependency.\n\nInphinity was made to Jekyll static blogs, Drupal and Wordpress sites/blogs.\n\n##### Who is using this?\n\n- [My personal blog](http://raphamorim.com/blog)\n- [Free Time](http://free-time.github.io/)\n\n## How to use?\n\n#### Getting\n\nFirst at all, get Inphinity using [Download Option](https://github.com/raphamorim/inphinity/archive/master.zip) or via bower. To get using [Bower](http://bower.io) just run this command\n\n```sh\nbower install inphinity\n```\n\nAdd the source before body tag end:\n\n```html\n\u003cscript src=\"inphinity.min.js\"\u003e\u003c/script\u003e\n\u003c/body\u003e\n```\n\n#### Usage\n\nRelax! A better documentation coming soon (and you can help!). For while, see a simple example:\n\n```javascript\ninphinity('#posts').set({\n  navSelector : \"p.pagination\",\n  nextSelector  : \"p.pagination a.older\",\n  itemSelector  : \".container ul#posts li.post\",\n  finishedMsg: \"\u003cem\u003eThat's all folks!\u003c/em\u003e\",\n  loadingMsg: 'Loading more...',\n  animationSpeed: \"slow\"\n});\n```\n\n### Options\n\n####• navSelector\nDescription: Pagination nav\n\nDefault: `div.navigation`\n\n####• nextSelector\nDescription: href attribute, who specifies the URL of the next page.\n\nDefault: `div.navigation a:first`\n\n####• itemSelector\nDescription: List items in structure\n\nDefault: `div.post`\n\n####• finishedMsg\nDescription: Message to show when finish pages when ends\n\nFormat: raw HTML\n\nDefault: `\u003cem\u003eThat's all folks!\u003c/em\u003e`\n\n####• loadingMsg\nDescription: Message to show when load more items\n\nFormat: raw HTML\n\nDefault: `Loading more...`\n\n####• loader\nDescription: Enable/Disable loader\n\nSuggestions: `true`, `false`\n\nDefault: `true`\n\n####• animationSpeed\nDescription: Set speed of the animations\n\nSuggestions: `normal`, `slow`, `fast`\n\nDefault: `500`\n\n\n## Version\n\nCurrently in **v1.0.6** :)\n\n## Credits\n\nInfinitely inspired by [Infinity Scroll](https://github.com/infinite-scroll/infinite-scroll)\n\n## License\n\nThe MIT License (MIT)\n\nCopyright (c) 2015 [Raphael Amorim](http://github.com/raphamorim)\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraphamorim%2Finphinity","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fraphamorim%2Finphinity","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraphamorim%2Finphinity/lists"}