{"id":16808944,"url":"https://github.com/timakin/syncia","last_synced_at":"2025-07-31T05:05:43.302Z","repository":{"id":35802884,"uuid":"40084722","full_name":"timakin/syncia","owner":"timakin","description":"Filesync like Dropbox with Ruby code.","archived":false,"fork":false,"pushed_at":"2015-08-02T22:57:40.000Z","size":116,"stargazers_count":1,"open_issues_count":1,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-23T19:20:30.575Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","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/timakin.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}},"created_at":"2015-08-02T16:03:10.000Z","updated_at":"2015-09-21T09:23:03.000Z","dependencies_parsed_at":"2022-09-08T17:51:23.781Z","dependency_job_id":null,"html_url":"https://github.com/timakin/syncia","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timakin%2Fsyncia","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timakin%2Fsyncia/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timakin%2Fsyncia/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timakin%2Fsyncia/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/timakin","download_url":"https://codeload.github.com/timakin/syncia/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244012958,"owners_count":20383697,"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-10-13T10:00:25.476Z","updated_at":"2025-03-17T09:44:08.723Z","avatar_url":"https://github.com/timakin.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Syncia\n\nFile sync service with Ruby. The procedure is:\n\n```\n1. Start as a daemon process\n2. Start to watch a designated folder\n3. If updated, execute rsync command\n4. Synchronize your files to remote host\n5. Endup if it received a signal.\n```\n\nBefore synchronizing your file, you must register public key to the remote host like below:\n\n```\n$ cat ~/.ssh/id_rsa.pub | shh your_remote_host 'cat \u003e\u003e ~/.ssh/authorized_keys; chmod 600 ~/.ssh/authorized_keys'\n```\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'syncia'\n```\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install syncia\n\n## Usage\n\n```syncia.rb\nrequire 'syncia'\n\nsyncia = Syncia.new('./local_dir')\nsyncia.set_remote_info('timakin', '123.456.78.91')\nsyncia.set_remote_dir('/home/timakin/remote_dir')\nsyncia.run\n```\n\n```CLI\n$ ruby syncia.rb\n$ cat .syncia.pid | xargs kill \n```\n\n## Development\n\nAfter checking out the repo, run `bin/setup` to install dependencies. Then, 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` to 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\n1. Fork it ( https://github.com/timakin/syncia/fork )\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Add some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create a new Pull Request\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimakin%2Fsyncia","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftimakin%2Fsyncia","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimakin%2Fsyncia/lists"}