1

How to download surge.sh repository? I deployed application, then lost code. How to recover it from surge.sh? Github repository was not updated.

Until 2016, it was not possible: https://github.com/sintaxi/surge/issues/192

1 Answer 1

0

Try scraping the website and downloading each file. Or you could make a sitemap to your root directory. It helps SEO and also helps a lot to bots.

BTW thanks for the project idea, i can make a surge site downloader :D

you get the point. options are:

  1. scrape the website
  2. download each file yourself
  3. make a bot (or find one) and download the site
  4. use sitemap to download all files using a bot (or make one)

So key points are:

  1. next time make sitemap
  2. use git
  3. push to github (if necessary)

Hope this helps!

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.