Ask HN: Founders who shut down a company, what did you do with the code?

Deleted it, left it in a private repo, sold it, licenced it, open-sourced it, handed it to investors? Curious what people actually do, and whether anyone regretted it.

8 points | by sethross 23 hours ago

10 comments

  • Yogeshshirsath 10 hours ago
    Open source it
  • visionwei 11 hours ago
    [dead]
  • alazsolutions 11 hours ago
    [dead]
  • vishwasaraxit 22 hours ago
    [dead]
  • umutgokbayrak 18 hours ago
    [dead]
  • ezekg 11 hours ago
    Typically, I've left it in a private repo. There was one case where it was sold, but that was after I left the company, so I was not involved at that point. Though in this day and age, code is cheap, so if anything is to be sold, it will be the business itself (i.e. customers). If you don't have customers, then you don't have a company, you have a project.

    But tbqh if you have investors, this is probably not really your call alone.

  • chatziko 16 hours ago
    1. "Leak" an AI-assisted reverse engineered version that claims to be created in 5 hours by Claude offering 95% of the functionality.

    2. After a few weeks, make a big post about how the AI version forced your company to bankruptcy.

    3. Profit from the publicity.

  • xiez 21 hours ago
    Strip out the sensitive info and open-source the code. Just using GitHub as a backup site :-)
  • OccamsMirror 20 hours ago
    Open sourced it and left it to rot.
  • rolottr 17 hours ago
    well, now there are many companies trying to license it for AI training, I would look onto that to make some bucks