File size: 5,116 Bytes
b937320
 
 
 
405f2d4
b937320
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
54c7e54
be3d128
03eeded
 
b937320
 
 
 
 
405f2d4
b937320
405f2d4
b937320
 
 
 
 
baf3ed5
405f2d4
 
 
baf3ed5
405f2d4
716b726
 
 
 
 
54c7e54
be3d128
 
54c7e54
 
b937320
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
716b726
 
b937320
716b726
b937320
716b726
be3d128
405f2d4
54c7e54
b937320
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
# OSW Studio Documentation

**Your guide to building websites with AI.**

Welcome to OSW Studio - a browser-based development environment where you chat with AI to build websites and web apps.

---

## Quick Links

**New to OSW Studio?**
- πŸ‘‰ **[Overview](?doc=overview)** - What is OSW Studio? (1 min read)
- πŸš€ **[Getting Started](?doc=getting-started)** - Build your first site (5 min)

**Common Tasks:**
- πŸ’Ύ [Manage Projects](?doc=projects)
- πŸ€– [Work with AI](?doc=working-with-ai)
- 🌐 [Deploy Your Site](?doc=deploying-sites)

**Features:**
- πŸ“¦ [Templates](?doc=templates) - Start faster
- ⚑ [Skills](?doc=skills) - Teach AI your preferences

**Need Help?**
- ❓ [FAQ](?doc=faq)
- πŸ”§ [Troubleshooting](?doc=troubleshooting)

---

## Documentation Structure

### Getting Started

Perfect for newcomers and casual users:

- **[Overview](?doc=overview)** - What is OSW Studio and who is it for?
- **[Getting Started](?doc=getting-started)** - Set up and create your first project
- **[Projects](?doc=projects)** - Create, manage, and export projects

### Using OSW Studio

Guides for regular users:

- **[Working with AI](?doc=working-with-ai)** - Chat vs Code modes, prompting tips
- **[Templates](?doc=templates)** - Use and create project templates
- **[Skills](?doc=skills)** - Teach AI your workflow preferences
- **[Deploying Your Sites](?doc=deploying-sites)** - Deploy to Vercel, Netlify, etc.

### Help & Advanced

For support and self-hosters:

- **[FAQ](?doc=faq)** - Common questions answered
- **[Troubleshooting](?doc=troubleshooting)** - Fix common issues
- **[Server Mode](?doc=server-mode)** - Self-hosting and deployment
- **[Multitenancy](?doc=multitenancy)** - Workspaces, users, roles, quotas (Server Mode)
- **[Deployment Publishing](?doc=site-publishing)** - Analytics, SEO, compliance (Server Mode)
- **[Backend](?doc=backend-features)** - Database, API endpoints, secrets (Server Mode)

---

## What Can I Build?

OSW Studio supports multiple project runtimes β€” pick the one that fits your needs:

**Static (HTML/CSS/JS):**
βœ… **Personal websites** - Portfolios, blogs, resumes
βœ… **Landing pages** - Marketing sites, product pages
βœ… **Documentation sites** - Project docs, help centers
βœ… **Interactive apps** - Calculators, tools, games (client-side)

**React, Preact, Svelte, Vue:**
βœ… **Component-based apps** - Dashboards, admin panels, SPAs
βœ… **Interactive UIs** - Forms, data visualization, real-time interfaces
βœ… **npm ecosystem** - Import packages by name, fetched from CDN at runtime
βœ… **Single-file components** - Svelte `.svelte` and Vue `.vue` files compiled in-browser

**Python & Lua:**
βœ… **Scripts and algorithms** - Run Python (via Pyodide) and Lua (via wasmoon) in an interactive Console
βœ… **Data processing** - Experiment with code without leaving the browser
βœ… **Learning environment** - Try language features with instant feedback

**Server Mode adds:**
βœ… **Workspaces** - Isolated environments for teams, clients, or projects
βœ… **Multi-user** - User accounts with shared workspace access
βœ… **API endpoints** - REST APIs with database access via edge functions
βœ… **Dynamic sites** - Store and retrieve data with SQLite databases

---

## Key Concepts

### Chat with AI to Build

Describe what you want in plain English. AI writes the code, creates files, and explains what it's doing.

```
Create a portfolio website with a hero section,
about section, and project gallery
```

### Two Modes

**πŸ’¬ Chat Mode** - Ask questions, plan, explore (read-only)
**πŸ”§ Code Mode** - AI builds and modifies your project

### Live Preview

See your website update in real-time as AI builds it.

### Export & Deploy

Download your complete site and deploy to Vercel, Netlify, or any static host in minutes.

---

## Resources

### External Links

- **[Live Demo](https://huggingface.co/spaces/otst/osw-studio)** - Try OSW Studio now
- **[GitHub Repository](https://github.com/o-stahl/osw-studio)** - Source code
- **[Report Issues](https://github.com/o-stahl/osw-studio/issues)** - Bug reports & feature requests

### Features

**Major Features:**
- Multiple project runtimes (Static, Handlebars, React, Preact, Svelte, Vue, Python, Lua)
- Multi-provider AI support (14+ providers, including ChatGPT subscription and HuggingFace free tier)
- Dual modes (Chat/Code)
- Semantic blocks β€” drag pre-defined layouts onto the preview
- Templates & Skills systems
- Browser mode (IndexedDB) and Desktop app (macOS/Windows/Linux)
- Optional Server mode with workspaces and multi-user support
- Site publishing with SEO & analytics
- Edge functions & database management
- Cost tracking

---

## Getting Help

**Before asking for help:**

1. Check the [FAQ](?doc=faq)
2. Search [GitHub Issues](https://github.com/o-stahl/osw-studio/issues)
3. Review [Troubleshooting](?doc=troubleshooting)

**Still stuck?**

Create an issue on GitHub with:
- What you're trying to do
- What's happening instead
- Steps to reproduce
- Browser and OS version
- Screenshots if relevant

---

**Ready to start?** β†’ **[Get Started](?doc=getting-started)**