{"id":13433081,"url":"https://github.com/meck/alfred-footman","last_synced_at":"2025-03-17T10:33:13.918Z","repository":{"id":215984665,"uuid":"155093267","full_name":"meck/alfred-footman","owner":"meck","description":"A library for writing script filters for Alfred in Haskell","archived":false,"fork":false,"pushed_at":"2019-06-23T19:19:06.000Z","size":37,"stargazers_count":10,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-27T13:04:38.991Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Haskell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/meck.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,"governance":null,"roadmap":null,"authors":null}},"created_at":"2018-10-28T16:49:03.000Z","updated_at":"2021-11-01T05:53:44.000Z","dependencies_parsed_at":"2024-01-07T20:12:40.883Z","dependency_job_id":null,"html_url":"https://github.com/meck/alfred-footman","commit_stats":null,"previous_names":["meck/alfred-footman"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meck%2Falfred-footman","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meck%2Falfred-footman/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meck%2Falfred-footman/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meck%2Falfred-footman/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/meck","download_url":"https://codeload.github.com/meck/alfred-footman/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244016941,"owners_count":20384243,"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-07-31T02:01:20.756Z","updated_at":"2025-03-17T10:33:13.583Z","avatar_url":"https://github.com/meck.png","language":"Haskell","funding_links":[],"categories":["Haskell","Libraries"],"sub_categories":[],"readme":"## alfred-footman\n\n### A library for writing script filters in [Alfred](https://www.alfredapp.com) persistent state\n\n### Somewhat a WIP.\n\n\nExample usage:\n``` haskell\nimport Alfred\nimport Data.Time.LocalTime\n\nmyReturn :: AlfM String Return\nmyReturn = do\n  time \u003c- liftIO getZonedTime\n  prevTime \u003c- get\n  put $ show time\n  return $ defaultReturn\n    { items = [ defaultItem { title    = \"Time\"\n                            , subtitle = Just \"Outputs the last time the scipt was run\"\n                            , arg      = Just $ show prevTime }]}\n\nmain = alfMain myReturn\n```\n\n* Requires [stack](http://www.haskellstack.org)\n* The code is documented with haddock\n* There is an test workflow included in ```app/Main.hs``` that can be built with ```./buildexample.sh```\n\n#### Use with alfred \nThe easiest way to develop a workflow is to point the script action you are making to ```~/.local/bin/\u003cyourexe\u003e``` and run\n```stack install``` while testing, and when done copy the executable into the script folder.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmeck%2Falfred-footman","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmeck%2Falfred-footman","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmeck%2Falfred-footman/lists"}