FeaturesTemplatesShowcaseTownie
AI
BlogDocsPricing
Log inSign up
shouser
shousergetProjectsAsZips
Remix of stevekrouse/reactHonoExample
Public
Like
1
getProjectsAsZips
Home
Code
3
backend
1
frontend
5
README.md
Branches
5
Pull requests
1
Remixes
2
History
Environment variables
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in miliseconds.
Sign up now
Code
/
Code
/
Search
index.ts
https://shouser--b1434998b29648aa9688d26de2c008d8.web.val.run
README.md

Download Projects as a Zip

This is a proof of concept, showing how to download Val Town projects as zip files. For now, I've hardcoded my username into the code, so you can only download my public/unlisted projects. To see it working, type the name of this project getProjectsAsZips and press download. Waalaah!

If you fork this project, you can update the hardcoded username in frontend/MessageInput.tsx. I forked the reactHonoStarter to get started quickly (it's great), hence the weird naming and leftover code you'll see around this project.

Next Steps

I'd love it if someone wanted to send me a PR and tackle either of these two:

  1. Add ability for users to input their own username
  2. Add ability for users to input their API token so they can see private projects
HTTP
  • index.ts
    shouser--b1…d8.web.val.run
Code
backendfrontendREADME.md
Go to top
X (Twitter)
Discord community
GitHub discussions
YouTube channel
Bluesky
Product
FeaturesPricing
Developers
DocsStatusAPI ExamplesNPM Package Examples
Explore
ShowcaseTemplatesNewest ValsTrending ValsNewsletter
Company
AboutBlogCareersBrandhi@val.town
Terms of usePrivacy policyAbuse contact
© 2025 Val Town, Inc.