{"id":20703708,"url":"https://github.com/anar-bastanov/qlock","last_synced_at":"2026-06-10T09:31:30.923Z","repository":{"id":253460422,"uuid":"843371499","full_name":"anar-bastanov/qlock","owner":"anar-bastanov","description":"A quine clock program that outputs its own source code and highlights characters in certain positions to display local time.","archived":false,"fork":false,"pushed_at":"2024-08-17T18:22:23.000Z","size":48446,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-11T04:32:45.730Z","etag":null,"topics":["ansi-art","c-sharp","clock","console-app","console-application","console-art","csharp","qlock","quine"],"latest_commit_sha":null,"homepage":"","language":"C#","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/anar-bastanov.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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":"2024-08-16T11:19:53.000Z","updated_at":"2024-08-19T11:54:38.000Z","dependencies_parsed_at":"2025-01-17T19:53:46.703Z","dependency_job_id":"a2fa1eae-25da-4490-b4b0-87b3d4741bb7","html_url":"https://github.com/anar-bastanov/qlock","commit_stats":null,"previous_names":["anar-bastanov/qlock"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/anar-bastanov/qlock","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anar-bastanov%2Fqlock","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anar-bastanov%2Fqlock/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anar-bastanov%2Fqlock/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anar-bastanov%2Fqlock/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/anar-bastanov","download_url":"https://codeload.github.com/anar-bastanov/qlock/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anar-bastanov%2Fqlock/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34146871,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-10T02:00:07.152Z","response_time":89,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-art","c-sharp","clock","console-app","console-application","console-art","csharp","qlock","quine"],"created_at":"2024-11-17T01:09:08.169Z","updated_at":"2026-06-10T09:31:30.854Z","avatar_url":"https://github.com/anar-bastanov.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Quine Clock\nQlock is a clock program that outputs its own source code and highlights characters in certain positions to display local time.\n\n![Preview](/res/preview.gif)\n\nNOTE: A [quine](https://en.wikipedia.org/wiki/Quine_%28computing%29) is a computer program that takes no input and produces a copy of its own source code as its only output.\n\n## Installation\nThe repository contains two Visual Studio projects, and each project has two C# files, one is the quine clock program and the other is the readable version of the same code.\n 1. Download the whole repository.\n 2. Double-click the solution file (.sln) to open projects in Visual Studio.\n 3. Configure the startup project first or press Run right away.\n\nThe reason why there are two projects in the first place is that the newest C# versions have an optional feature called [Implicit Using Directives](https://learn.microsoft.com/en-us/dotnet/core/project-sdk/overview#implicit-using-directives), and it allows shortening some code, thus the two versions of the same quine:\n\n| Project | Target Framework | Implicit Usings |\n|:-------:|:----------------:|:---------------:|\n| `quine-clock.csproj`\t\t\t\t   | .NET 6 | Disabled |\n| `quine-clock-implicit-usings.csproj` | .NET 8 | Enabled  |\n\n## References\nOther implementations:\n * [Original author, written in JavaScript](https://aem1k.com/qlock/)\n * [Tsoding's version, written in C](https://gist.github.com/rexim/f582098611b2be202051ba543e21da05)\n\n## License\nCopyright \u0026copy; 2024 Anar Bastanov  \nDistributed under the [MIT License](http://www.opensource.org/licenses/mit-license.php).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanar-bastanov%2Fqlock","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanar-bastanov%2Fqlock","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanar-bastanov%2Fqlock/lists"}