{"id":31904640,"url":"https://github.com/phlowerteam/fragment_highlighter-rails","last_synced_at":"2026-05-19T14:10:46.476Z","repository":{"id":56847644,"uuid":"110152451","full_name":"phlowerteam/fragment_highlighter-rails","owner":"phlowerteam","description":"JavaScript UI library for highlighting text fragments on the page and saving ones into localStorage","archived":false,"fork":false,"pushed_at":"2018-12-09T09:12:17.000Z","size":22,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-10-09T11:58:56.141Z","etag":null,"topics":["fragments","highlight","javascript","localstorage","text"],"latest_commit_sha":null,"homepage":"","language":"Ruby","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/phlowerteam.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":"2017-11-09T18:37:50.000Z","updated_at":"2018-12-09T09:12:18.000Z","dependencies_parsed_at":"2022-08-30T20:10:35.424Z","dependency_job_id":null,"html_url":"https://github.com/phlowerteam/fragment_highlighter-rails","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/phlowerteam/fragment_highlighter-rails","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phlowerteam%2Ffragment_highlighter-rails","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phlowerteam%2Ffragment_highlighter-rails/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phlowerteam%2Ffragment_highlighter-rails/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phlowerteam%2Ffragment_highlighter-rails/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/phlowerteam","download_url":"https://codeload.github.com/phlowerteam/fragment_highlighter-rails/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phlowerteam%2Ffragment_highlighter-rails/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279015339,"owners_count":26085684,"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-10-13T02:00:06.723Z","response_time":61,"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":["fragments","highlight","javascript","localstorage","text"],"created_at":"2025-10-13T13:56:39.533Z","updated_at":"2025-10-13T13:56:40.224Z","avatar_url":"https://github.com/phlowerteam.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# fragment_highlighter-rails\nJavaScript UI library for highlighting text fragments on page and saving ones into localStorage\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'fragment_highlighter-rails'\n```\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install fragment_highlighter-rails\n\n## Usage\n\n#application.css\n\n    @import \"bootstrap-sprockets\";\n    @import \"bootstrap\";\n    *= require 'fragment-highlighter'\n\n#application.js\n\n    //= require jquery\n    //= require bootstrap-sprockets\n    //= require fragment-highlighter/fragment-highlighter.js\n\n    $(function() {\n      let options = { allowedPages: ['/articles/'], deniedPages: ['/admin/'] };\n      new FragmentHighlighter(options);\n    });\n## Video Presentation\n[![Watch the video](https://img.youtube.com/vi/sHj-CwYDRhU/0.jpg\n)](https://www.youtube.com/watch?v=sHj-CwYDRhU)\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/phlowerteam/fragment_highlighter-rails.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphlowerteam%2Ffragment_highlighter-rails","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphlowerteam%2Ffragment_highlighter-rails","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphlowerteam%2Ffragment_highlighter-rails/lists"}