{"id":19413631,"url":"https://github.com/wisehackermonkey/click4date","last_synced_at":"2026-05-18T05:03:57.056Z","repository":{"id":132670118,"uuid":"406991682","full_name":"wisehackermonkey/click4date","owner":"wisehackermonkey","description":"click for date","archived":false,"fork":false,"pushed_at":"2022-04-04T03:33:20.000Z","size":7509,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-07T15:44:20.998Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","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/wisehackermonkey.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":"2021-09-16T02:31:26.000Z","updated_at":"2022-01-07T18:41:22.000Z","dependencies_parsed_at":null,"dependency_job_id":"2f13f769-8ea2-4fc2-8028-7697fb89d511","html_url":"https://github.com/wisehackermonkey/click4date","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wisehackermonkey%2Fclick4date","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wisehackermonkey%2Fclick4date/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wisehackermonkey%2Fclick4date/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wisehackermonkey%2Fclick4date/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wisehackermonkey","download_url":"https://codeload.github.com/wisehackermonkey/click4date/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240593150,"owners_count":19825930,"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-11-10T12:34:12.503Z","updated_at":"2026-05-18T05:03:52.025Z","avatar_url":"https://github.com/wisehackermonkey.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# click4date\n\n![image](https://user-images.githubusercontent.com/29699356/161469291-f8caccfc-9fe9-47df-b574-1bbdcab0e8b6.png)\n### click for date\n## This a really simple app that copys the current date to your clipbard\n![image](https://user-images.githubusercontent.com/29699356/161469327-5d899df8-4906-4b93-abb2-2c0589dd5f6f.png)\n\n## the date is copied to the clipbard in the format: YYYYMMDD\n# Download Here:\nhttps://github.com/wisehackermonkey/click4date/releases/\n# Code\n## thats it. thats the whole program.\n```rust\nextern crate clipboard;\n\nuse clipboard::ClipboardProvider;\nuse clipboard::ClipboardContext;\n\nuse chrono::{Datelike, Utc};\nfn clipboard_paste(text: \u0026str) {\n    let mut ctx: ClipboardContext = ClipboardProvider::new().unwrap();\n     ctx.set_contents(text.to_owned()).unwrap();\n}\nfn formate_date() -\u003e String{\n    let now = Utc::now();\n    return format!(\"{:?}{:0\u003ewidth$}{:0\u003ewidth$}\", now.year(), now.month(), now.day(),width=2);\n}\nfn main(){\n    let current_date = formate_date();\n    clipboard_paste(\u0026current_date);\n}\n```\n### pretty simple eh?.\n## the python version \n```python\n# 20180307\nimport datetime\nimport pyperclip\nimport time\nd = datetime.datetime.now()\n\nday = str(d.day).rjust(2,\"0\")\nmonth = str(d.month).rjust(2,\"0\")\nyear = d.year \n\npyperclip.copy(\"{}{}{}\".format(year,month,day) )\n```\n# Pro tips:\n### add the exe to your taskbar to have easy access to the app\n\n# how to build from scratch (windows):\n\n\n\n### install rust\n[Install Rust - Rust Programming Language](https://www.rust-lang.org/tools/install)\n![](assets/2022-01-07-11-17-26.png)\n### check if cargo is installed\n```bash\ncargo --version\n```\n### if cargo command is not found, link it to windows path environment variable \n\n![](assets/2022-01-07-11-35-10.png)\n![](assets/2022-01-07-11-39-00.png)\n\n# add to path `ls ~/.cargo/bin ` (powershell)\n### in my case its ` C:\\Users\\o\\.cargo\\bin`\n![](assets/2022-01-07-11-37-43.png)\n![](assets/2022-01-07-11-38-07.png)\n\n### run `cargo -v` \n![](assets/2022-01-07-11-40-02.png)\n\n### success!\n\n# Compile the program\n```bash\ncargo build\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwisehackermonkey%2Fclick4date","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwisehackermonkey%2Fclick4date","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwisehackermonkey%2Fclick4date/lists"}