{"id":23495344,"url":"https://github.com/elmisback/ansi-scheme","last_synced_at":"2025-04-19T23:09:59.933Z","repository":{"id":85891928,"uuid":"74668037","full_name":"elmisback/ansi-scheme","owner":"elmisback","description":"Terminal emulator colors via ANSI escape sequences","archived":false,"fork":false,"pushed_at":"2017-03-01T05:44:57.000Z","size":13,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-19T23:09:57.950Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","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/elmisback.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-11-24T11:43:21.000Z","updated_at":"2017-03-01T05:14:02.000Z","dependencies_parsed_at":null,"dependency_job_id":"220d46ab-32c7-48ba-b82a-576cd986b2d8","html_url":"https://github.com/elmisback/ansi-scheme","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/elmisback%2Fansi-scheme","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elmisback%2Fansi-scheme/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elmisback%2Fansi-scheme/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elmisback%2Fansi-scheme/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/elmisback","download_url":"https://codeload.github.com/elmisback/ansi-scheme/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249826722,"owners_count":21330676,"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-12-25T03:26:28.078Z","updated_at":"2025-04-19T23:09:59.896Z","avatar_url":"https://github.com/elmisback.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ansi-scheme\n\n```\nto be implemented:\n* set\n* display\n* default_style\n* Decent standard scheme library (probably base16)\n```\n\nI had this idea while tweaking the vim colorschemefile provided by the base16 project.\n\n# Design documentation\n\nColorscheme pain points:\n* Different formats for schemes in the wild\n* Switching schemes on the fly\n* Coordinating scheme-switching between terminal-based applications\n\nGoals:\n* On-the-fly terminal colorschemes without pain\n* Grab schemes from Github\n* Single palette for all applications\n\nNon-goals:\n* Distinguishing between applications (applications can handle this)\n\n## `.ANSISCHEME` Format\n```\n{\n  \"colors\": {\n    \"Black\": \"#000000\",\n    ...\n    \"BrightBlack\": \"222222\",\n    ...\n    \"BrightWhite\": \"ffffff\",\n    \"16\": \"ab cd ef\",\n    \"18\": \"cc cc cc\",\n    ...\n    \"21\": \"12 34 56\"\n  },\n  \"styles\": {\n    \"extra-dark\": {\n      \"foreground\": \"BrightBlack\",\n      \"background\": \"Black\",\n      \"cursor\": \"33 33 33\"\n    },\n    \"dark\": {\n      \"foreground\": \"White\",\n      \"background\": \"Black\",\n      \"cursor\": \"33 33 33\"\n    },\n    \"light\": {\n      \"foreground\": \"BrightBlack\",\n      \"background\": \"White\",\n      \"cursor\": \"33 33 33\"\n    }\n  },\n  \"default_style\": \"dark\"\n}\n\n# How are the colors parsed?\nUse the first 3 pairs of hex digits or fall back to named colors.\n\n# Why are non-(0-15) colors allowed?\nSometimes people like to set other colors.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felmisback%2Fansi-scheme","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Felmisback%2Fansi-scheme","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felmisback%2Fansi-scheme/lists"}