{"id":15411871,"url":"https://github.com/nkristek/highlight","last_synced_at":"2025-07-14T18:09:20.243Z","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":40,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-16T03:55:41.865Z","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":"2025-03-18T13:22:25.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":249606015,"owners_count":21298846,"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-10-01T16:50:28.161Z","updated_at":"2025-04-19T04:19:20.721Z","avatar_url":"https://github.com/nkristek.png","language":"Swift","funding_links":[],"categories":[],"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"}