{"id":16716950,"url":"https://github.com/tmcgilchrist/airship","last_synced_at":"2025-04-04T13:13:47.832Z","repository":{"id":26308316,"uuid":"29756295","full_name":"tmcgilchrist/airship","owner":"tmcgilchrist","description":"Helium + Webmachine = Airship. A toolkit for building declarative, RESTful web apps.","archived":false,"fork":false,"pushed_at":"2023-03-01T14:00:13.000Z","size":338,"stargazers_count":244,"open_issues_count":7,"forks_count":14,"subscribers_count":36,"default_branch":"master","last_synced_at":"2025-03-29T11:08:57.605Z","etag":null,"topics":["github-actions","haskell","webmachine"],"latest_commit_sha":null,"homepage":"http://tmcgilchrist.github.io/airship/","language":"Haskell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tmcgilchrist.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2015-01-23T22:30:51.000Z","updated_at":"2024-11-28T16:30:34.000Z","dependencies_parsed_at":"2024-02-26T00:42:29.273Z","dependency_job_id":"4ef73e06-2eb8-4bd6-8134-7948029da992","html_url":"https://github.com/tmcgilchrist/airship","commit_stats":{"total_commits":246,"total_committers":15,"mean_commits":16.4,"dds":0.6504065040650406,"last_synced_commit":"5f0834d3c013d38f77270a1428ddd629673922ab"},"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tmcgilchrist%2Fairship","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tmcgilchrist%2Fairship/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tmcgilchrist%2Fairship/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tmcgilchrist%2Fairship/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tmcgilchrist","download_url":"https://codeload.github.com/tmcgilchrist/airship/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247182420,"owners_count":20897381,"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":["github-actions","haskell","webmachine"],"created_at":"2024-10-12T21:28:59.204Z","updated_at":"2025-04-04T13:13:47.806Z","avatar_url":"https://github.com/tmcgilchrist.png","language":"Haskell","readme":"# Airship\n\n[![GitHub CI][github-shield]][github-ci] [![docs][docs-shield]][docs]\n\nAirship is a Haskell library for handling and serving HTTP requests in a RESTful fashion. It is heavily inspired by [Webmachine](https://github.com/basho/webmachine)\nand works with any [WAI](https://hackage.haskell.org/package/wai)-compatible web server such as [Warp](https://hackage.haskell.org/package/warp).\n\nIt aims to be small, fast, and flexible.\n\n# How does it work?\n\nAirship resources are represented with a [`Resource` record type](https://github.com/tmcgilchrist/airship/blob/master/airship/src/Airship/Resource.hs#L39-L117).\nEach field in `Resource` corresponds to an action taken in the [Webmachine decision tree](https://raw.githubusercontent.com/wiki/Webmachine/webmachine/images/http-headers-status-v3.png).\nAirship provides a `defaultResource` with sensible defaults for each of these actions; you build web services by overriding fields in the default resource with your own.\n\nRoutes are declared with a simple monadic syntax:\n\n```haskell\nroutes = do\n    root                        #\u003e someRootResource\n    \"account\" \u003c/\u003e var \"name\"    #\u003e accountResource\n```\n\nFor a simple example that handles HTTP GET and POST requests, please check [`example/Basic.hs`](https://github.com/tmcgilchrist/airship/blob/master/example/Basic.hs).\nFor a slightly more involved example that generates HTML and manages a pool of resources, please check the [blimp](https://github.com/patrickt/blimp) repository.\n\nAirship is copyright \u0026copy; 2015 Helium Systems, Inc., and released to the public under the terms of the MIT license.\n\n[github-shield]: https://github.com/tmcgilchrist/airship/actions/workflows/ci.yaml/badge.svg\n[github-ci]: https://github.com/tmcgilchrist/airship/actions/workflows/ci.yaml\n\n[docs-shield]:https://img.shields.io/badge/doc-online-blue.svg\n[docs]: https://tmcgilchrist.github.io/airship/index.html\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftmcgilchrist%2Fairship","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftmcgilchrist%2Fairship","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftmcgilchrist%2Fairship/lists"}