All Projects → Wanchai → Ftpbucket

Wanchai / Ftpbucket

FTPbucket is a PHP script that enables you to sync your BitBucket or GitHub repository with any web-server

Projects that are alternatives of or similar to Ftpbucket

Wordmove
Multi-stage command line deploy/mirroring and task runner for Wordpress
Stars: ✭ 1,791 (+1709.09%)
Mutual labels:  ftp, ssh
Hfish
安全、可靠、简单、免费的企业级蜜罐
Stars: ✭ 2,977 (+2907.07%)
Mutual labels:  ftp, ssh
Getssl
obtain free SSL certificates from letsencrypt ACME server Suitable for automating the process on remote servers.
Stars: ✭ 1,687 (+1604.04%)
Mutual labels:  ftp, ssh
Gitnow
Speed up your Git workflow. 🐠
Stars: ✭ 117 (+18.18%)
Mutual labels:  ssh, bitbucket
Ftpgrab
Grab your files periodically from a remote FTP or SFTP server easily
Stars: ✭ 300 (+203.03%)
Mutual labels:  ftp, ssh
bitbucket-sync
Mirror of BitBucket Sync project hosted on BitBucket
Stars: ✭ 18 (-81.82%)
Mutual labels:  ftp, bitbucket
Brutedum
BruteDum - Brute Force attacks SSH, FTP, Telnet, PostgreSQL, RDP, VNC with Hydra, Medusa and Ncrack
Stars: ✭ 212 (+114.14%)
Mutual labels:  ftp, ssh
Ftp Deployment
A tool for automated deployment of web applications to an FTP server.
Stars: ✭ 527 (+432.32%)
Mutual labels:  ftp, ssh
Sync
syncs your local folder with remote folder using scp
Stars: ✭ 293 (+195.96%)
Mutual labels:  ftp, ssh
teamcity-deployer-plugin
Deployer plugin for TeamCity CI server
Stars: ✭ 37 (-62.63%)
Mutual labels:  ssh, ftp
Openiothub
💖A free IoT (Internet of Things) platform and private cloud. [一个免费的物联网和私有云平台,支持内网穿透]
Stars: ✭ 371 (+274.75%)
Mutual labels:  ftp, ssh
Winscp
WinSCP is a popular free SFTP and FTP client for Windows, a powerful file manager that will improve your productivity. It supports also Amazon S3, FTPS, SCP and WebDAV protocols. Power users can automate WinSCP using .NET assembly.
Stars: ✭ 794 (+702.02%)
Mutual labels:  ftp, ssh
Swifthook
A library to hook methods in Swift and Objective-C.
Stars: ✭ 93 (-6.06%)
Mutual labels:  hooks
Sidedoor
SSH connection daemon for Debian/Raspbian/Ubuntu/etc
Stars: ✭ 97 (-2.02%)
Mutual labels:  ssh
Ssh Mitm
SSH man-in-the-middle tool
Stars: ✭ 1,328 (+1241.41%)
Mutual labels:  ssh
Sshconfig
Minimal command to Add/Remove/list ssh aliases in $HOME/.ssh/config
Stars: ✭ 93 (-6.06%)
Mutual labels:  ssh
Iostore
极简的全局数据管理方案,基于 React Hooks API
Stars: ✭ 99 (+0%)
Mutual labels:  hooks
Use Substate
🍙 Lightweight (<600B minified + gzipped) React Hook to subscribe to a subset of your single app state.
Stars: ✭ 97 (-2.02%)
Mutual labels:  hooks
React Anime
✨ (ノ´ヮ´)ノ*:・゚✧ A super easy animation library for React!
Stars: ✭ 1,313 (+1226.26%)
Mutual labels:  hooks
Dahlia
An opinionated React Framework. [Rename to pea.js]
Stars: ✭ 92 (-7.07%)
Mutual labels:  hooks

FTPbucket

alt text

FTPbucket is a PHP script that enables you to sync your BitBucket or GitHub repository with any web-server. It works with Git and Mercurial.

How does it work? When you push to a GitHub or BitBucket repository, you can setup a hook that will be called after every push. This hook will send a payload containing what is changed to the server hosting the FTPbucket folder. FTPbucket can apply the modifications on the same host or to another one through FTP or SSH (SFTP).

From one FTPbucket folder, you can manage an infinite number of hosts and repos.

- release notes -

v0.8

If you are updating, you should go for a fresh install. Erase everything except the config file.

  • Removed support for deprecated BitBucket POST Hooks
  • Moved BitBucket to API 2.0 Thanks to d2roth

v0.7

If you are updating, you should go for a fresh install. Erase everything except the .txt files if you want to keep your logs.

  • Support for GitHub
  • Beta for SSH
  • Renamed the folder 'deploy' to 'ftpbucket' to avoid confusion

v0.6

If you are updating, you should go for a fresh install. Erase everything except the .txt files if you want to keep your logs.

  • Now compatible with both Webhooks and POST hooks from BitBucket. Many thanks to Jacob Moen for his help!
  • Huge changes in order to support Github hooks in the future (soon!!!)

INSTALLATION

If you want to use SSH, you must install the SSH2 extension available from PECL on the server hosting FTPbucket.

  • Edit the config file sample and rename it to 'config.php'
  • Copy the 'ftpbucket' folder on your server
  • On BitBucket repository page, go to Settings>Webhooks>Add webhook and setup a hook pointing to http://myserver/ftpbucket/deploy.php with "Triggers > Repository push"
  • On GitHub repository page, go to Settings>Webhooks & Services>Add webhook and setup a hook pointing to http://myserver/ftpbucket/deploy.php with 'Content Type > application/json' and "Just the push event".

Note: On BitBucket, POST hooks are still supported by FTPbucket (not working with version 0.7+).

LOGS

You can see and clear the logs by connecting to http://myserver/ftpbucket/ You have to setup a password in the config file.

LIMITATIONS

The script only copies the files you are pushing. It means that if you start with this tool when you already have files in your repo, they won't be copied on the server. I'm looking for solutions on a full deploy.

MORE

I'm sure a lot of improvements can be made to my code so don't hesitate to fork and improve it! I would be glad to hear about your tests and issues too.

TODO

  • Add a function to make a full sync

LICENCE

Copyright (c) 2014-2016 Thomas Malicet

This code is an open-sourced software licensed under the [BEER-WARE LICENCE] (https://fedoraproject.org/wiki/Licensing/Beerware)

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].