package main
import (
"archive/zip"
"encoding/json"
"fmt"
"net/http"
"os"
"path/filepath"
"regexp"
"strings"
)
type playworksConvertOptions struct {
SourcePath string `json:"sourcePath"`
OutputDir string `json:"outputDir"`
BaseName string `json:"baseName"`
Networks []string `json:"networks"`
}
type playworksNetworkResult struct {
Network string `json:"network"`
File string `json:"file"`
OK bool `json:"ok"`
Error string `json:"error,omitempty"`
}
func PlayworksPage(w http.ResponseWriter, r *http.Request) {
body := `
Convert a Playworks HTML export into network-specific playable outputs.Playworks Converter
Inputs