Earlier quoted context omitted.
I've replied with some very practical advice relating to OP's specific situation (F-1 student) here: https://news.ycombinator.com/item?id=5191832 (Sorry if this sounds like I'm promoting it or anything. I just don't want my comment to get buried among the 150+ other comments here.)
I used to be an international student in the US. So I feel OP's pain. I have an advice in addition to winter_blue's. However, I have been out of the US for 3 years and I don't know if any rules have changed since then. Besides applying for precompletion OPT which will take months and months, a much quicker route for me was to get a part-time job at school. I did this when I was working as a CS tutor in my CS departme…
F-1 OPT is the only status I know that allows you to earn an income while being self-employed.
Even on an H-1B doing what the OP did would be a violation of status, and could lead to deportation.