TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: good place to store code online?

23 pointsby schtogalmost 17 years ago
what is the best place to store code online? i want to have a backup of my files somewhere in case something happens and an emailadress is just annoying for this kind of thing.<p>i could use google doc to save the soource code but i just want to be able to store it as a .py-file or .scm-file and download directly later.<p>mozy seem to cost even for the smallest storage? xdrive has 5GB free though.<p>any tips? should obv support any fileformat.

20 comments

mosburgeralmost 17 years ago
For all of my projects, I have an assembla account (<a href="http://www.assembla.com" rel="nofollow">http://www.assembla.com</a>) with SVN access. I don't know the privacy/crypto details, so if you're storing private/sensitive data I can't help you with any details there - I'm doing open source stuff and couldn't care less who sees my code. Your situation might be different!
评论 #200624 未加载
评论 #200599 未加载
评论 #200909 未加载
评论 #200586 未加载
sant0sk1almost 17 years ago
<a href="http://github.com" rel="nofollow">http://github.com</a>
评论 #200687 未加载
natchalmost 17 years ago
S3. I have a script that takes one argument, a directory name.<p>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.<p>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.<p>Then it uploads it to Amazon S3 and cleans up after itself.<p>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.<p>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.<p>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.<p>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.
tlrobinsonalmost 17 years ago
I'd recommend a cheap VPS, which you can then use for any number of things, including running svn, git, whatever.<p>You get root access, so you can do whatever you want with it. They're great for prototyping web apps.<p>I like Slicehost (as low as $20/month) <a href="http://www.slicehost.com/" rel="nofollow">http://www.slicehost.com/</a>
raalmost 17 years ago
I run a VPS with SVN and Trac. Does everything I need.<p>My backup job runs from home using a scheduled script (cron, tar, scp).<p>You could just as easily send your tar files to Amazon S3
mark-talmost 17 years ago
Until a few months ago, we hosted our svn repository on berlios.de . It went down every few weeks, so I don't recommend them. We started using them when sourceforge only had cvs. Nowadays sf.net supports svn, so you might look into that.<p>Somewhat recently, we switched to git and started hosting ourselves, but you might look into code.google.com .<p>If you don't actually want your code to be public, just get some free online storage. Do you really need more than 5GB?
zvikaraalmost 17 years ago
For small projects I use <a href="http://www.8svn.com" rel="nofollow">http://www.8svn.com</a> which is pay as you go service, similar to nearylyfreespeech.net
izak30almost 17 years ago
getdropbox.com works like a charm.
评论 #200672 未加载
Husafanalmost 17 years ago
My start-up has had an absolutely terrific experience so far with cvsdude.com. If you want a subversion/trac/bugzilla package, the pricing is reasonable and their customer service has been great. Also, if you want to host an open source project, they have free options.<p>I highly recommend it.
评论 #200918 未加载
khyron4evaalmost 17 years ago
When I started using Mozy, they offered 2 GiB free and that still seems to be the case.<p><a href="http://mozy.com/free" rel="nofollow">http://mozy.com/free</a>
vikas5678almost 17 years ago
I use svn and bought my space from <a href="http://svnrepository.com/" rel="nofollow">http://svnrepository.com/</a>
评论 #200910 未加载
jmagaralmost 17 years ago
I can't help but think that there are better ways to backup your code. Once you give it to an online service, you give up total control over how that data is handled.<p>Your code is everything. You should take care of it properly.<p>On the other hand, if you are working on OSS, then of course your need for privacy is trumped.
anonymalmost 17 years ago
I use <a href="http://duplicity.nongnu.org/" rel="nofollow">http://duplicity.nongnu.org/</a> 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.
评论 #200746 未加载
njoubertalmost 17 years ago
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.
评论 #200589 未加载
gcvalmost 17 years ago
Another vote for github.com. If you're interested in a more generic storage and backup service, try rsync.net. You'll have to write your own rsync scripts to do backups, but rsync.net's uptime and support have been fantastic for me.
smanekalmost 17 years ago
I got a VPS with vpslink.com<p>I paid for 2 years upfront and got a 50% discount - total price was ~$12/month for a Xen instance (debian) with 256MB Ram<p>I have SVN/trac on it ... although, I've been thinking of migrating to git.<p>I also use it to host a lot of other stuff too.
johnmartin78almost 17 years ago
We use Beanstalk for hosted Subversion. They've been pretty good so far. And have super integration to Campfire and FogBugz, etc.<p><a href="http://www.beanstalkapp.com/" rel="nofollow">http://www.beanstalkapp.com/</a>
rmsalmost 17 years ago
Is github really the only one that sells hosted git accounts? How come no one is competing with them?
评论 #201270 未加载
rwalmost 17 years ago
Do you require privacy/crypto?
评论 #200583 未加载
ardit33almost 17 years ago
codespaces.com subversion account, and it is free for the basic one.