{"id":15369635,"url":"https://github.com/dingoeatingfuzz/lurkday","last_synced_at":"2025-02-21T22:30:57.029Z","repository":{"id":225872416,"uuid":"767053881","full_name":"DingoEatingFuzz/lurkday","owner":"DingoEatingFuzz","description":"A CLI utility for perusing a Workday org chart","archived":false,"fork":false,"pushed_at":"2024-03-14T20:48:21.000Z","size":43,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-02T06:45:21.584Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/DingoEatingFuzz.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":"2024-03-04T16:12:21.000Z","updated_at":"2024-03-05T22:07:42.000Z","dependencies_parsed_at":"2024-03-14T21:56:17.380Z","dependency_job_id":null,"html_url":"https://github.com/DingoEatingFuzz/lurkday","commit_stats":{"total_commits":47,"total_committers":1,"mean_commits":47.0,"dds":0.0,"last_synced_commit":"d68b03b3adfda48df58b9b0a543435e8282dba66"},"previous_names":["dingoeatingfuzz/lurkday"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DingoEatingFuzz%2Flurkday","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DingoEatingFuzz%2Flurkday/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DingoEatingFuzz%2Flurkday/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DingoEatingFuzz%2Flurkday/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DingoEatingFuzz","download_url":"https://codeload.github.com/DingoEatingFuzz/lurkday/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240100507,"owners_count":19747682,"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-01T13:37:08.727Z","updated_at":"2025-02-21T22:30:57.001Z","avatar_url":"https://github.com/DingoEatingFuzz.png","language":"TypeScript","readme":"# Lurkday\n\nDid you know you can \"print\" an org chart from Workday as an excel sheet?\n\nThis CLI utility takes that excel sheet and lets you quickly answer basic questions you may have about your coworkers.\n\n## Installation\n\nUse a node package manager:\n\n```shellsession\n$ bunx lurkday path/to/file.xlsx\n```\n\nor\n\n```shellsession\n$ npx lurkday path/to/file.xlsx\n```\n\nor\n\n```shellsession\n$ npm i -g lurkday\n$ lurkday path/to/file.xlsx\n```\n\nDon't have or want a node environment? You can do something like this to use Docker:\n\n```shellsession\n$ docker run -it --rm -v ./:/fs node:20 npx lurkday /fs/file.xlsx\n```\n\n## How to lurk\n\nFirst, get an export of the org chart:\n\n  1. Go to the top of your reporting chain\n  2. Click the print button (lol)\n  3. Choose Excel as the output format and All for levels\n\nNow run the `lurkday` command to start an interactive prompt:\n\n```shellsession\n$ lurkday exported-file.xlsx\nLurking 2,000 people\n\u003e \n```\n\nOnce in the interactive prompt, there are a handful of commands:\n\n  1. `help`\n  2. `tree`\n  3. `directs`\n  4. `chain`\n  5. `peers`\n\nUse the `help` command to get specifics on each, but the tl;dr is you do something like `directs My Coworker` and it'll work out.\n\n## Exporting\n\nIn case you want to do an even deeper lurk, all commands (other than `help`) will let you export to a `json`, `ndjson`, `csv`, or `tsv` file using the following syntax:\n\n```shellsession\n\u003e tree That One VP \u003e vp-tree.ndjson\n```\n\n## Command mode\n\nWhen running Lurkday, the default behavior is to open a REPL. This is nice for poking around at data, but it doesn't lend itself to automation.\n\nTo make automation easier, Lurkday can be run in command mode using the following format:\n\n```shellsession\n$ lurkday file.xlsx -c \"tree That One VP\"\n```\n\nThis will print the reporting tree to `stdout` and terminate the process.\n\nIf you want to print in a supported export format, provide the `--format` flag like so:\n\n```shellsession\n$ lurkday file.xlsx --format ndjson -c \"tree That One VP\"\n```\n\n\u003e [!WARNING]\n\u003e Since command mode is non-interactive, there is no opportunity to disambiguate a name. If the name is not an exact match, the program will error. To make sure you have an exact match, use the `find` command to get a person's Strong Enough Identifier™.\n\n### Strong Enough Identifiers\n\nWorkday's xlsx exports do not include strong identifiers. Person and Parent IDs are not guaranteed to be consistent across exports. To combat this, Lurkday can look up people using a combination of name and location or a combination of name and title. Since titles and locations are subject to change over time, there is still no guarantee that this will match people across exports. Thus, the identifier isn't strong, just strong enough (usually).\n\n```shellsession\n$ lurkday file.xslx\n\u003e Lurking 2,000 people\n\u003e find Jane Doe\n? Multiple potential matches. Please select one:\n❯ Jane Doe (4 directs, 10 total) Sr. Director, Support Operations SF Bay Area\n  Jane Doe Sr. Support Engineer Australia\n  Jane Dow (5 directs, 143 total) VP, Engineering California\nJane Doe Sr. Support Engineer Australia\n\nStrong Enough Identifiers:\nUse one of these in place of {name} in commands to probably guarantee an exact match.\n\n  l/Jane Doe::Australia/\n  t/Jane Doe::Sr. Support Engineer/\n\n$ lurkday file.xlsx -c \"chain l/Jane Doe::Australia/\"\n  Alan Locke Chief Executive Officer SF Bay Area\n  Bret Loser VP Engineering, Support Seattle, Washington\n* Jane Doe Sr. Support Engineer Australia\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdingoeatingfuzz%2Flurkday","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdingoeatingfuzz%2Flurkday","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdingoeatingfuzz%2Flurkday/lists"}