{"id":17172868,"url":"https://github.com/20tab/twentytab-highlighter","last_synced_at":"2025-03-24T20:22:39.901Z","repository":{"id":13967822,"uuid":"16668372","full_name":"20tab/twentytab-highlighter","owner":"20tab","description":"A django app permits to highlight the searched words (self.query) in a long text and truncates it, counts number of chars == max_length","archived":false,"fork":false,"pushed_at":"2014-02-10T12:17:03.000Z","size":148,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-03-01T20:09:14.314Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/20tab.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":"2014-02-09T14:58:58.000Z","updated_at":"2017-05-19T21:02:04.000Z","dependencies_parsed_at":"2022-08-28T10:51:12.192Z","dependency_job_id":null,"html_url":"https://github.com/20tab/twentytab-highlighter","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/20tab%2Ftwentytab-highlighter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/20tab%2Ftwentytab-highlighter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/20tab%2Ftwentytab-highlighter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/20tab%2Ftwentytab-highlighter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/20tab","download_url":"https://codeload.github.com/20tab/twentytab-highlighter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245344348,"owners_count":20599937,"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":"2024-10-14T23:48:28.551Z","updated_at":"2025-03-24T20:22:39.879Z","avatar_url":"https://github.com/20tab.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"twentytab-highlighter\n=====================\n\nA django app permits to highlight the searched words (self.query) in a long text and truncates it, counts number of chars == max_length\n\n\n## Installation\n\nUse the following command: \u003cb\u003e\u003ci\u003epip install twentytab-highlighter\u003c/i\u003e\u003c/b\u003e\n\n\n## Configuration\n\n```py\nINSTALLED_APPS = {\n    ...,\n    'highlighter',\n    ...\n}\n\n```\n\n## Usage\n\nIn your html template\n\n```html\n{% load highlight_tags %}\n\n\u003c!DOCTYPE html\u003e\n\u003chtml\u003e\n\u003chead\u003e\n    \u003ctitle\u003e\u003c/title\u003e\n\u003c/head\u003e\n\u003cbody\u003e\n\n\n{{a_very_long_text|highlight:\"word\"}}\n\n\n\u003c/body\u003e\n\u003c/html\u003e\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F20tab%2Ftwentytab-highlighter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F20tab%2Ftwentytab-highlighter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F20tab%2Ftwentytab-highlighter/lists"}