Skip to content

ItaloKbb/SlimeNexus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

23 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

SlimeNexus Banner

🟒 SlimeNexus

A cross-platform desktop agent that bridges your Slime Tamagotchi web experience with local AI tools β€” powered by .NET 9.

Build & Test Release License: MIT .NET 9 Platform PRs Welcome AMD RDNA


Keep your Slime alive, let your GPU do the thinking.


🎯 What is SlimeNexus?

SlimeNexus is a cross-platform desktop agent built with .NET 9 that acts as an intelligent bridge between:

  • 🌐 Your Slime Tamagotchi web app β€” a browser-based creature you must keep happy with daily tasks
  • πŸ€– Local AI tools β€” Ollama/Llama 3 and OpenClaw running on your own hardware
  • πŸ–₯️ Your GPU β€” specifically optimized for AMD RDNA 2/3 cards (RX 6750 XT and similar)

The agent runs silently in the System Tray, exposes a localhost REST API for the web app to communicate with, monitors your GPU health, and uses local LLMs to validate/generate daily tasks for your Slime.


🎬 Demo

System Tray Slime Dashboard AI Task Validation
System Tray Demo Dashboard Demo AI Demo

βš™οΈ How It Works

flowchart LR
    subgraph Web["🌐 Slime Web App (Browser)"]
        W1[Tamagotchi UI]
        W2[Daily Tasks]
    end

    subgraph Agent["��️ SlimeNexus Agent (Desktop)"]
        direction TB
        API["ASP.NET Core\nMinimal API\n(localhost)"]
        CORE["Core Domain\n(Slime + Tasks)"]
        HW["Hardware Monitor\n(LibreHardwareMonitor)"]
        UI["Avalonia UI\n+ System Tray"]
    end

    subgraph AI["πŸ€– Local AI (localhost)"]
        OLLAMA["Ollama\nLlama 3"]
        OPENCLAW["OpenClaw"]
    end

    subgraph GPU["πŸ”΄ AMD GPU (RDNA 2/3)"]
        RX["RX 6750 XT\n(or compatible)"]
    end

    W1 -->|HTTP REST| API
    W2 -->|Validate Task| API
    API --> CORE
    CORE --> HW
    CORE -->|AI Prompt| OLLAMA
    CORE -->|AI Prompt| OPENCLAW
    OLLAMA -->|Inference| RX
    OPENCLAW -->|Inference| RX
    HW -->|GPU Sensors| RX
    UI --> CORE
Loading

Step-by-step flow

  1. User completes a daily task on the Slime website
  2. The web app calls POST /tasks/{id}/complete on the localhost API (SlimeNexus)
  3. SlimeNexus Core validates the task, optionally using a local LLM (Ollama/Llama 3) for AI-powered validation
  4. The Hardware Monitor checks that your AMD GPU is healthy before scheduling heavy AI workloads
  5. The Slime entity gets its happiness/energy updated and the state is persisted
  6. The System Tray icon reflects the Slime's current mood πŸŸ’πŸ˜„ / πŸ”΄πŸ˜΄

πŸ› οΈ Tech Stack

Layer Technology Purpose
Core .NET 9 (LTS) + Native AOT Domain logic, zero dependencies
UI Avalonia UI 11 Cross-platform desktop UI
System Tray H.NotifyIcon.Avalonia Background tray icon
Local API ASP.NET Core Minimal APIs localhost bridge for the web app
Hardware LibreHardwareMonitor GPU/CPU sensor readings
AI Ollama / Llama 3 + OpenClaw Local LLM inference
Installer Velopack Auto-update & cross-platform installer
Tests xUnit + FluentAssertions + NSubstitute Unit & integration testing

πŸ”΄ Hardware Compatibility

SlimeNexus is optimized for AMD RDNA 2 and RDNA 3 GPUs, with the RX 6750 XT as the primary development target.

GPU Family Status
AMD RDNA 3 (RX 7xxx) βœ… Fully Supported
AMD RDNA 2 (RX 6xxx β€” e.g., RX 6750 XT) βœ… Primary Target
AMD RDNA 1 (RX 5xxx) ⚠️ Best Effort
NVIDIA (RTX / GTX) ⚠️ Best Effort (via LibreHardwareMonitor)
Intel Arc πŸ”¬ Experimental

πŸ’‘ Are you a Radeon owner? You're home. SlimeNexus was built and tested daily on an RX 6750 XT. AMD GPU sensor readings (temperature, load, VRAM) are first-class citizens in this project.


πŸš€ Quick Start

Prerequisites

  • .NET 9 SDK
  • Ollama with Llama 3 pulled (ollama pull llama3)
  • AMD GPU drivers (AMDGPU-PRO on Linux / AMD Software on Windows)

Clone & Run

# Clone the repository
git clone https://github.com/ItaloKbb/SlimeNexus.git
cd SlimeNexus

# Restore dependencies
dotnet restore

# Build the solution
dotnet build

# Run the desktop agent
dotnet run --project src/SlimeNexus.UI

Installing via Velopack (Recommended)

Download the latest installer from the Releases page:

  • Windows: SlimeNexus-Setup.exe
  • Linux: SlimeNexus-linux.AppImage
  • macOS: SlimeNexus-mac.dmg

The installer handles auto-updates automatically on startup.


πŸ§ͺ Running Tests

# All tests
dotnet test

# Specific project
dotnet test tests/SlimeNexus.Core.Tests

# With coverage
dotnet test --collect:"XPlat Code Coverage"

πŸ“ Project Structure

SlimeNexus/
β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ SlimeNexus.Core/             # 🧠 Domain entities, interfaces, use cases (no deps)
β”‚   β”‚   β”œβ”€β”€ Domain/
β”‚   β”‚   β”‚   β”œβ”€β”€ Entities/            # Slime, DailyTask
β”‚   β”‚   β”‚   β”œβ”€β”€ Interfaces/          # ISlimeRepository, IAiProvider, IHardwareMonitor...
β”‚   β”‚   β”‚   └── ValueObjects/        # Strongly-typed value types
β”‚   β”‚   └── Application/
β”‚   β”‚       β”œβ”€β”€ UseCases/            # CompleteTaskUseCase, ...
β”‚   β”‚       └── DTOs/                # SlimeStatusDto, HardwareStatusDto...
β”‚   β”œβ”€β”€ SlimeNexus.Infrastructure/   # πŸ”§ Concrete implementations
β”‚   β”‚   β”œβ”€β”€ Hardware/                # LibreHardwareMonitor adapter (AMD GPU focus)
β”‚   β”‚   β”œβ”€β”€ AI/                      # Ollama + OpenClaw providers
β”‚   β”‚   β”œβ”€β”€ Persistence/             # SQLite / JSON file-based store
β”‚   β”‚   └── Platform/
β”‚   β”‚       β”œβ”€β”€ Windows/             # Registry autostart, WMI
β”‚   β”‚       β”œβ”€β”€ Linux/               # systemd, AppIndicator
β”‚   β”‚       └── Mac/                 # LaunchAgent, NSStatusItem
β”‚   β”œβ”€β”€ SlimeNexus.UI/               # πŸ–₯️ Avalonia UI + H.NotifyIcon (System Tray)
β”‚   β”‚   β”œβ”€β”€ Views/                   # AXAML views
β”‚   β”‚   β”œβ”€β”€ ViewModels/              # MVVM view models
β”‚   β”‚   β”œβ”€β”€ Controls/                # Custom Avalonia controls
β”‚   β”‚   └── Assets/                  # Icons, fonts, images
β”‚   └── SlimeNexus.Api/              # 🌐 ASP.NET Core Minimal API (localhost bridge)
β”‚       β”œβ”€β”€ Endpoints/               # Endpoint route groups
β”‚       └── Models/                  # Request/response models
β”œβ”€β”€ tests/
β”‚   β”œβ”€β”€ SlimeNexus.Core.Tests/       # Unit tests for domain
β”‚   β”œβ”€β”€ SlimeNexus.Application.Tests/# Unit tests for use cases
β”‚   └── SlimeNexus.Integration.Tests/# API integration tests
β”œβ”€β”€ installer/                       # Velopack build scripts & config
β”œβ”€β”€ docs/assets/                     # Screenshots, GIFs, diagrams
β”œβ”€β”€ .github/
β”‚   β”œβ”€β”€ workflows/
β”‚   β”‚   β”œβ”€β”€ build-and-test.yml       # CI β€” runs on every PR
β”‚   β”‚   └── release.yml              # CD β€” runs on tags pushed to main
β”‚   └── ISSUE_TEMPLATE/
β”œβ”€β”€ CONTRIBUTING.md
β”œβ”€β”€ CODE_OF_CONDUCT.md
└── SlimeNexus.sln

πŸ—ΊοΈ Roadmap

  • πŸ—οΈ Project structure & Clean Architecture scaffold
  • βš™οΈ CI/CD pipeline with GitHub Actions + Velopack
  • 🎨 Avalonia UI β€” main window & system tray
  • 🌐 ASP.NET Core Minimal API β€” localhost endpoints
  • πŸ€– Ollama/Llama 3 integration
  • πŸ”΄ AMD GPU sensor readings (LibreHardwareMonitor)
  • πŸ“‹ Daily task validation engine
  • πŸ’Ύ SQLite persistence layer
  • πŸ”„ Auto-update via Velopack
  • 🐧 Linux AppImage packaging
  • 🍎 macOS DMG packaging
  • 🀝 OpenClaw integration
  • πŸ“Š Slime statistics dashboard

🀝 Contributing

Contributions, bug reports, and feature requests are welcome!
Please read our Contributing Guide and Code of Conduct before getting started.


πŸ“„ License

This project is licensed under the MIT License β€” see the LICENSE file for details.


Made with 🟒 and ❀️ by ItaloKbb β€” powered by an AMD RX 6750 XT

About

The bridge between your web-based Slime pet and local AI. Power your Tamagotchi with Llama 3 & OpenClaw using .NET 9 and your local GPU. πŸ§ͺβš”οΈ

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors