typescriptify-golang-structs
Wails
typescriptify-golang-structs | Wails | |
---|---|---|
7 | 65 | |
478 | 22,974 | |
- | 3.4% | |
2.4 | 9.4 | |
22 days ago | 6 days ago | |
Go | Go | |
Apache 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.
typescriptify-golang-structs
- Sharing types between Go backend and TypeScript frontend: best practices and tools?
-
Generate types for TS
I've used https://github.com/tkrajina/typescriptify-golang-structs and it's worked for me so far, relatively simple so you can be up in minutes.
-
Best SPA Typescript <-> Golang integration
I have been looking into various ways of doing this properly, including openapi, swagger and grpc, connect-go etc. My conclusion is that these are overkill for this project and that something like https://github.com/tkrajina/typescriptify-golang-structs which generates typescript definitions from go structs, are probably more than enough.
-
what's your favorite backend stack and why
I use this tool to compile go structs to typescript types for integration w frontend
- How do you navigate all the event schema's in your AWS landscape?
-
Online Golang Struct to TypeScript Interface Converter
I'm curious if you looked at https://github.com/tkrajina/typescriptify-golang-structs, and if so, what it does that you didn't want.
Wails
-
Gio UI – Cross-Platform GUI for Go
A different option is Wails [1], which allows you to write all logic in Go, and the UI in HTML (with any or no web framework). It's like Electron but lighter because it doesn't ship Chrome but uses the system's web viewer instead.
[1] https://github.com/wailsapp/wails
-
SGSG (Svelte + Go + SQLite + gRPC) - open source application
This is basically the same tech stack of an app I’ve been planning to build, but deployed as a desktop application using Wails: https://github.com/wailsapp/wails
- FLaNK Stack Weekly 16 October 2023
-
[Golang] Recommandation de bibliothèque d'interface utilisateur légère
Wails 2.6k
-
Generate types for TS
The wails project does this when. You can check it out here https://github.com/wailsapp/wails/blob/master/v2/internal/typescriptify/typescriptify.go for inspection.
- Building Desktop Applications with Tauri, Nextjs, Firebase
-
Ask HN: What is the most pleasant, uncomplicated full stack to start with?
I have built Web front-ends (React or Svelte) with Go-backend. Embed in a web-view to make it a native desktop app, or get funky and give it native chrome/menus etc. [Wails](https://github.com/wailsapp/wails) is a good candidate to start if you want to cut on boiler plate.
-
Task runner like go-task/task, but in pure Go, no external DSLs
Is that what wails is doing here? (On mobile)
-
Game Server Development: How do you structure game state for easy, efficient, and configurable access?
In a "local" environment, where an executable can be provided to someone with the entire game contents. In this case, the game won't use WebSockets, and will instead use a Go/JS bridge (something like Wails) to connect.
-
What necessary packages or functions that Go doesn't have?
Have you seen wails? https://github.com/wailsapp/wails
What are some alternatives?
go2ts - Online Golang Struct to TypeScript Interface Converter
tauri - Build smaller, faster, and more secure desktop applications with a web frontend.
twirp-swagger-gen - A Twirp RPC Swagger/OpenAPI 2.0 generator
fyne - Cross platform GUI toolkit in Go inspired by Material Design
typex - [TOOL/CLI] - Filter and examine Go type structures, interfaces and their transitive dependencies and relationships. Export structural types as TypeScript value object or bare type representations.
Lorca - Build cross-platform modern desktop apps in Go + HTML5
gots - No matter how you pronounce it, this repository is all about converting Go types to TypeScript types.
webview - Tiny cross-platform webview library for C/C++. Uses WebKit (GTK/Cocoa) and Edge WebView2 (Windows).
oto - Go driven rpc code generation tool for right now.
example-go-tray-gui - An example desktop system tray application that can launch HTML5 windows. Go source with a build process for Windows, Mac and Linux.
aws-lambda-go - Libraries, samples and tools to help Go developers develop AWS Lambda functions.
go-astilectron - Build cross platform GUI apps with GO and HTML/JS/CSS (powered by Electron)