8000 GitHub - harmoniqpunk/socialvibe-webapp: SocialVibe webapp
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

harmoniqpunk/socialvibe-webapp

Repository files navigation

SocialVibe WebApp

This repository contains the source code for the SocialVibe web application, a SvelteKit application with WebAssembly integration, designed to be deployed on Cloudflare Pages.

Table of Contents

Prerequisites

Before you begin, ensure you have the following installed:

Getting Started

  1. Clone the repository:

    git clone https://github.com/your-username/socialvibe-webapp.git
    cd socialvibe-webapp
    
  2. Install dependencies:

    npm install
    
  3. Build the WebAssembly module:

    npm run wasm
    

Development

To start the development server:

npm run dev

This will start the SvelteKit development server, usually at http://localhost:5173.

Building

To build the project for production:

npm run build

This command will:

  1. Build the WebAssembly module
  2. Compile the SvelteKit application
  3. Prepare the output for Cloudflare Pages deployment

Deployment

Due to the custom WebAssembly build step, this project requires manual deployment to Cloudflare Pages. Automatic deployments from Git are not supported because Cloudflare's build environment doesn't include wasm-pack.

To deploy:

  1. Ensure you're logged in to Wrangler:

    wrangler login
    
  2. Build and deploy the project:

    npm run deploy
    

This will build the project and deploy it to Cloudflare Pages.

Project Structure

  • src/: SvelteKit application source
  • socialvibe-lib/: Rust source for WebAssembly module
  • static/: Static assets
  • vite.config.ts: Vite configuration
  • svelte.config.js: SvelteKit configuration
  • tailwind.config.ts: Tailwind CSS configuration
  • wrangler.toml: Cloudflare Workers configuration

Technologies Used

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

This project is licensed under the MIT License.

About

SocialVibe webapp

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0