{"id":13995526,"url":"https://github.com/gabrielepalma/sublimate","last_synced_at":"2025-07-22T22:31:04.368Z","repository":{"id":218246002,"uuid":"165563149","full_name":"gabrielepalma/sublimate","owner":"gabrielepalma","description":"Sublimate: Ridiculously fast full stack Swift prototyping with Vapor and Sourcery.","archived":false,"fork":false,"pushed_at":"2019-01-29T23:34:03.000Z","size":463,"stargazers_count":64,"open_issues_count":0,"forks_count":2,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-11-29T18:40:21.080Z","etag":null,"topics":["prototyping","sourcery","synchronization","vapor","vapor-3","vapor3"],"latest_commit_sha":null,"homepage":"http://www.gabrielepalma.it","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gabrielepalma.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":"2019-01-13T22:48:23.000Z","updated_at":"2024-09-04T23:00:30.000Z","dependencies_parsed_at":null,"dependency_job_id":"68d8c0b9-268f-4efa-9858-11425c76e9dd","html_url":"https://github.com/gabrielepalma/sublimate","commit_stats":null,"previous_names":["gabrielepalma/sublimate"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/gabrielepalma/sublimate","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gabrielepalma%2Fsublimate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gabrielepalma%2Fsublimate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gabrielepalma%2Fsublimate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gabrielepalma%2Fsublimate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gabrielepalma","download_url":"https://codeload.github.com/gabrielepalma/sublimate/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gabrielepalma%2Fsublimate/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266585670,"owners_count":23952163,"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-07-22T02:00:09.085Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"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":["prototyping","sourcery","synchronization","vapor","vapor-3","vapor3"],"created_at":"2024-08-09T14:03:27.885Z","updated_at":"2025-07-22T22:31:04.170Z","avatar_url":"https://github.com/gabrielepalma.png","language":"Swift","funding_links":[],"categories":["Swift"],"sub_categories":[],"readme":"# sublimate\nSublimate: Ridiculously fast full stack Swift prototyping with Vapor and Sourcery\n\n# Quick start:\n\n- install Sourcery, Vapor and CocoaPods\n  ```sh \n  brew install cocoapods\n  brew install sourcery\n  brew install vapor/tap/vapor\n  ```\n- clone Sublimate repo\n  ```sh \n  $ git clone https://github.com/gabrielepalma/sublimate.git\n  ```\n- edit the file Demo.swift in Sourcery/Models: \n  - add new frost models as you see fit. \n  - if implements FrozenModel, it will be public and won't require any authentication\n  - if implements OwnedFrozenModel, it will be private, matched to the user and require authentication\n  - the primary keys will be added automatically.\n  - only Int, Double and String field types are currently supported\n- run Sourcery: from the repository root run\n    ```sh \n  $ sourcery\n  ```\n- create the Vapor project: from SublimateVapor folder run\n    ```sh \n  $ vapor xcode\n  ```\n- open the Vapor project and run it\n- download CocoaPods dependencies: from SublimateClient folder run\n    ```sh \n  $ pod install\n  ```\n- open the Client workspace and run it on simulator\n\n# Features\nThe project provides:\n\nOn server: \n- fluent models for Vapor generated from the frost models provided\n- appropriate GET, POST and DELETE routes for CRUD operation on models\n- middlewares for the routes requiring authentication \n- authentication logic based on Refresh/Access dichotomy and JWT tokens.\n\nOn client:\n- network clients and related DTOs based on PromiseKit\n- an offline-first synchronization framework (SublimateSync) based on RxSwift and Realm.\n- a mock UI (SublimateUI) to be used as a demo/test application\n- an authentication client, manager and view controller, including automatic refresh of the access token\n\nThe resulting mock UI is ready to run, demonstrating authentication, synchronization and (randomized) CRUD operations.\n\n\u003cimg src=\"https://raw.githubusercontent.com/gabrielepalma/sublimate/master/Sublimate.jpg\" /\u003e\n\n# Coming next\n\n- customizable User Profile\n- support for image upload (via multipart POST requests) and download (with cache and arbitrary thumbnail resizing)\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgabrielepalma%2Fsublimate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgabrielepalma%2Fsublimate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgabrielepalma%2Fsublimate/lists"}