• Stars
    star
    219
  • Rank 181,133 (Top 4 %)
  • Language
    Go
  • License
    Apache License 2.0
  • Created 11 months ago
  • Updated 10 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Create, Deploy, and Run your applications on the edge

Raptor

Build, Deploy, and Run your applications on the edge.

Installation

Work in progress and rough on the edges. Documentation on how to install and run Raptor on your own machines is in the making.

API Server Endpoints

/status

Get server status

  • Method: GET
  • Response Content-Type: application/json

Request Body: empty

Example Response:

{
  "status": "ok"
}

/endpoint/<id>

Get Endpoint by ID

  • Method: GET

  • Response Content-Type: application/json

  • Request Body: empty

Example Response:

{
  "id": "09248ef6-c401-4601-8928-5964d61f2c61",
  "name": "My first run app",
  "url": "http://0.0.0.0:4000/09248ef6-c401-4601-8928-5964d61f2c61",
  "active_deploy_id": "aeacab67-91d6-45c1-ae29-f27922b0fcf0",
  "deploy_history": [
    {
      "id": "aeacab67-91d6-45c1-ae29-f27922b0fcf0",
      "endpoint_id": "09248ef6-c401-4601-8928-5964d61f2c61",
      "hash": "c4dd6753109e47b317a4fc792d231b64",
      "created_at": "2023-12-29T12:19:20.594726Z"
    }
  ],
  "created_at": "2023-12-29T12:19:20.574321Z"
}

/endpoint

Create a new endpoint

  • Method: POST
  • Request Content-Type: application/json
  • Response Content-Type: application/json

Example Request Body:

{
  "name": "my-endpoint"
}

Example Response Body:

{
  "id": "2488b7be-e3d3-4e4c-8f79-13d9d568483d",
  "name": "my-endpoint",
  "url": "http://0.0.0.0:4000/2488b7be-e3d3-4e4c-8f79-13d9d568483d",
  "active_deploy_id": "00000000-0000-0000-0000-000000000000",
  "deploy_history": [],
  "created_at": "2023-12-29T12:08:20.542039Z"
}

/endpoint/<id>/deploy

Deploy Wasm Blob to Endpoint

  • Method: POST
  • Request Content-Type: application/octet-stream
  • Response Content-Type: application/json

Request Body: WASM file

Example Response:

{
  "id": "e2a1ceea-d19e-4231-adc9-995ac61bdaf0",
  "endpoint_id": "2488b7be-e3d3-4e4c-8f79-13d9d568483d",
  "hash": "75b196bcd44611d9f74d62ed16a54e03",
  "created_at": "2023-12-29T12:12:39.91252Z"
}

Wasm Server Endpoints

/<endpoint-id>

Call the Wasm function

  • Method: ALL
  • Request Content-Type: any
  • Response Content-Type: any

Request Body: any (passed to function)

Response Body: any (returned from function)

More Repositories

1

hollywood

Blazingly fast and light-weight Actor engine written in Golang
Go
1,174
star
2

superkit

Go
925
star
3

ml-email-clustering

Email clustering with machine learning
Python
169
star
4

distributedfilesystemgo

distributedfilesystemgo
Go
149
star
5

hbbft

Practical implementation of the Honey Badger Byzantine Fault Tolerance consensus algorithm written in Go.
Go
146
star
6

gothstarter

Golang, Templ, HTMX, and Tailwind started pack
CSS
134
star
7

gobank

A complete JSON API project in Golang where we are building a bank API
Go
121
star
8

slick

Go
121
star
9

projectx

A community driven modular blockchain created from scratch
Go
86
star
10

.nvim

My Neovim configuration in one single file
Lua
82
star
11

ggpoker

A decentralized poker game engine written in Golang and Solidity
Go
68
star
12

crypto-exchange

Build a crypto-exchange from scratch series
Go
63
star
13

vscode-config

My vscode configuration
55
star
14

boredstack

A programming for the no-bullshit builder
CSS
48
star
15

golangmicro

A microservice written in Golang with gRPC and JSON transport
Go
40
star
16

ggcommerce

ECommerce platform backend in Golang
Go
37
star
17

gameserver

A multiplayer game server written with Golang actors thanks to the Hollywood framework
Go
35
star
18

avalanche

A educational / research implementation of the Avalanche consensus algorithm written in Rust
Rust
34
star
19

ggcache

FAST AF F
Go
34
star
20

rust-trading-engine

A trading (matching) engine implementation in Rust.
Rust
28
star
21

goredisclone

Go
27
star
22

hopper

The real time database for modern applications
Go
26
star
23

gstream

A message queue for everything
Go
20
star
24

godistricas

A content addressable storage, but decentralized.
Go
18
star
25

tasker

A package that handles the boilerplate involving running functions in goroutines idiomatically
Go
15
star
26

go-price-fetcher

A micro service witten in Golang that fetches the price of crypto coins
Go
15
star
27

consenter

A pluggable blockchain consensus simulation framework written in Go.
Go
14
star
28

catfacter

A simple JSON API that can fetch cat facts 🤷
Go
14
star
29

go-webkit

Go
14
star
30

termdicator

A custom made crypto orderbook indicator displaying in your terminal
Go
13
star
31

disruptor

Go
12
star
32

ssltrackeroe

CSS
11
star
33

tcpc

Golang channels over TCP
Go
8
star
34

distriscrappy

Go
8
star
35

dreampicai

CSS
7
star
36

neo-go

Node and SDK for the NEO blockchain written in Go
Go
6
star
37

.vim

My Vim setup and configuration under version control.
Vim Script
6
star
38

jscollect

A tool that collects all Javascript files from a certain domain
Go
6
star
39

flow

etcd backed service discovery with build in loadbalancer for scalable service oriented applications
Go
5
star
40

gothkit-auth-plugin

Full decked out authentication for Gothkit
CSS
5
star
41

tlchallence

Go
4
star
42

reinforcement-curve-fever

Using reinforcement learning to play curve fever through a DQN with Tensorflow
Python
4
star
43

jinx-proxy

Multi reverse proxy written in Go
Go
3
star
44

anthdm.github.io

The NDA club podcast website
HTML
3
star
45

fullstack-web3-dex

A complete DEX written in Solidity with a Nextjs + tailwind frontend
JavaScript
3
star
46

nvim

Lua
3
star
47

DEX

A Decentralized exchange written in Solidity
JavaScript
2
star
48

biny

A highly-available distributed lexicografical key-value store build for scale
Go
2
star
49

nginx-php

Run php environment in a docker container with nginx as webserver
Shell
1
star
50

dontgetscammed

The official dontgetscammed application
TypeScript
1
star
51

weavebox-docker-example

Example application running a weavebox app in a docker container, ready for deployment on a CoreOS machine
Go
1
star
52

neo-rs

NEO 3.0 implementation in the Rust language
Rust
1
star
53

docker-silex

docker container for running silex apps backed by nginx and php-fpm
Shell
1
star
54

alien-invasion

A brutal alien invading simulator.
Go
1
star
55

gonzo

Dropon's API server
Go
1
star
56

es-proxy

Go
1
star
57

go-bpost

Package client to communicate with BPOST web services
Go
1
star
58

dynamic-dag-sharding

Let met think some more about a good description.
Go
1
star
59

testapp

yeah. I know....
Go
1
star