{"id":17540478,"url":"https://github.com/fromkk/realmchat","last_synced_at":"2025-04-23T22:54:03.223Z","repository":{"id":146698496,"uuid":"70149162","full_name":"fromkk/RealmChat","owner":"fromkk","description":null,"archived":false,"fork":false,"pushed_at":"2016-12-04T00:28:06.000Z","size":1288,"stargazers_count":14,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-23T22:53:51.582Z","etag":null,"topics":["realm","realmmobileplatform","swift","swift-3","swift3"],"latest_commit_sha":null,"homepage":null,"language":"Swift","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/fromkk.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-10-06T11:51:13.000Z","updated_at":"2023-01-22T06:26:48.000Z","dependencies_parsed_at":"2023-04-03T10:31:09.368Z","dependency_job_id":null,"html_url":"https://github.com/fromkk/RealmChat","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fromkk%2FRealmChat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fromkk%2FRealmChat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fromkk%2FRealmChat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fromkk%2FRealmChat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fromkk","download_url":"https://codeload.github.com/fromkk/RealmChat/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250528699,"owners_count":21445511,"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":["realm","realmmobileplatform","swift","swift-3","swift3"],"created_at":"2024-10-20T22:23:59.969Z","updated_at":"2025-04-23T22:54:03.216Z","avatar_url":"https://github.com/fromkk.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RealmChat sample\n\nSample of iOS chat application with Realm and Realm Object Server.\n\n![gif](sample.gif)\n\n## Usage\n\n### Carthage\n\nRun `carthage update --platform iOS` with your terminal.\n\n### Realm Object Server setting\n\nModify **RealmChat/Supports/RealmConstants.swift**\n\n```swift\nenum RealmConstants {\n    private static let host: String = \"127.0.0.1\" //YOUR Realm Object Server host name here\n    private static let databaseName: String = \"realmchat\" //database name\n    private static let port: Int = 9080 //Realm Object Server Port here\n    static let authURL: URL = URL(string: \"http://\\(host):\\(port)\")!\n    static let realmURL: URL = URL(string: \"realm://\\(host):\\(port)/\\(databaseName)\")!\n    static let adminToken: String = \"YOUR ADMIN TOKEN HERE\" //admin token here ex: /etc/realm/admin_token.base64\n    static let identity: String = \"USER IDENTITY HERE\" // RLMSyncUser.identity\n\n    static func setDefaultUser(user: RLMSyncUser) {\n        let configuration: Realm.Configuration = Realm.Configuration(syncConfiguration: (user, realmURL))\n        Realm.Configuration.defaultConfiguration = configuration\n    }\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffromkk%2Frealmchat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffromkk%2Frealmchat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffromkk%2Frealmchat/lists"}