starlark-go
clace
starlark-go | clace | |
---|---|---|
21 | 10 | |
2,204 | 72 | |
0.4% | - | |
7.1 | 9.5 | |
9 days ago | about 9 hours ago | |
Go | Go | |
BSD 3-clause "New" or "Revised" License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
starlark-go
-
Python Is Easy. Go Is Simple. Simple = Easy
Starlark in go https://github.com/google/starlark-go is a great way to combine the best of both, the ease of use of Python and the simplicity of go.
I have been building a platform for deploying internal web applications using this approach https://github.com/claceio/clace. Use Starlark to configure the application, the platform itself is built in go.
- Show HN: Clace – Platform for secure internal web applications
-
Examples of using task scheduler with Go?
The big unknown is your task definition: what does user-defined logic look like? If you're expecting go code, that's gonna need some cleverness because of the compiled nature of it. There's a node runtime implemented in go if you want to provide sandboxed javascript (check the source of k6.io, it's the main one I know that uses it). If you want to provide building blocks and let them compose them, starlark might be a good choice.
-
Show HN: Gsubpy, an interpreter for subset of Python, written in Go
Another one of those (with broader language support) is the Starlark language, which has a Go implementation: https://github.com/google/starlark-go
-
Looking for library to build composable actions from config file
Every config format gets as complex to be touring complete in the end. We had similar problems and eventually got rid of that complexity and switched to starlark (the bazel config language), was a huge benefit for the tools. https://github.com/google/starlark-go "Starlark is a dialect of Python intended for use as a configuration language. Like Python, it is an untyped dynamic language with high-level data types, first-class functions with lexical scope, and garbage collection."
-
Looking for programming languages created with Go
Direct link to the Go implementation of Starlark: https://github.com/google/starlark-go
-
Change go code behaviour at runtime
For a Python-like syntax, https://github.com/google/starlark-go is the language used in Babel. It's very mature, but since it is used in a massive mature project with a specific purpose, it doesn't move fast or drift from the spec of its Java-based sibling. It doesn't have exception try except blocks or some other features you might expect, but for short extension logic, it might be exactly what you want with the stability you can depend upon.
-
Reserve 4 gigabytes and treat any pointer in that range as an integer value
Context: https://github.com/google/starlark-go/blob/cfacd890221418a2dc2c736f7b5e3476c38709b1/starlark/int_posix64.go
-
A command-line tool to create development environments for AI/ML, based on Docker and buildkit
Thus envd is more like Dockerfile, while it uses a simplified python dialect starlark https://github.com/google/starlark-go as the build language.
-
I'm building an experimental successor to Bazel™
Use Go (mostly for starlark-go)
clace
-
ETag and HTTP Caching
An approach like https://github.com/benbjohnson/hashfs allows file names to be updated at runtime to be content hashed. This removes the need for the extra "304 Not Modified" API calls from the client. This content hash based file renaming is usually done using a build step which renames files. For applications where the static file serving and HTTP request processing are done in the same application, this can be done in memory without a build step for file renames.
I am using that approach in my project https://github.com/claceio/clace. It removes the need for a build step while making aggressive static file caching possible.
- Show HN: Clace – Nginx Unit alternative – app server for internal apps
- Show HN: Clace – Platform for hypermedia driven internal web tools
-
The End of Airplane.dev
I am building https://github.com/claceio/clace. It is focussed on building operational web apps, with a focus on security. The end goal is to build something between https://www.rundeck.com/ and https://retool.com/, allow automation of operational tasks through a web interface while also allowing fully custom web apps.
Clace also works great for running simple web apps locally. Building and deploying a web app should be as easy and common for backend engineers as creating a CLI app is.
-
Is Htmx Just Another JavaScript Framework?
Hypermedia based web applications are a great fit for developing internal and operational tools. I have been building https://github.com/claceio/clace for making development and deployment easier for such web apps.
-
Pocketbase: Open-source back end in 1 file
I have been building a project https://github.com/claceio/clace which aims to make building hypermedia based web applications easier. Clace is implemented in go, it uses Starlark (python syntax subset) for application configuration. With Clace, the apps are implemented using Starlark and (go) html templates, HTMX is used for web interface, app developer does not need to write any JavaScript.
-
Python Is Easy. Go Is Simple. Simple = Easy
Starlark in go https://github.com/google/starlark-go is a great way to combine the best of both, the ease of use of Python and the simplicity of go.
I have been building a platform for deploying internal web applications using this approach https://github.com/claceio/clace. Use Starlark to configure the application, the platform itself is built in go.
-
HTML First – Six principles for building simple, maintainable, web software
I have used this approach for internal tools and it has been great. It makes it much easier for one person to build the whole app, frontend and backend, and makes ongoing maintenance much easier.
I am working on https://github.com/claceio/clace which takes this no build approach and makes it easy to build portable applications, using Starlark running in go to configure the backend.
- Clace – Secure hypermedia web applications using Starlark and go
- Show HN: Clace – Platform for secure internal web applications
What are some alternatives?
cue - The home of the CUE language! Validate and define text-based and dynamic configuration
- - Hyphen - An elegant custom element base class
cue - CUE has moved to https://github.com/cue-lang/cue
go-plugin - Golang plugin system over RPC.
strictyaml - Type-safe YAML parser and validator.
DevSecOps - ♾️ Collection and Roadmap for everyone who wants DevSecOps. Hope your DevOps are more safe 😎
gopher-lua - GopherLua: VM and compiler for Lua in Go
hashfs - Implementation of io/fs.FS that appends SHA256 hashes to filenames to allow for aggressive HTTP caching.
jsonnet-libs - Grafana Labs' Jsonnet libraries
fragmentify-js - FragmentifyJs
go-jsonnet
tailgate - Client-facing generative-AI components without the fuss.