{"id":15502434,"url":"https://github.com/matsubara0507/whoami","last_synced_at":"2025-03-28T18:21:19.910Z","repository":{"id":40316937,"uuid":"118097010","full_name":"matsubara0507/whoami","owner":"matsubara0507","description":"Generate my \"who am i\" using Haskell.","archived":false,"fork":false,"pushed_at":"2022-05-15T14:20:46.000Z","size":143,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-02T18:46:58.945Z","etag":null,"topics":["haskell","haskell-application"],"latest_commit_sha":null,"homepage":"https://matsubara0507.github.io/whoami","language":"Haskell","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/matsubara0507.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2018-01-19T08:14:29.000Z","updated_at":"2022-05-15T14:20:50.000Z","dependencies_parsed_at":"2022-08-09T17:10:27.802Z","dependency_job_id":null,"html_url":"https://github.com/matsubara0507/whoami","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/matsubara0507%2Fwhoami","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matsubara0507%2Fwhoami/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matsubara0507%2Fwhoami/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matsubara0507%2Fwhoami/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/matsubara0507","download_url":"https://codeload.github.com/matsubara0507/whoami/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246076943,"owners_count":20719894,"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":["haskell","haskell-application"],"created_at":"2024-10-02T09:09:49.167Z","updated_at":"2025-03-28T18:21:19.881Z","avatar_url":"https://github.com/matsubara0507.png","language":"Haskell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# whoami\n\n![Build Application](https://github.com/matsubara0507/whoami/workflows/Build%20Application/badge.svg)\n\nGenerate my \"who am i\" using Haskell.\n\n## Usage\n\n### GHCi (example)\n\n```\n$ stack ghci\n\u003e\u003e import RIO\n\u003e\u003e import Data.Yaml\n\u003e\u003e (Right conf) \u003c- decodeFileEither \"example/whoami.yaml\" :: IO (Either ParseException Config)\n\u003e\u003e (Right txt) \u003c- runServiceM conf $ toMarkdown =\u003c\u003c genInfo whoami\n...\n```\n\n### CLI\n\ncli usage\n\n```\n$ whoami --help\nwhoami [options] [input-file]\n  -o FILE               --output=FILE                Write output to FILE instead of stdout.\n  -t FORMAT, -w FORMAT  --to=FORMAT, --write=FORMAT  Specify output format. default is `markdown`.\n  -v                    --verbose                    Enable verbose mode: verbosity level \"debug\"\n                        --version                    Show version\n  -h                    --help                       Show this help text\n```\n\ne.g.\n\n```\n$ stack exec -- whoami -o example/whoami.md example/whoami.yaml\n```\n\nif use docker image matsubara0507/whoami\n\n```\n$ docker run --rm -v `pwd`/example:/root/work matsubara0507/whoami -o whoami.md whoami.yaml\n```\n\n## Dev\n\n### Build Docker Image\n\n```\n$ stack --docker build -j 1 Cabal # if out of memory in docker\n$ stack --docker --local-bin-path=./bin install\n$ docker build -t ghcr.io/matsubara0507/whoami . --build-arg local_bin_path=./bin\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatsubara0507%2Fwhoami","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmatsubara0507%2Fwhoami","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatsubara0507%2Fwhoami/lists"}