poornerd

my thoughts on programming and other nerdy stuff

How I rolled my own Dropbox like sharing with SparkleShare

| 0 comments

I have been look­ing for over a year for a way to have the sim­ple sync­ing between com­put­ers like Drop­Box does, but on my own server, with­out space lim­its. I also just started using git this year, and have set it up on my pri­vate (hosted) server.

Git is very robust and fast, and so when I dis­cov­ered Sparkle­Share last week, and saw that they use git, and ssh it went click! That totally made sense.

So today I finally got around to set­ting it up. It was as sim­ple as this:
1) Down­load and copy Sparkle­Share on to my Mac (Snow Leop­ard), and start it
2) logon to my Server and add the SSH Key from my ~/SparkleShare direc­tory to my known keys on the server ( http://​sparkle​share​.org/​s​e​t​-​u​p​-​a​-​h​o​st/)
3) setup a new git repos­i­tory (see last link to the doc­u­men­ta­tion)
4) add the username@hostname and direc­tory for my hosted git repository

Then a sub-directory with the name of the git project was added to the ~/SparkleShare directory.

I was able to add files to it and see that they were repli­cated to the Server.

I then went to my lap­top which already had an autho­rized SSH key to the git repos­i­tory, and installed Sparkle­Share, and added the same hosted project.

The files I had copied into the Sparkle­Share direc­tory on my other com­puter showed up on my laptop.

That was it…

Some things I noticed:
1) How can I remove a hosted project/repository from the OSX client?
2) How can I access the his­tory and ver­sions of a file?
3) How about using Sparkle (the library for updat­ing) to keep it up to date

So any­ways… Thanks @SparkleShare for a great job.

If you have read this far, you may as well fol­low me on Twit­ter:

Author: poornerd

Tech­nol­o­gist, Entre­pre­neur, Vision­ary, Pro­gram­mer :: Grad­u­ated from USC (Uni­ver­sity of South­ern Cal­i­for­nia) with a degree in Com­puter Sci­ence. After 10+ years of free­lance con­sult­ing and pro­gram­ming, he co-founded Site­Force AG eBusi­ness Solu­tions in 1999 in Munich (München), Ger­many.

Leave a Reply

Required fields are marked *.