{"id":13995215,"url":"https://github.com/nkristek/Highlight","last_synced_at":"2025-07-22T21:32:16.724Z","repository":{"id":51983019,"uuid":"228810972","full_name":"nkristek/Highlight","owner":"nkristek","description":"A syntax highlighter for JSON data completely written in Swift with no dependencies","archived":false,"fork":false,"pushed_at":"2021-05-08T14:15:57.000Z","size":47,"stargazers_count":37,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-11-28T19:24:32.681Z","etag":null,"topics":["hacktoberfest","json","nsattributedstring","swift","syntax-highlighting"],"latest_commit_sha":null,"homepage":"","language":"Swift","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/nkristek.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":"2019-12-18T10:01:39.000Z","updated_at":"2024-09-04T07:40:47.000Z","dependencies_parsed_at":"2022-08-25T03:21:56.611Z","dependency_job_id":null,"html_url":"https://github.com/nkristek/Highlight","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nkristek%2FHighlight","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nkristek%2FHighlight/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nkristek%2FHighlight/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nkristek%2FHighlight/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nkristek","download_url":"https://codeload.github.com/nkristek/Highlight/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":227177816,"owners_count":17743171,"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":["hacktoberfest","json","nsattributedstring","swift","syntax-highlighting"],"created_at":"2024-08-09T14:03:18.526Z","updated_at":"2024-11-29T17:31:12.580Z","avatar_url":"https://github.com/nkristek.png","language":"Swift","funding_links":[],"categories":["Swift"],"sub_categories":[],"readme":"# Highlight\n\n[![CI Status](https://github.com/nkristek/Highlight/workflows/CI/badge.svg)](https://github.com/nkristek/Highlight/actions)\n\nThis library provides a syntax highlighter which currently supports highlighting JSON data. It is fully written in Swift and there are no additional dependencies. \nIt uses a compatibility layer for colors and fonts for `UIKit` and `AppKit` and the default theme supports dark mode on both platforms.\n\n## Features\n\nThis library provides a `JsonSyntaxHighlightProvider` which can either be instanciated or accessed through a static instance `JsonSyntaxHighlightProvider.shared`.\n\nIt parses the given `String` and highlights the given `NSMutableAttributedString` by setting the color and font on specific areas.\n\n## Installation\n\nCurrently supported methods of importing it:\n- SwiftPM: https://github.com/nkristek/Highlight.git\n- Manually copying all files in the [Sources](https://github.com/nkristek/Highlight/tree/master/Sources) folder\n\n## Contribution\n\nIf you find a bug feel free to open an issue. Contributions are also appreciated.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnkristek%2FHighlight","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnkristek%2FHighlight","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnkristek%2FHighlight/lists"}