{"id":17569026,"url":"https://github.com/riywo/loginshell","last_synced_at":"2025-04-19T11:56:45.427Z","repository":{"id":10134933,"uuid":"12207882","full_name":"riywo/loginshell","owner":"riywo","description":"A golang library to get the login shell of the current user.","archived":false,"fork":false,"pushed_at":"2020-08-15T04:52:13.000Z","size":8,"stargazers_count":17,"open_issues_count":0,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-29T07:33:49.514Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","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/riywo.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}},"created_at":"2013-08-19T05:20:34.000Z","updated_at":"2024-03-25T05:09:15.000Z","dependencies_parsed_at":"2022-07-21T12:18:40.361Z","dependency_job_id":null,"html_url":"https://github.com/riywo/loginshell","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/riywo%2Floginshell","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/riywo%2Floginshell/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/riywo%2Floginshell/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/riywo%2Floginshell/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/riywo","download_url":"https://codeload.github.com/riywo/loginshell/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249690336,"owners_count":21311308,"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-10-21T17:08:42.630Z","updated_at":"2025-04-19T11:56:45.410Z","avatar_url":"https://github.com/riywo.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# loginshell\n\nA golang library to get the login shell of the current user.\n\n## Supporting GOOS\n\nNeed PR for the other OS!\n\n- Plan9\n- Linux\n- OpenBSD\n- FreeBSD\n- Android (termux)\n- Darwin\n- Windows\n\n## Usage\n\n    package main\n\n    import (\n        \"github.com/riywo/loginshell\"\n        \"fmt\"\n    )\n    \n    func main() {\n        shell, err := loginshell.Shell()\n        if err != nil { panic(err) }\n        fmt.Printf(\"%s\", shell)\n    }\n\n## License\n\nMIT\n\n## Author\n\nRyosuke IWANAGA a.k.a. riywo\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Friywo%2Floginshell","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Friywo%2Floginshell","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Friywo%2Floginshell/lists"}