From 2869b6c656bf96b64dd19a1baeb8bfb269b69531 Mon Sep 17 00:00:00 2001
From: Brendan Hansen
This guide walks you through all steps of setting up an HTTP server Onyx,
- writing some routes on it, and then deploying it to Wasmer Edge or Spin
- using WCGI.
+ writing some routes on it, and then deploying it to Wasmer Edge using WCGI.
You can now write the code for your server.
Begin by creating a
Now you write a simple libpq."
},
{
"name": "postgres-orm",
"url": "https://github.com/onyx-lang/pkg-postgres-orm",
- "description": ""
+ "description": "A simple Object Relational Mapper for a PostgresQL database."
},
{
"name": "qoi",
"url": "https://github.com/onyx-lang/pkg-qoi",
- "description": ""
+ "description": "An implementation of the Quite OK image format. Currently only the decoder is implemented."
},
{
"name": "http-client",
"url": "https://github.com/onyx-lang/pkg-http-client",
- "description": ""
+ "description": "An HTTP client capable of sending HTTP(S)/1.1 requests."
},
{
"name": "openssl",
"url": "https://github.com/onyx-lang/pkg-openssl",
- "description": ""
+ "description": "Bindings for openssl."
},
{
"name": "glfw3",
"url": "https://github.com/onyx-lang/pkg-glfw3",
- "description": ""
+ "description": "Bindings for GLFW3."
},
{
"name": "openal",
"url": "https://github.com/onyx-lang/pkg-openal",
- "description": ""
+ "description": "Bindings for OpenAL."
},
{
"name": "opengles",
"url": "https://github.com/onyx-lang/pkg-opengles",
- "description": ""
+ "description": "Bindings for OpenGL ES 3.2."
},
{
"name": "opencl",
"url": "https://github.com/onyx-lang/pkg-opencl",
- "description": ""
+ "description": "Bindings for OpenCL."
},
{
"name": "ncurses",
"url": "https://github.com/onyx-lang/pkg-ncurses",
- "description": ""
+ "description": "Bindings for the ncurses library."
},
{
"name": "json-rpc",
"url": "https://github.com/onyx-lang/pkg-json-rpc",
- "description": ""
+ "description": "A simple JSON-RPC server implementation. Used by the Onyx langauge server."
},
{
"name": "otmp",
"url": "https://github.com/onyx-lang/pkg-otmp",
- "description": ""
+ "description": "A string templating language, similar to Jinja or Mustache."
}
]
diff --git a/www/static/css/new_style.css b/www/static/css/new_style.css
index b46df35..370d5e8 100644
--- a/www/static/css/new_style.css
+++ b/www/static/css/new_style.css
@@ -340,6 +340,7 @@ navbar a {
display: block;
padding: 2px 0;
text-decoration: none;
+ color: var(--accent);
}
diff --git a/www/templates/pages/docs/guide_http_server.html b/www/templates/pages/docs/guide_http_server.html
index d7a8c97..8d8cca2 100644
--- a/www/templates/pages/docs/guide_http_server.html
+++ b/www/templates/pages/docs/guide_http_server.html
@@ -10,8 +10,7 @@
main.onyx file that will house your code.
- In this file, you first need to load your packages and use http package.
+ In this file, you first need to load your packages and use the http package.
#load "./lib/packages"
@@ -65,7 +64,7 @@ use http.server { Request, Response, route }main function that will create a TCP HTTP server,
- with one route for the getting "/" endpoint.
+ with one route for getting the "/" endpoint.
main :: () {
diff --git a/www/templates/pages/docs/package.html b/www/templates/pages/docs/package.html
index bd37c4d..389a7ec 100644
--- a/www/templates/pages/docs/package.html
+++ b/www/templates/pages/docs/package.html
@@ -37,7 +37,7 @@
- When you publish a package, using onyx package publish it simply increments the version number in the package file,
+ When you publish a package using onyx package publish, it simply increments the version number in the package file,
commits that change, creates a new tag at that commit, and pushes all changes and tags to the Git server.
When someone else runs onyx package update, the new version will be found and updated to.
+ This list serves as the official package index for the time being. + When more packages exist, a proper package repository and index will be made. +