{"id":15606482,"url":"https://github.com/stas/mina-ftp","last_synced_at":"2025-04-27T12:11:08.516Z","repository":{"id":56883779,"uuid":"11453383","full_name":"stas/mina-ftp","owner":"stas","description":"FTP support for Mina.","archived":false,"fork":false,"pushed_at":"2013-08-02T07:45:27.000Z","size":56,"stargazers_count":7,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-21T05:06:50.918Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/stas.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":"2013-07-16T15:44:23.000Z","updated_at":"2015-12-29T03:17:53.000Z","dependencies_parsed_at":"2022-08-20T22:31:06.998Z","dependency_job_id":null,"html_url":"https://github.com/stas/mina-ftp","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/stas%2Fmina-ftp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stas%2Fmina-ftp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stas%2Fmina-ftp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stas%2Fmina-ftp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stas","download_url":"https://codeload.github.com/stas/mina-ftp/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251134781,"owners_count":21541384,"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-03T04:40:29.185Z","updated_at":"2025-04-27T12:11:08.499Z","avatar_url":"https://github.com/stas.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# FTP support for Mina\n\nYou can use mina now to deploy static websites to FTP servers.\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n    gem 'mina-ftp'\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install mina-ftp\n\n## Usage\n\nUse mina to generate the config file:\n\n    $ bundle exec mina init\n\nLoad the FTP tasks:\n\n```ruby\nrequire 'mina/ftp'\n```\n\nAdd some settings to the `config/deploy.rb` or to `Minafile` file.\n\n```ruby\nset :ftp_path, 'public_www'\nset :ftp_host, 'ftp.domain.com'\nset :ftp_username, 'user@domain.com'\nset :ftp_password, 'secret'\nset :ftp_from_path, 'public'\nset :ftp_options, {:passive =\u003e false}\n```\n\nUpdate `deploy` task to invoke `ftp:deploy` task:\n\n```ruby\ntask :deploy do\n  invoke :'ftp:deploy'\nend\n```\n\nDeploy it!\n\n    $ bundle exec mina deploy\n\nUse `--verbose` flag if you want to see FTP client calls.\n\nTo clear the remote path, use the `ftp:empty` task:\n\n    $ bundle exec mina ftp:empty\n\nThats it.\n\n## Todo\n\nWrite some tests.\n\n## Contributing\n\n1. Fork it\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 new Pull Request\n\n## Thanks and credits\n\nThis gem uses [ftp_sync](https://github.com/jebw/ftp_sync) gem.\n\nHuge thanks to [mina](https://github.com/nadarei/mina) developers for the awesome tool.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstas%2Fmina-ftp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstas%2Fmina-ftp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstas%2Fmina-ftp/lists"}