This is a drop-in replacement for megaannex. It should be compatible in every way except the initial environment variables
This project makes use of go-mega for the connection to mega
- Go
- git-annex1
- go-mega
go get github.com/t3rm1n4l/go-mega
git clone https://github.com/dxtr/megaannex-go.git
cd megaannex-go
go build
Then rename megaannex-go to git-annex-remote-mega and copy it to your PATH
Init a remote:
MEGA_USERNAME="<name>" MEGA_PASSWORD="<password>" git annex initremote <name> type=external externaltype=mega encryption=hybrid keyid=<keyid> mac=HMACSHA256 folder=<folder>
See the git-annex manual for more options and their respective values
Known issues:
- Removal of files is not working yet
If you have found more issues please use the issue tracker at github
- Implement removal of files
- Create a Makefile?
- Clean up and reorganize the code
- Optimize what can be optimized
This program is released under the MIT license (See the LICENSE file)
Footnotes
-
Not required to build the project ↩