{"id":16122664,"url":"https://github.com/yanorei32/jquery-practice","last_synced_at":"2025-03-18T11:30:50.649Z","repository":{"id":38190644,"uuid":"490567367","full_name":"yanorei32/jquery-practice","owner":"yanorei32","description":"It's a joke repository","archived":false,"fork":false,"pushed_at":"2023-12-15T17:54:16.000Z","size":26,"stargazers_count":35,"open_issues_count":1,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-28T09:15:47.380Z","etag":null,"topics":["ansi","c","console","css","jquery"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yanorei32.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-05-10T06:22:15.000Z","updated_at":"2024-09-28T02:54:34.000Z","dependencies_parsed_at":"2023-12-15T18:48:37.922Z","dependency_job_id":"a49b434f-f8fd-414b-a768-3e177b681e29","html_url":"https://github.com/yanorei32/jquery-practice","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/yanorei32%2Fjquery-practice","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yanorei32%2Fjquery-practice/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yanorei32%2Fjquery-practice/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yanorei32%2Fjquery-practice/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yanorei32","download_url":"https://codeload.github.com/yanorei32/jquery-practice/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243925493,"owners_count":20369906,"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":["ansi","c","console","css","jquery"],"created_at":"2024-10-09T21:13:21.078Z","updated_at":"2025-03-18T11:30:50.376Z","avatar_url":"https://github.com/yanorei32.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# jQuery Practice\n\njQuery like ANSI terminal formatter.\n\n**written-in-C** (joke project)\n\n\n\u003cimg src=https://user-images.githubusercontent.com/11992915/167632311-ca44ace6-95f5-4e87-b189-c22848901ed5.png width=640px\u003e\n\n## quick start\n\n```bash\ngit clone https://github.com/yanorei32/jquery-practice\ncd jquery-practice\ngcc main.c\n./a.out\n```\n\n## example\n\n```c\n$(\n  \"\u003ch1\u003e\",\n  (json){ text: \"Hello World\" }\n).css(\"background-color\", \"white\")\n .css(\"color\", \"black\")\n .appendTo(\"body\");\n\n$(\n  \"\u003cp\u003e\",\n  (json){ text: \"Italic + Red\" }\n).css(\"font-style\", \"italic\")\n .css(\"color\", \"red\")\n .appendTo(\"body\");\n\n$(\n  \"\u003cp\u003e\",\n  (json){ text: \"Strike + Underline\" }\n).css(\"text-decoration\", \"line-through underline\")\n .appendTo(\"body\");\n\n/* Hex color (must support 24-bit color) */\n$(\n  \"\u003cp\u003e\",\n  (json){ text: \"Hex Color\" }\n).css(\"background-color\", \"#e34234\")\n .css(\"color\", \"#ee6\")\n .appendTo(\"body\");\n\n/* Hex color with opacity emulation\n      (must support 24-bit color)\n   TERMINAL_COLOR macro is required.\n   ex) #define TERMINAL_COLOR 0x1d, 0x1f, 0x21 */\n$(\n  \"\u003cp\u003e\",\n  (json){ text: \"Hex Color (opacity-emulation)\" }\n).css(\"background-color\", \"#e3423511\")\n .css(\"color\", \"#ee61\")\n .appendTo(\"body\");\n\n\n$(\n  \"\u003cspan\u003e\",\n  (json){ text: \"Without \\\\n\" }\n).css(\"background-color\", \"#fff\")\n .css(\"color\", \"#000\")\n .appendTo(\"body\");\n\nputs();\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyanorei32%2Fjquery-practice","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyanorei32%2Fjquery-practice","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyanorei32%2Fjquery-practice/lists"}