Skip to content

the-bokya/neko

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

Frappe Neko (stylised neko) is an agent that can be put on any machine as a Go binary and be used to manage VMs.

Prerequisites

Installation

git clone github.com/the-bokya/neko.git
cd neko
go install

Usage

  1. Generate basic config:

    neko setup config

    This will create a config at /etc/neko

  2. Download images:

    neko setup images

    Images specified in /etc/neko/config.json in the field vm_images will be downloaded and their sha256sum will be verified.

  3. Start the server:

    neko serve

Endpoints

  1. Define new VMs

    curl localhost:8000/vms/new --json '{"name": "new-vm", "vcpus": 1, "memory": 512, "image": "Ubuntu 24.04", "disk_size": 5}'

    Output:

    {"status":"Ok","message":"VM created successfully","data":{"name":"new-vm","uuid":"8d715798-663f-4cca-b6b3-0278ee772f1e","state":5}}
  2. Start a VM

    curl localhost:8000/vms/<vm-name>/start -X POST

    Output:

    {"status":"Ok","message":"VM started successfully","data":{"name":"new-vm","uuid":"8d715798-663f-4cca-b6b3-0278ee772f1e","state":1}}

Note

This is currently a work in progress.

About

Agent for creating and managing VMs on bare metal servers.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages