{"id":18783298,"url":"https://github.com/yukaii/kaif-ios","last_synced_at":"2025-09-10T01:41:38.077Z","repository":{"id":79380746,"uuid":"49212211","full_name":"Yukaii/kaif-ios","owner":"Yukaii","description":":small_red_triangle:An iOS client for kaif.io made with React Native!","archived":false,"fork":false,"pushed_at":"2017-02-19T03:20:12.000Z","size":2180,"stargazers_count":8,"open_issues_count":2,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-09-06T19:56:16.223Z","etag":null,"topics":["ios","kaif-io","react-native"],"latest_commit_sha":null,"homepage":"https://trello.com/b/i9mqklQS/kaif-ios-roadmap","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/Yukaii.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":"2016-01-07T15:20:17.000Z","updated_at":"2023-07-17T05:17:53.000Z","dependencies_parsed_at":"2023-06-03T21:45:35.594Z","dependency_job_id":null,"html_url":"https://github.com/Yukaii/kaif-ios","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Yukaii/kaif-ios","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yukaii%2Fkaif-ios","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yukaii%2Fkaif-ios/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yukaii%2Fkaif-ios/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yukaii%2Fkaif-ios/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Yukaii","download_url":"https://codeload.github.com/Yukaii/kaif-ios/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yukaii%2Fkaif-ios/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274396916,"owners_count":25277398,"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","status":"online","status_checked_at":"2025-09-09T02:00:10.223Z","response_time":80,"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":["ios","kaif-io","react-native"],"created_at":"2024-11-07T20:38:51.011Z","updated_at":"2025-09-10T01:41:38.054Z","avatar_url":"https://github.com/Yukaii.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Kaif.io iOS Client App\n[Kaif.io](https://kaif.io) unofficial iOS Client App. Made with React Native.\n\n## Screenshots\n\u003cimg width=\"400\" src=\"./screenshots/article.png\"\u003e\n\u003cimg width=\"400\" src=\"./screenshots/debate.png\"\u003e\n\u003cimg width=\"400\" src=\"./screenshots/zone.png\"\u003e\n\u003cimg width=\"400\" src=\"./screenshots/zone_articles.png\"\u003e\n\n## Setup\n\n### React Native\n\n```bash\nnpm install\ncp src/config/config.sample.js src/config/config.js\n```\n\n然後在 `config.js` 填入在 [kaif client apps](https://kaif.io/developer/client-app) 新增應用程式的 `client id` 還有 `client secret`，最後：\n\n```bash\nnpm start\n```\n\n會跑起 react native 的 packager。接下來我們要設定 Xcode的部分。\n\n### Xcode\n打開 `ios` 資料夾理的 `KaifIoIos.xcodeproj`，更改 bundle identifier（如果要的話）、fix issues（如果要的話）。Build and Run!\n\n## Development\n\n要進行開發的話把 `AppDelegate.m` 裡 47 行的\n\n```objective-c\njsCodeLocation = [[NSBundle mainBundle] URLForResource:@\"main\" withExtension:@\"jsbundle\"];\n```\n\n註解掉，然後工具列的 `Product` =\u003e `Scheme` =\u003e `Edit Scheme...` 點進去，把 `Build Configuration` 改成 `Release`。\n\n一樣跑起 `npm start`，Build and Run!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyukaii%2Fkaif-ios","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyukaii%2Fkaif-ios","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyukaii%2Fkaif-ios/lists"}