https://github.com/vaclovas2020/web
Go-powered new programming language for web development
https://github.com/vaclovas2020/web
cms debian-package framework golang language module package vm
Last synced: 4 months ago
JSON representation
Go-powered new programming language for web development
- Host: GitHub
- URL: https://github.com/vaclovas2020/web
- Owner: vaclovas2020
- License: bsd-3-clause
- Created: 2022-01-27T17:09:12.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-05-03T23:49:52.000Z (about 1 year ago)
- Last Synced: 2025-01-10T10:34:54.830Z (5 months ago)
- Topics: cms, debian-package, framework, golang, language, module, package, vm
- Language: Go
- Homepage: https://weblang.dev
- Size: 374 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Weblang language (Go package)

[](https://pkg.go.dev/webimizer.dev/web)
[](https://snapcraft.io/weblang)
Go-powered new programming language for web development
This is still very early version, so please use only for testing purposes, because it's not production ready yet.
## Go Example
```go
package mainimport "webimizer.dev/web/cmd"
func main() {
cmd.RegisterAndExecute()
}
```
## Weblang debian packageYou can install debian weblang package and no need to use this go package directly anymore (this is more easy way):
1. Add GPG public key:
```sh
curl -fsSL https://weblang.dev/deb-repo/pgp-key.public | sudo gpg --dearmor -o /usr/share/keyrings/weblang.gpg
```2. Add deb package to package list:
```sh
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/weblang.gpg] https://weblang.dev/deb-repo stable main" | sudo tee /etc/apt/sources.list.d/weblang.list > /dev/null
```3. Update apt list and install weblang package:
```sh
sudo apt update && sudo apt install weblang
```4. Run application with command:
```sh
weblang run
```Full example: https://github.com/vaclovas2020/weblang_app_example