Skip to content


Switch branches/tags

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time



The source code of Cywin:

Cywin is a stock crowdfunding platform, just like angellist but in China.

Cywin can build the connection between startups and talented investors with stock investment.

Cywin is a full-flow platform for the investment process.

in China, its competitors are AngelCruch, as: 天使汇, VC club, as: 创投圈 and etc.

Core process like this:

  1. Startup

    Create Project -> Publish it -> Start financing -> Invite Investor leader -> Investor leader confirm -> Normal Investors follow -> Success

  2. Normal investor

    • Apply Investor leader
    • Follow an investment by investor leader
  3. Investor leader

    • Lead an investment of project
    • Make rule for the investment of project

Cywin now is open source.

Why makes Cywin open-source?

After spending six month to make this project, I realized, I can not ship this platform with my parnter. With lack of resources below the line, I think, it's a fault for me to build it. It costed all my energy.

Besides, the confict of fundamental production principle with parnter was more and more serious. With never positive feedback for Cywin, I finally decided to quit the project.

A few month later, I made Cywin open source when the source code of Cywin would not be used. I hope it will be useful for other friends like you.

Will it be maintained?

Exactly not. Since I have realized this road is wrong.

But Cywin is a pretty project. It is made by clean and neat code, its architecture is awful flexible, with lots of test cases( 120+ ).

Besides, it has beautiful UI, supports responsive page, good scss and clean AngularJS code.

In the whole, it's one of my most proud works alone.

Can I get your help for it?

Yes, I am pleasure if you want to study AngularJS and Ruby on Rails on the strength of Cywin. If you want to continue developing, I'm glad too.

Fell free to submit your issue when you find something wrong. I will help you in my leisure time ASAP.

Good parts you maybe get inspiration

  • Message design ( template support, email push )
  • Login system( customize Devise with ajax registration, invite code support )
  • Role Management( rolify & cancancan )
  • Hybrid AngularJS & Rails best practice development mode
  • AngularJS Directives
  • Responsive Design
  • SCSS organization
  • RESTful Design
  • Multi enviornments & deployment automation ( staging / demo / production with mina )
  • Sunspot search( especially Chinese tokenized system )
  • TDD business logic
  • best practice configuration for Ruby on Rails ( figaro )

Core tech stack

  • Ruby on Rails( 4.1 )
  • AngularJS( Hybrid mode )
  • Foundation 5


  1. gem install bundler
  2. bundle install
  3. copy config/xx.example.yml to config/xx.yml, xx contains application, database, then adjust it as you need.
  4. rake sunspot:solr:start
  5. rake db:setup
  6. rails s

Visit http://localhost:3000/users/sign_in, and input ADMIN_EMAIL and ADMIN_PASSWORD( configurated in application.yml ) to login it.

Histories of Cywin


Quit the project


New UI

improvement of features


refactor category feature

improvement of features


refactor home page

improvement of features


Resigned responsive page, mobile first

Fundamental featctures complete


Database design and tech choosen


It's be licensed under both MIT and GPL.

Additionally, The logos and other pictures are not allowed by commercial purpose.

If you have any question, just leave an issue for it.


Cywin Closed( Chinese name: 创业赢 )






No releases published


No packages published