Live data from Hacker News

Ask HN: good place to store code online?

news.ycombinator.com

21–30 of 46 posts

Re: Ask HN: good place to store code online?

#22
I'd recommend a cheap VPS, which you can then use for any number of things, including running svn, git, whatever.

You get root access, so you can do whatever you want with it. They're great for prototyping web apps.

I like Slicehost (as low as $20/month) http://www.slicehost.com/

Re: Ask HN: good place to store code online?

#24
post #4

http://github.com

Another vote for github.com if you want a proper code repository. It's well designed and easy to use. If you just want to archive/backup your code, you could also take a look at jungledisk, which provides you a layer on top of Amazon S3, and depending on how much you have to store, might be economical for you.

Re: Ask HN: good place to store code online?

#25
I got a VPS with vpslink.com

I paid for 2 years upfront and got a 50% discount - total price was ~$12/month for a Xen instance (debian) with 256MB Ram

I have SVN/trac on it ... although, I've been thinking of migrating to git.

I also use it to host a lot of other stuff too.

Re: Ask HN: good place to store code online?

#26
S3. I have a script that takes one argument, a directory name.

It encrypts the directory name and adds a timestamp, to make a filename that reveals nothing about the contents of the file except for the time it was created. It stores the original directory name along with the encrypted directory name in a local log file, so I can tell what's what later.

Then it zips the directory and its contents into a file, names it with the encrypted filename, and does a GPG encryption of the file.

Then it uploads it to Amazon S3 and cleans up after itself.

All of this is completely automated once I type in the command. I do it for my project directory, which contains all my projects for the calendar year, periodically. After the year closes out, I start a new year and the old files (from previous years) stay safe and unchanged on S3.

Over the course of a year, if a few backups for the same year pile up, I usually delete the old ones. I haven't automated that part.

This scheme is OK for backing up a few important directories, if they aren't large, like for source code, just what you asked about -- a few hundred megabytes will cost just pennies a month on Amazon.

It's not a SVN or GIT solution, but it gives you total privacy, rather than relying on a third party to do the encryption for you.

Re: Ask HN: good place to store code online?

#27
post #11
post #9

My suggestion is to get Dreamhost (500GB, 5TB transfer) and buy this for a 2-year time. Enter the promo code "5050" to get $50 bucks off, making this a $150 for 2 years hosting plan that runs svn and you'll never run out of diskspace.

DON'T use Dreamhost. I once had my SVN with them; you have no control over availability - and availability wasn't good, in my experience.

Also, if it's not "website relate" (as in, the website you're using Dreamhost to host), Dreamhost wants to charge you 20 cents/gig per month extra.

Re: Ask HN: good place to store code online?

#28
post #11
post #9

My suggestion is to get Dreamhost (500GB, 5TB transfer) and buy this for a 2-year time. Enter the promo code "5050" to get $50 bucks off, making this a $150 for 2 years hosting plan that runs svn and you'll never run out of diskspace.

DON'T use Dreamhost. I once had my SVN with them; you have no control over availability - and availability wasn't good, in my experience.

+1 for NO to Dreamhost. Hands down the worst web host out there. Go for a cheap VPS like Slicehost and roll your own. You have control over everything, and they have rock solid uptime.

Re: Ask HN: good place to store code online?

#29
post #11

Earlier quoted context omitted.

DON'T use Dreamhost. I once had my SVN with them; you have no control over availability - and availability wasn't good, in my experience.

+1 for NO to Dreamhost. Hands down the worst web host out there. Go for a cheap VPS like Slicehost and roll your own. You have control over everything, and they have rock solid uptime.

+1 for slicehost - rock solid

Re: Ask HN: good place to store code online?

#30
post #17

I use http://duplicity.nongnu.org/ to backup to Amazon S3 (it has support for various other backends). It encrypts with GnuPG. S3 charges a few cents per GB of transfer and a few cents per GB of storage per month.

I've been looking at duplicity - do you do full system backups?
Post reply on HN