{"id":13638888,"url":"https://github.com/arthyn/gin-tonic","last_synced_at":"2025-07-28T18:08:56.257Z","repository":{"id":73827798,"uuid":"550036549","full_name":"arthyn/gin-tonic","owner":"arthyn","description":"ship sync and sail hot reloading for urbit development","archived":false,"fork":false,"pushed_at":"2024-06-25T19:09:55.000Z","size":61,"stargazers_count":24,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-03-24T14:50:30.848Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/arthyn.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":"2022-10-12T05:31:19.000Z","updated_at":"2024-12-04T17:07:52.000Z","dependencies_parsed_at":"2024-06-25T20:48:43.113Z","dependency_job_id":"e3942d15-2179-40c9-b4de-20ebcc93466a","html_url":"https://github.com/arthyn/gin-tonic","commit_stats":{"total_commits":7,"total_committers":1,"mean_commits":7.0,"dds":0.0,"last_synced_commit":"7f8dc152f19e3cae35a62539b289fc41c825578d"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arthyn%2Fgin-tonic","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arthyn%2Fgin-tonic/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arthyn%2Fgin-tonic/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arthyn%2Fgin-tonic/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/arthyn","download_url":"https://codeload.github.com/arthyn/gin-tonic/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248144161,"owners_count":21054877,"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":[],"created_at":"2024-08-02T01:00:55.055Z","updated_at":"2025-04-10T02:30:44.403Z","avatar_url":"https://github.com/arthyn.png","language":"TypeScript","funding_links":[],"categories":["Developer Tools"],"sub_categories":["Sail"],"readme":"# gin and tonic\n\nTwo companions making [sail](https://developers.urbit.org/guides/additional/sail) \ndevelopment much nicer.\n\n**gin**: a utility for syncing files from a repository to a clay desk and\ncommitting on save.\n\n**tonic**: a library which auto refreshes your sail page on commit\n\n## getting started\n\n1. First you should install `gin`:\n   ```bash\n   npm i -g gin-tonic\n   ```\n2. Next run `gin add` to add a workspace which will be used to sync your \n   files from your repository to the Urbit you're working on and commit.\n3. Then run `gin pour` to add the tonic library to your Urbit.\n4. Integrate tonic into your gall application by wrapping your gall agent:\n   ```hoon\n    /+  tonic\n    ...\n    %-  agent:tonic\n    |_  =bowl:gall\n    ...\n   ```\n5. Include tonic's script in each sail page:\n  ```hoon\n  /+  tonic\n  ...\n  ;head\n    ...\n    ;+  (inject:tonic q.byk.bowl)\n  ==\n  ```\n6. Finally run `gin watch` and pick your workspace. Gin will run until\n   cancelled syncing your changes.\n7. Sip and enjoy!","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farthyn%2Fgin-tonic","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farthyn%2Fgin-tonic","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farthyn%2Fgin-tonic/lists"}