Spaces:
Sleeping
Managing Projects
Everything you need to know about creating, organizing, and exporting projects.
Creating Projects
- Click Projects in the sidebar
- Click + New Project
- Enter a project name
- Choose a template:
- Website Starter - Minimal starting point with basic HTML/CSS/JS structure
- Starter (Handlebars) - Handlebars starter with templating
- Example Studios - Pre-built multi-page portfolio example
- Starter (React + TypeScript) - Minimal React app with auto-bundling
- React Demo: Task Tracker - Interactive task tracker showcasing React components and state
- Starter (Preact + TypeScript) - Lightweight React alternative with signals
- Starter (Svelte) - Svelte 5 app with compile-time reactivity
- Starter (Vue) - Vue 3 app with Composition API
- Starter (Python) - Python script with Pyodide WASM runtime
- Starter (Lua) - Lua script with wasmoon WASM runtime
- Landing Page with Contact Form - Contact form with Resend email (Backend)
- Blog with Comments - Blog with auth and moderated comments (Backend)
- Or select any custom template you've created
- Optionally add a description
- Click Create Project
All projects start from a template. The built-in templates provide a foundation to build upon.
Learn more about templates โ
Opening Projects
From Projects View
- Click Projects in the sidebar
- Find your project in the grid
- Click on the project card
Recent Projects
Your 3 most recent projects appear in the sidebar for quick access.
Project Workspace
The workspace displays up to 3 panels side-by-side. Open, close, and reorder panels from the sidebar or panel headers โ drag the grip handle in a panel header to rearrange. Panel widths, order, and visibility persist between sessions.
Available panels: Chat, File Explorer, Code Editor, Preview, Console (Python/Lua), Skills, Checkpoints, Debug, Settings. When you open a 4th panel, the rightmost panel is replaced.
Workspace Header
The header contains key controls:
- Project name - Displayed in the header
- Mode toggle - Switch between Chat (read-only) and Code (full access) modes
- Deployment selector (Server Mode only) - Choose which published deployment's backend context to load
Deployment Selector (Server Mode)
In Server Mode, a dropdown appears in the workspace header that lets you select a deployment. When selected:
- The AI gains awareness of that deployment's backend features
- A
/.server/hidden folder appears with server context files - You can ask the AI about edge functions, database schema, etc.
See Server Mode โ Server Context Integration for details.
Chat
Talk to AI to build and modify your project. The chat panel has two modes:
Chat Mode (read-only):
- AI uses read-only shell commands
- Explore and discuss without making changes
- See how the AI understands your project
- Perfect for planning before building
Code Mode (full access):
- AI can create, edit, and delete files
- Make actual changes to your project
- Build features and fix bugs
Pro tip: If unsure, start with Chat mode to see how the AI views your project. You can also one-shot prompt full multi-page websites, though smaller, focused tasks are generally more consistent.
File Explorer
Browse your project structure:
- Click folders to expand/collapse
- Click files to open in editor
- Right-click for options (rename, delete, etc.)
- Right-click and select Show Hidden Files to view hidden folders
Hidden Folders
OSW Studio uses hidden folders (starting with .) to provide AI context:
| Folder | Icon | Purpose |
|---|---|---|
/.skills/ |
Purple book | Skill documents that teach the AI your preferences |
/.server/ |
Orange server | Server context (Server Mode only) - database schema, edge functions, etc. |
These folders are read-only and transient - their contents are generated dynamically to provide context to the AI and are not saved with your project
Code Editor
View and edit code:
- Multiple tabs for different files
- Syntax highlighting
- Save with
Cmd/Ctrl+S - Supports HTML, CSS, JavaScript, TypeScript, TSX, JSON, Markdown, XML, SVG, Python, Lua, Svelte, Vue SFCs
Live Preview
See your website in real-time:
- Updates automatically when files change
- Click links to navigate
- Test responsive design with mobile/tablet/desktop size presets
- Click Maximize to fill the whole screen with the preview (hides all other panels)
- Open in new tab for full testing
- Use the focus tool to select specific elements and add them to message context for targeted AI edits
- Drag semantic blocks from the Blocks palette onto the preview โ the AI writes code that fits your project
Console (Python/Lua)
For terminal runtimes (Python, Lua), the Console panel shows script output and lets you see errors from script execution. Opens automatically for terminal runtimes.
Saving Your Work
Manual Save
Press Ctrl+S (Windows/Linux) or Cmd+S (Mac) to save your project.
Important: Projects require manual save to persist. While checkpoints are created automatically during AI operations, you must manually save to create a permanent restore point.
Checkpoints
OSW Studio creates checkpoints automatically after AI makes changes:
- Starting point is created when you open a project (if no prior save exists)
- Auto-checkpoints are created during AI operations (last 10 kept per project)
- Manual saves (Cmd/Ctrl+S) persist across refreshes and are never evicted
- "Discard Changes" reverts to the state when you opened the project โ your last manual save if one exists, or the Starting Point otherwise
How to restore:
- Open the Checkpoints Panel in the workspace
- Browse starting point, auto-checkpoints, and manual saves
- Click any checkpoint to restore your project to that state
Exporting Projects
Export as ZIP
Download your complete website ready to deploy:
- Click the Menu icon (โฎ) in the top right
- Select Export
- Choose ZIP (suitable for hosting)
- Save the ZIP file
The ZIP contains:
- All HTML, CSS, JavaScript files
- Images and assets
- Clean structure ready for hosting
Deploy it to:
- Vercel, Netlify, GitHub Pages
- Any static file host
- Your own server
Export as JSON (Backup)
Save your entire project including chat history and checkpoints:
- Click the Menu icon (โฎ)
- Select Export
- Choose JSON (backup format)
- Save the file
Use this to:
- Back up your work
- Transfer projects between computers
- Share projects with others
- Keep complete history
Import JSON Files
Restore a backed-up project:
- Click Projects in sidebar
- Click Import Project
- Select your
.jsonbackup file - Project loads with full history
Organizing Projects
Naming
Give projects clear names:
- โ "Portfolio Website"
- โ "Client Landing Page - Acme Corp"
- โ "Blog v2"
- โ "Untitled 1"
- โ "New Project"
Deleting Projects
- Go to Projects view
- Find the project
- Click the Delete button (trash icon)
- Confirm deletion
โ ๏ธ Warning: Deletion is permanent. Export a backup first if you might need it later.
Tips for Project Management
๐ก Name Projects Clearly You'll thank yourself later when you have many projects
๐ก Export Backups Regularly Especially before major changes or experiments
๐ก Use Templates Don't rebuild the same structure every time
๐ก One Feature at a Time Make changes incrementally and test as you go
๐ก Test in Preview Always check the live preview before exporting
๐ก Keep Chat History Clean Start new conversations when switching to different features
Common Tasks
Duplicate a Project
- Export project as JSON
- Import it back with a new name
- Continue working on the copy
Start Over
- Delete old project
- Create new project with same name
- Or keep old as reference and create new
Share a Project
- Export as JSON
- Share file with others
- They import it in their OSW Studio
Next Steps:
- Working with AI - Get better results from AI
- Templates - Start projects faster
- Deploying Sites - Put your site online