{"id":15736385,"url":"https://github.com/arianvp/hconfig","last_synced_at":"2025-07-19T03:35:12.398Z","repository":{"id":143634106,"uuid":"89792195","full_name":"arianvp/hconfig","owner":"arianvp","description":"Applicative configuration DSL","archived":false,"fork":false,"pushed_at":"2017-04-30T13:23:51.000Z","size":9,"stargazers_count":3,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-31T04:19:39.590Z","etag":null,"topics":["applicative","config","dsl","haskell"],"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/arianvp.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":"2017-04-29T14:53:46.000Z","updated_at":"2019-05-20T09:21:08.000Z","dependencies_parsed_at":null,"dependency_job_id":"07afdcbe-8526-4b6e-99a0-b2c1f6c8478d","html_url":"https://github.com/arianvp/hconfig","commit_stats":{"total_commits":7,"total_committers":2,"mean_commits":3.5,"dds":0.4285714285714286,"last_synced_commit":"6383fe6aea019ebb0da8cfdcbb492aeed892b9df"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/arianvp/hconfig","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arianvp%2Fhconfig","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arianvp%2Fhconfig/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arianvp%2Fhconfig/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arianvp%2Fhconfig/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/arianvp","download_url":"https://codeload.github.com/arianvp/hconfig/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arianvp%2Fhconfig/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265883685,"owners_count":23843796,"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":["applicative","config","dsl","haskell"],"created_at":"2024-10-04T01:22:07.227Z","updated_at":"2025-07-19T03:35:12.376Z","avatar_url":"https://github.com/arianvp.png","language":"Haskell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# hconfig\n\nApplicative configuration inspired by the talk\n[Move Over Free Monads: Make Way for Free Applicatives!][talk]\n\n[talk]: https://www.youtube.com/watch?v=H28QqxO7Ihc\n\n## Example\n\nYou can use the applicative DSL in `Data.Config` to build a description of your\nconfiguration. This description contains the keys and types of your\nconfiguration, for consumption by various _interpreters_. Here is an example of\nsuch a description, for PostgreSQL connections:\n\n```haskell\n{-# LANGUAGE OverloadedStrings #-}\n\nimport Data.Text (Text)\nimport Database.PostgreSQL (PoolConfiguration)\n\npostgreSQLPool :: Config Text PoolConfiguration\npostgreSQLPool =\n  PoolConfiguration\n  \u003c$\u003e string \"user\"\n  \u003c*\u003e string \"password\"\n  \u003c*\u003e string \"host\"\n  \u003c*\u003e int    \"port\"\n  \u003c*\u003e string \"database\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farianvp%2Fhconfig","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farianvp%2Fhconfig","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farianvp%2Fhconfig/lists"}