FeaturesTemplatesShowcaseTownie
AI
BlogDocsPricing
Log inSign up
Dhanush_15
Dhanush_15forky
Remix of std/forky
Public
Like
forky
Home
Code
4
backend
1
frontend
3
README.md
new-file-7775.tsx
Branches
1
Pull requests
Remixes
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 milliseconds.
Sign up now
Code
/
Code
/
Search
index.ts
https://Dhanush_15--019894dbec4f76e8976ee3876e856b93.web.val.run
README.md

šŸ“ Forky

A simple web application that allows you to fork Val Town projects with a clean user interface.

Overview

Forky is a utility that enables you to create copies (forks) of any public Val Town project. It provides a straightforward interface where you can enter a Val Town project URL and your API token to create your own copy of the project.

Features

  • Fork any public Val Town project with a single click
  • Preserves the entire project structure, including all files and directories
  • Maintains project metadata (descriptions, images, etc.)
  • Clean, responsive UI built with React and TailwindCSS

Prerequisites

  • A Val Town account
  • A Val Town API token with project read and write permissions

Usage

  1. Enter the URL of the Val Town project you want to fork (format: https://www.val.town/x/username/projectname)
  2. Enter your Val Town API token with the proper project:write permissions
  3. Click "Fork" and wait for the process to complete
  4. Once successful, you'll have a new copy of the project in your Val Town account under a new generated name

Project Structure

ā”œā”€ā”€ backend
│   └── index.ts           # Backend server and API endpoints
ā”œā”€ā”€ frontend
│   ā”œā”€ā”€ components
│   │   └── App.tsx        # Main React component
│   ā”œā”€ā”€ index.html         # HTML entry point
│   └── index.tsx          # Frontend JavaScript entry point
└── README.md              # This file

How It Works

Forky uses the Val Town SDK to:

  1. Retrieve information about the source project
  2. Create a new project in your account
  3. Copy all files from the source project to your new project
  4. Preserve the project structure and metadata

API

The application exposes the following API endpoint:

  • POST /fork?url={encoded-url} - Forks the specified project
    • Requires an Authorization header with a Bearer token
    • Returns a JSON response with success or error information
HTTP
  • index.ts
    Dhanush_15--01…93.web.val.run
Code
backendfrontendREADME.mdnew-file-7775.tsx
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.