Vibe 8.0.0-preview.1-beta

This is a prerelease version of Vibe.
dotnet add package Vibe --version 8.0.0-preview.1-beta
                    
NuGet\Install-Package Vibe -Version 8.0.0-preview.1-beta
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Vibe" Version="8.0.0-preview.1-beta" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Vibe" Version="8.0.0-preview.1-beta" />
                    
Directory.Packages.props
<PackageReference Include="Vibe" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Vibe --version 8.0.0-preview.1-beta
                    
#r "nuget: Vibe, 8.0.0-preview.1-beta"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#addin nuget:?package=Vibe&version=8.0.0-preview.1-beta&prerelease
                    
Install Vibe as a Cake Addin
#tool nuget:?package=Vibe&version=8.0.0-preview.1-beta&prerelease
                    
Install Vibe as a Cake Tool

Vibe

Vibe is a revolutionary framework for building modern applications using .csx files. It combines the expressive power of C# with a JSX-like syntax to deliver an elegant, component-based approach to web and desktop development. With Vibe, you can define routes, components, and services all in one place, allowing you to create dynamic and maintainable applications effortlessly.

Why Choose Vibe?

  • Unified Development: Leverage the full power of C# in .csx files with JSX-like syntax for clean and intuitive code.
  • Dynamic Routing: Seamlessly define routes and APIs within your application.
  • Service-Driven Architecture: Register and inject services with ease, enabling modular and scalable applications.
  • Node module Integration: Use node_modules to extend functionality with csx libraries.
  • Cross-Platform Compatibility: Integrates smoothly with .NET MAUI for web and mobile/desktop applications.
  • Developer Productivity: Focus on building features instead of boilerplate with Vibe's streamlined architecture.

Installation

Add Vibe to your project via the .NET CLI:

dotnet add package VibeBuilder --prerelease;
dotnet add package Vibe --prerelease;

How It Works

Component-Based Development

Write your components and routes directly in .csx files. For example:


import Home from "../Pages/Home.csx";
import About from "../Pages/About.csx";

var viewService = new ViewService();

export dynamic Router() {
    viewService.AddViews([
        <div Route="/" View={Home()} />,
        <div Route="/About" View={About()} />
    ]);
    viewService.SetFallbackView(Home());
    
    return <div class="w-full h-full">{viewService}</div>;
}

Integrated Server

Vibe includes an integrated server (XServer) for serving your application and APIs:


import {Layout} from "./src/Layouts/MainLayout.csx";

var Server = new XServer().SetAppComponent(Layout());
Server.AddPrefixes([
    "http://localhost:65123",
    "js://127.0.0.1:65124"
]);

Server.Start();

Example Project

Here's an example package.json for a project using Vibe:

{
  "name": "vibe-app",
  "version": "1.0.0",
  "main": "Main.csx",
  "type": "module",
  "scripts": {
    "start": "dotnet run",
    "build": "dotnet build"
  },
  "dependencies": {
    "niftycsx": "^1.0.0"
  }
}

Why Vibe Stands Out

  • Minimal Boilerplate: Start projects quickly with minimal setup.
  • Single Language: Build front-end, back-end, and APIs using only C#.
  • Flexible and Modular: Design applications that scale easily with services and components.
  • Rapid Development: Focus on building features without repetitive configuration.

License

Vibe is licensed under an MIT License.

Experience the simplicity and power of Vibe and start building today!

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
8.0.0-preview.1-beta 64 2/8/2025
8.0.0-preview.1-alpha 153 1/31/2025