{"id":20178137,"url":"https://github.com/vsnthdev/samaya","last_synced_at":"2025-04-10T04:33:13.630Z","repository":{"id":57693338,"uuid":"202078637","full_name":"vsnthdev/samaya","owner":"vsnthdev","description":"( समय​ ) - A time synchronization program that uses HTTP protocol.","archived":false,"fork":false,"pushed_at":"2021-08-09T11:34:38.000Z","size":49,"stargazers_count":3,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"mainline","last_synced_at":"2025-03-24T05:43:54.754Z","etag":null,"topics":["cli","go","golang","http-client","https","ntp","ntp-protocol","sync","synchronization","time","timesync"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vsnthdev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-08-13T06:25:25.000Z","updated_at":"2024-04-14T16:54:36.000Z","dependencies_parsed_at":"2022-09-26T16:40:27.841Z","dependency_job_id":null,"html_url":"https://github.com/vsnthdev/samaya","commit_stats":null,"previous_names":["vasanthdeveloper/samaya"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vsnthdev%2Fsamaya","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vsnthdev%2Fsamaya/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vsnthdev%2Fsamaya/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vsnthdev%2Fsamaya/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vsnthdev","download_url":"https://codeload.github.com/vsnthdev/samaya/tar.gz/refs/heads/mainline","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248157407,"owners_count":21057005,"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":["cli","go","golang","http-client","https","ntp","ntp-protocol","sync","synchronization","time","timesync"],"created_at":"2024-11-14T02:19:28.936Z","updated_at":"2025-04-10T04:33:13.597Z","avatar_url":"https://github.com/vsnthdev.png","language":"Go","readme":"\u003ch1 align=\"center\"\u003esamaya\u003c/h1\u003e\n\u003cp align=\"center\"\u003e\u003cstrong\u003e( समय​ ) - A time synchronization program that uses HTTP protocol.\u003c/strong\u003e\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://github.com/vsnthdev/samaya/releases\"\u003e\n        \u003cimg src=\"https://img.shields.io/github/v/release/vsnthdev/samaya?include_prereleases\u0026style=flat-square\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://github.com/vsnthdev/samaya/releases\"\u003e\n        \u003cimg src=\"https://img.shields.io/github/downloads/vsnthdev/samaya/total?style=flat-square\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://github.com/vsnthdev/samaya/commits/main\"\u003e\n        \u003cimg src=\"https://img.shields.io/github/last-commit/vsnthdev/samaya.svg?style=flat-square\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://github.com/vsnthdev/samaya/issues\"\u003e\n        \u003cimg src=\"https://img.shields.io/github/issues/vsnthdev/samaya.svg?style=flat-square\"\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://github.com/vsnthdev/samaya/blob/main/LICENSE.md\"\u003e\n        \u003cimg src=\"https://img.shields.io/github/license/vsnthdev/samaya?style=flat-square\"\u003e\n    \u003c/a\u003e\n\u003c/p\u003e\n\u003cbr\u003e\n\n\u003c!-- header --\u003e\n\n`samaya` is a command line program for synchronizes your system clock using the HTTPS protocol from \u003ca href=\"https://worldtimeapi.org\" target=\"_blank\"\u003eWorld Time API\u003c/a\u003e. `samaya` is very helpful in situations where NTP (Network Time Protocol) packets are blocked or inaccessible.\n\n## 🚀 Usage\n```\nsamaya\nA time synchronization program that uses HTTP protocol.\n\nUsage:\n  samaya [flags]\n\nFlags:\n  -D, --delay int           Delay the number of seconds before requesting the time\n  -d, --dry                 Fetch the time, but don't update it\n  -h, --help                help for samaya\n  -t, --timezone string     Set time of that timezone (default \"auto\")\n  -v, --verbose             Show extended output\n  -V, --version             Print the version number and exit\n  -w, --wait for internet   Wait until an active internet connection is established\n```\n\n## 🛠 Building\n#### Dependencies:\n| Package | Recommended Version |\n|---------|---------------------|\n| Go      | v1.12.8             |\n| Make    | v4.2.1              |\n| Git     | v2.23.0             |\n\n#### Build Procedure:\n```\n# Create the namespace\nmkdir -p \"$(go env GOPATH)/src/vasanthdeveloper.com\"\n\n# Clone the project\ngit clone --single-branch --branch mainline https://github.com/vasanthdeveloper/samaya.git \"$(go env GOPATH)/src/vasanthdeveloper.com/samaya\"\n\n# Enter the freshly cloned project\ncd \"$(go env GOPATH)/src/vasanthdeveloper.com/samaya\"\n\n# Start the compilation\nmake\n\n# Install the compiled binaries\nsudo make install\n\n# Make samaya sync time, every time we boot the computer\nsudo systemctl enable --now samaya\n```\n\n\u003c!-- footer --\u003e\n\n## 📰 License\n\u003e The **samaya** project is released under the [MIT license](LICENSE.md). \u003cbr\u003e Developed \u0026amp; maintained By Vasanth Srivatsa. Copyright 2021 © Vasanth Developer.\n\u003chr\u003e\n\n\u003e \u003ca href=\"https://vsnth.dev\" target=\"_blank\" rel=\"noopener\"\u003evsnth.dev\u003c/a\u003e \u0026nbsp;\u0026middot;\u0026nbsp;\n\u003e YouTube \u003ca href=\"https://vas.cx/videos\" target=\"_blank\" rel=\"noopener\"\u003e@vasanthdeveloper\u003c/a\u003e \u0026nbsp;\u0026middot;\u0026nbsp;\n\u003e Twitter \u003ca href=\"https://vas.cx/twitter\" target=\"_blank\" rel=\"noopener\"\u003e@vsnthdev\u003c/a\u003e \u0026nbsp;\u0026middot;\u0026nbsp;\n\u003e Discord \u003ca href=\"https://vas.cx/discord\" target=\"_blank\" rel=\"noopener\"\u003eVasanth Developer\u003c/a\u003e","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvsnthdev%2Fsamaya","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvsnthdev%2Fsamaya","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvsnthdev%2Fsamaya/lists"}