{"id":31551178,"url":"https://github.com/spencerldixon/titanic","last_synced_at":"2026-05-06T03:33:37.415Z","repository":{"id":62559098,"uuid":"90035424","full_name":"spencerldixon/titanic","owner":"spencerldixon","description":"Easily sync postgres databases from a remote into your Rails app via SCP","archived":false,"fork":false,"pushed_at":"2017-05-02T15:45:52.000Z","size":18,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-08T06:43:34.854Z","etag":null,"topics":["database","postgres","rails","ruby","scp","sync"],"latest_commit_sha":null,"homepage":null,"language":"Ruby","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/spencerldixon.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-05-02T13:16:21.000Z","updated_at":"2017-05-02T13:19:00.000Z","dependencies_parsed_at":"2022-11-03T11:15:50.812Z","dependency_job_id":null,"html_url":"https://github.com/spencerldixon/titanic","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/spencerldixon/titanic","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spencerldixon%2Ftitanic","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spencerldixon%2Ftitanic/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spencerldixon%2Ftitanic/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spencerldixon%2Ftitanic/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/spencerldixon","download_url":"https://codeload.github.com/spencerldixon/titanic/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spencerldixon%2Ftitanic/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32677928,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-06T02:33:58.958Z","status":"ssl_error","status_checked_at":"2026-05-06T02:33:39.611Z","response_time":117,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["database","postgres","rails","ruby","scp","sync"],"created_at":"2025-10-04T18:03:20.723Z","updated_at":"2026-05-06T03:33:37.408Z","avatar_url":"https://github.com/spencerldixon.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Titanic 🛳\n### Your database is syncing\n\nEasily sync postgres databases from a remote into your local Rails application via SCP\n\n![](https://media.giphy.com/media/OJw4CDbtu0jde/giphy.gif)\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'titanic-db'\n```\n\nAnd then execute:\n\n```ruby\nbundle\n```\n\nThen run the installer...\n\n```ruby\nrails g titanic:install\n```\n\nSet up the following environment vars\n\n```\nTITANIC_SSH_HOST=staging.example.com\nTITANIC_SSH_USERNAME=admin\nTITANIC_SSH_FILEPATH=~/backups/database.psql\n```\n\n## Usage\n\n`rake db:titanic:sync` - Pulls the db from the server and replaces your local development db with it\n\n## Development\n\nAfter checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.\n\nTo install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/spencerldixon/titanic.\n\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspencerldixon%2Ftitanic","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspencerldixon%2Ftitanic","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspencerldixon%2Ftitanic/lists"}