go-plugin
beubo
Our great sponsors
go-plugin | beubo | |
---|---|---|
30 | 2 | |
4,960 | 23 | |
2.0% | - | |
6.7 | 0.0 | |
about 1 month ago | about 1 year ago | |
Go | Go | |
Mozilla Public License 2.0 | MIT License |
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.
go-plugin
-
Show HN: Togomak – declarative pipeline orchestrator based on HCL and Terraform
I am looking forward to a mix of both - I am hoping to add a concept called "operator" which would be a go-plugin [1], just like terraform providers, but build backends. So, someone would be able to, say, write a Slack plugin (in Go, or anything over RPC) which sends a message once a build is complete - like Jenkins/GitHub actions, or just scripts that we can reuse like GitLab CI through `modules`.
Perhaps a new registry where we can push custom modules and providers (operators in this case), I'm curious to know about if we have any existing implementations we could reuse for the registry.
[1]: https://github.com/hashicorp/go-plugin
- Show HN: Clace – Platform for secure internal web applications
- Wazero: Zero dependency WebAssembly runtime written in Go
-
referencing packages on the internet and using go plugin
I'd recommend looking into a different approach for plugins such as hashicorp/go-plugin (which uses multiple process PIDs and RPC communication between them) or traefik/yaegi (which implements a Go-compatible scripting language that can be interpreted at runtime and which still supports most Go modules).
- Can Go dynamically load library module at runtime?
-
Binary packages alternative
You'll never fully protect your code from someone who's dead-set on reverse-engineering it, however, you can use https://github.com/hashicorp/go-plugin or a similar RPC technique, which will let you ship binary plugins and will also be less fragile and janky compared to something made with `-buildmode=plugin`.
- Trying to build Rust Plugin System
-
How would you guys support plugins in a Go app? (or any other compiled language for that matter)
The plugin system that hashicorp uses for all their projects works very well. It's essentially a local RPC implementation. https://github.com/hashicorp/go-plugin
- Change go code behaviour at runtime
-
Is the documentation for making non-go plugins in the go-plugin repo outdated?
can you try older go-plugin versions? The only major change in v1.4.4 was a bugfix for automtls. https://github.com/hashicorp/go-plugin/blob/master/CHANGELOG.md
beubo
-
What is your “I don't care if this succeeds” project?
I'm working on https://github.com/uberswe/beubo - It's a CMS similar to Wordpress but written in Go. It's still very early and it has a lot of bugs but what will make it powerful is plugins and themes. Performance is the biggest difference between Wordpress, plugins will most likely use RPC/gRPC which means they could be written in any language.
I'm mostly writing it for use with my own projects like https://tournify.io but it would be awesome if a few others found it useful too. It's a nice way for me to practice my Go programming skills.
-
Ask HN: What Are You Working On?
A CMS written in Go. It’s still very early and it has the basics of user creation, multiple domain support, themes and user management by default. What will make it really powerful is plugins.
Plugins are still being developed and currently use the go plugin package which is really good for performance but can be bad for security and compatibility with versions and operating systems. I plan to either move over to using RPC instead or supporting both options.
Everything is available on GitHub under the MIT License.
https://github.com/uberswe/beubo
What are some alternatives?
wasmer - 🚀 The leading Wasm Runtime supporting WASIX, WASI and Emscripten
electron-browser-shell - A minimal, tabbed web browser with support for Chrome extensions—built on Electron.
OS-NVR - OS-NVR is a lightweight extensible CCTV system. Mirror of Codeberg.
vopono - Run applications through VPN tunnels with temporary network namespaces
go-plugin-benchmark - Benchmark comparing the go plugin package to other plugin implementations
Arthur - How to build your own AI art installation from scratch [Moved to: https://github.com/maxvfischer/DIY-ai-art]
rust - Empowering everyone to build reliable and efficient software.
VimMode.spoon - Adds vim keybindings to all OS X inputs
exomind - A personal knowledge management tool hosted on your own personal cloud
os-nvr
data_engineering_on_gcp_book - A book describing how to set up and maintain Data Engineering infrastructure using Google Cloud Platform.