|
Download README.md from huggingfacejs/chat-template-playground: direct link, hf CLI and curl.
- Browser
- Download file 1.37 kB
-
https://huggingface.co/spaces/huggingfacejs/chat-template-playground/resolve/refs%2Fpr%2F2/README.md
- Command line
-
hf download hf://spaces/huggingfacejs/chat-template-playground@refs/pr/2/README.md
-
curl -L -o README.md https://huggingface.co/spaces/huggingfacejs/chat-template-playground/resolve/refs%2Fpr%2F2/README.md
1.37 kB
| title: Chat Template Playground | |
| emoji: π» | |
| colorFrom: blue | |
| colorTo: green | |
| sdk: docker | |
| app_port: 3000 | |
| pinned: false | |
| license: apache-2.0 | |
| # Chat Template Playground | |
| A modern SvelteKit playground for experimenting with chat UIs, templates, and interactive components. | |
| ## π¦ Installing Dependencies | |
| Install the project dependencies before starting development: | |
| ```bash | |
| npm install | |
| # or | |
| yarn install | |
| # or | |
| pnpm install | |
| ``` | |
| ## π» Developing Locally | |
| Start a development server with hot reload: | |
| ```bash | |
| npm run dev | |
| # or start the server and open the app in a new browser tab | |
| yarn dev -- --open | |
| ``` | |
| ## ποΈ Building for Production | |
| To create a production build: | |
| ```bash | |
| npm run build | |
| ``` | |
| Preview the production build: | |
| ```bash | |
| npm run preview | |
| ``` | |
| > **Note:** To deploy your app, you may need to install an [adapter](https://svelte.dev/docs/kit/adapters) for your target environment. | |
| ## π§° Tech Stack | |
| - [SvelteKit](https://kit.svelte.dev/) | |
| - [Vite](https://vitejs.dev/) | |
| - [sv](https://github.com/sveltejs/cli) | |
| - [Tailwind CSS](https://tailwindcss.com/) (if enabled) | |
| ## π€ Contributing | |
| Contributions, issues, and feature requests are welcome! Feel free to open an issue or submit a pull request. | |
| ## π License | |
| This project is licensed under the MIT License. | |
| ## π¬ Contact | |
| For questions or feedback, please contact the project maintainer. | |