{"id":15159352,"url":"https://github.com/hnaderi/scala-readpass","last_synced_at":"2026-01-28T15:07:33.737Z","repository":{"id":65508426,"uuid":"587323301","full_name":"hnaderi/scala-readpass","owner":"hnaderi","description":"Cross platform readpassword for scala native and jvm","archived":false,"fork":false,"pushed_at":"2026-01-27T01:34:24.000Z","size":163,"stargazers_count":3,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-27T13:38:46.152Z","etag":null,"topics":["cross-platform","password","scala","scala-native","scalanative","stdin","stdin-inputs","utility"],"latest_commit_sha":null,"homepage":"","language":"Scala","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hnaderi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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,"zenodo":null,"notice":"NOTICE","maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-01-10T13:43:14.000Z","updated_at":"2026-01-27T01:34:27.000Z","dependencies_parsed_at":"2024-04-22T02:07:09.433Z","dependency_job_id":"1e9bed7b-7dc9-4257-981f-e8f567756284","html_url":"https://github.com/hnaderi/scala-readpass","commit_stats":{"total_commits":45,"total_committers":2,"mean_commits":22.5,"dds":"0.022222222222222254","last_synced_commit":"81a636d3d73c1d2a37ad6869f4819b8f9ed45ce4"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/hnaderi/scala-readpass","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hnaderi%2Fscala-readpass","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hnaderi%2Fscala-readpass/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hnaderi%2Fscala-readpass/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hnaderi%2Fscala-readpass/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hnaderi","download_url":"https://codeload.github.com/hnaderi/scala-readpass/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hnaderi%2Fscala-readpass/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28846120,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-28T13:02:32.985Z","status":"ssl_error","status_checked_at":"2026-01-28T13:02:04.945Z","response_time":57,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["cross-platform","password","scala","scala-native","scalanative","stdin","stdin-inputs","utility"],"created_at":"2024-09-26T21:05:13.790Z","updated_at":"2026-01-28T15:07:33.719Z","avatar_url":"https://github.com/hnaderi.png","language":"Scala","funding_links":[],"categories":[],"sub_categories":[],"readme":"## readpassword\n[![readpassword Scala version support](https://index.scala-lang.org/hnaderi/scala-readpass/readpassword/latest.svg)](https://index.scala-lang.org/hnaderi/scala-readpass/readpassword)\n![Build](https://github.com/hnaderi/scala-readpass/workflows/Continuous%20Integration/badge.svg)\n![GitHub](https://img.shields.io/github/license/hnaderi/scala-readpass)\n\nThis is a cross platform `readpassword` utility useful for CLIs that require reading password from stdin.\nIt acts like standard unix style of password input, like in `sudo` where password is hidden on input.\n\n### Usage\n\nThis library is currently available for Scala binary versions 2.13 and 3.2 on JVM and Scala native.\n\nTo use the latest version, include the following in your `build.sbt`:\n\n```scala\nlibraryDependencies ++= Seq(\n  \"dev.hnaderi\" %%% \"readpassword\" % \"\u003csee badge\u003e\"\n)\n```\n\nThen use it like:\n\n``` scala\nimport dev.hnaderi.readpassword\n\nobject Main extends App {\n  val pass = readpassword.read(\"Enter your password: \")\n  println(s\"Your password is: $pass\")\n}\n```\n\nAnd then:\n\n``` plain\nsbt:root\u003e exampleNative/run\nEnter your password: \nYour password is: This is my password!\n```\n\n### Supports\n| env                  | native | jvm |\n|:--------------------:|:------:|:---:|\n| linux                | ✅     | ✅  |\n| macos                | ✅     | ✅  |\n| posix compliant OSes | ✅     | ✅  |\n| windows              | ✅     | ✅  |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhnaderi%2Fscala-readpass","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhnaderi%2Fscala-readpass","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhnaderi%2Fscala-readpass/lists"}