{"id":21890855,"url":"https://github.com/chantastic/doxy","last_synced_at":"2026-05-02T05:41:22.824Z","repository":{"id":141974451,"uuid":"143073365","full_name":"chantastic/doxy","owner":"chantastic","description":"Cross-platform Church Center Components","archived":false,"fork":false,"pushed_at":"2018-08-07T18:28:05.000Z","size":134,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-08-17T16:22:14.443Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/chantastic.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,"publiccode":null,"codemeta":null}},"created_at":"2018-07-31T21:45:38.000Z","updated_at":"2019-06-25T14:12:04.000Z","dependencies_parsed_at":null,"dependency_job_id":"40ae0d73-6a71-4f0e-8194-5cebb6f31cbf","html_url":"https://github.com/chantastic/doxy","commit_stats":null,"previous_names":["churchcenter/doxy"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/chantastic/doxy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chantastic%2Fdoxy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chantastic%2Fdoxy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chantastic%2Fdoxy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chantastic%2Fdoxy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chantastic","download_url":"https://codeload.github.com/chantastic/doxy/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chantastic%2Fdoxy/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32524565,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-02T01:12:54.858Z","status":"online","status_checked_at":"2026-05-02T02:00:05.923Z","response_time":132,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-11-28T12:17:41.353Z","updated_at":"2026-05-02T05:41:22.808Z","avatar_url":"https://github.com/chantastic.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"**SUPSENDED UNTIL [api.churchcenter.com](api.churchcenter.com/) RELEASE**\n\n## What happened?\n\nWithout hesitation, this first step in the project was a success. But the timing isn't quite right.\n\n### What was accomplished?\n* Typography components for iOS, Android, and web via [react-native-web](https://github.com/necolas/react-native-web).\n* `space` system:\n\n#### `space`\nWe explored a bunch of different and determined them to be too magical or overreaching.\nBy using a function, we opt out of any platform discrepencies and CSS consistency issues.\n\nConsider the potential complications of a props-based API:\n\n```jsx\nimport { View as DoxyView } from \"@churchcenter/doxy\";\n\n\u003cDoxyView padding={1} /\u003e\n\u003cDoxyView padding={[1, 2]} /\u003e\n\u003cDoxyView padding={[1, 2, 1]} /\u003e\n\u003cDoxyView padding={[1, 2, \"5px\"]} /\u003e\n\u003cDoxyView padding={1} paddingBottom={2} /\u003e\n\u003cDoxyView padding={{ small: 1, medium: [1, 2,1] }} /\u003e\n```\n\nNow consider what that looks like using the `space(unit)` function.\nIt can be used with any component, in any composition.\n\n```jsx\nimport { space } from \"@churchcenter/doxy/system\";\nimport { RandoNPMViewWrapper } from \"rando-npm-view-wrapper\";\n\n\u003cRandoNPMViewWrapper\n  style={{\n    padding: space(1),\n    paddingBottom: space(2),\n    margin: `${space(1)} 2em`\n  }}\n/\u003e\n\n\u003cSomeMediaProvider\u003e\n  {media =\u003e  \n    \u003cView\n      style={{\n        padding: media.small ? space(1) : space(2),\n        paddingBottom: space(2)\n        margin: `${space(1)} 2em`\n      }}\n    /\u003e\n  }\n\u003c/SomeMediaProvider\u003e\n```\n\nAnd finally this method can take advantage of `Stylesheet.create` for improved rendering performance.\n\n```js\nimport { Stylesheet } from \"react-native\";\n\nlet styles = Stylesheet.create({\n  someView: {\n    padding: space(1),\n    paddingBottom: space(2),\n    margin: `${space(1)} 2em`,\n  }\n})\n\n\u003cView style={styles.someView}\u003e...\u003c/View\u003e\n```\n\n### What is left to explore?\nThe `doxy/button` is very complex.\nIt does a lot to accomplish the gradient effect that I'm not totally confortable porting to the web.\n\nIn our next effort, I'd like to see if we can export the simpler buttons first.\n\n### What's next?\n* Continue building the [app-local Doxy](https://github.com/ministrycentered/ChurchCenterApp/tree/next/app/components/doxy)\n* Continue developing Josh's [CSS Doxy clone](https://github.com/ministrycentered/giving/blob/master/app/assets/stylesheets/church_center/views/_ccapp.scss) for web apps.\n* Wait for [api.churchcenter.com](api.churchcenter.com/) to be developed as a first-class backend for Doxy components.\n\n### Links\n* [Closed ChurchCenterApp PR](https://github.com/ministrycentered/ChurchCenterApp/pull/158)\n\n---\n\n# doxy\nCross-platform Church Center Components\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchantastic%2Fdoxy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchantastic%2Fdoxy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchantastic%2Fdoxy/lists"}