FeaturesTemplatesShowcaseTownie
AI
BlogDocsPricing
Log inSign up
shouser
shousergetProjectsAsZips
Remix of stevekrouse/reactHonoExample
Public
Like
1
getProjectsAsZips
Home
Code
4
backend
2
frontend
5
shared
1
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
/
README.md
Code
/
README.md
Search
2/26/2025
Viewing readonly version of get-project-zip-wo-boilerplate branch: v33
View latest version
README.md@33

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 projects as zip files. 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 used forked this project template 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
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.