protoc-gen-validate
liwords
protoc-gen-validate | liwords | |
---|---|---|
6 | 20 | |
3,642 | 74 | |
0.7% | - | |
8.0 | 9.3 | |
10 days ago | 5 days ago | |
Go | Go | |
Apache License 2.0 | GNU Affero General Public License v3.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.
protoc-gen-validate
- Protobuf Schema Validation
-
Protobuf-ES: The Protocol Buffers TypeScript/JavaScript runtime we all deserve
My understanding is that the powers that be within Google have decided that validating messages is outside the scope of schemas and serialization. protoc-gen-validate provides a portable way to perform validation: https://github.com/bufbuild/protoc-gen-validate
The problem with required fields is it kicks the can down the road when you want to deprecate a field. Keeping everything optional is much, much better for everyone in the long run.
-
Why isn't gRPC used more for browser to api transport over REST / graphql?
I built a (go) very rough draft to support 3.1 + a json pointer pkg to support a refactor that was in progress before I bailed on the idea. The amount of effort to get a conventional API was dwarfing that of grpc, especially with protoc-gen-validate.
- Protoc-Gen-Validate (PGV)
-
is there any package to generate validation code for struct instead of using reflect (tags)?
Yes, I am currently using this. I prefer something like this https://github.com/envoyproxy/protoc-gen-validate
-
sneak peak: code generation extensions to prost (protobuf code generator)
We've been using Rust with protobuf, but had to write lots of conversions from protobuf struct to actual DTO, since prost generates Options for nested types, and does not really support custom types. So I extended prost with the options that we needed. I might aim to also support protoc-gen-validate.
liwords
-
Scrabble's Best Player Knows No Limits
Check out https://woogles.io (disclaimer I am a cofounder). AGPLV3 platform with world class bots, puzzles, a free analyzer, clubs/tournaments, and more to come. You can see the source code at https://github.com/woogles-io/liwords. We recently hit 5M games played and have hosted a few major tournaments.
- ISC
-
Any new Opensource projects in (go) looking for contributors. I want to start my journey as an OSS contributor.
A small team of us work on a project https://github.com/domino14/liwords - this is an online crossword-board-game playing website. We have around 6000 MAU, are fully free and open-source, and need a lot of coding help!
-
Who is using Go to build web sites and applications?
We built woogles.io (a crossword board game playing site with almost 10K MAU) in Go. See https://github.com/domino14/liwords
-
What are well-developed web applications in Golang?
https://github.com/domino14/liwords - warning it’s not that well-developed but it’s ok
-
Ask HN: Those making $0/month or less on side projects – Show and tell
A small team and I made https://woogles.io - we were inspired by lichess to make a site to play crossword board games during the pandemic (like Scrabble, Words with Friends, etc).
We did raise money on Kickstarter - 25K but are purely donations-driven and open source (AGPL3) Most months we just get enough to cover the cost of running the servers. We have around 6000 monthly active users, have hosted several big worldwide championships, have puzzles, and just earlier today released a board editor / broadcast mode for annotating real life games in real time. We also have a top notch bot AI and WASM-based analyzer.
Our stack is Go, Typescript + React, with NATS/PGSQL on the backend.
-
scrabble
woogles.io
-
Has there been a scrabble AI who can make predictions on the winning probabilities?
The people behind those websites and apps have no clue this software exists. The exception is woogles.io because it is associated with the Macondo AI. /u/14domino is the brain behind both of those things
-
ISC is so ugly
https://woogles.io raised $25K on Kickstarter and built a more beautiful site. Come join us (we’re still taking donations :)
-
An overview on Scrabble resources
- Playing online: there is woogles.io which I personally would recommend; it's made by players for players and is free to use. Among the features are: play against humans, play against strong bots, tournaments, feedback on your moves after the game, availability of different languages and game variants. Other options are: playscrab.com (also made by players for players); isc.ro (the Internet Scrabble Club); the app Scrabble Go and, if you don't mind playing with slightly altered game rules, Wordfeud, which comes along with a large online league (not technically affiliated with the app itself).
What are some alternatives?
buf - The best way of working with Protocol Buffers.
zig-wasm-test - A minimal Web Assembly example using Zig's build system.
prototool - Your Swiss Army Knife for Protocol Buffers
minimal-zig-wasm-canvas - A minimal example showing how HTML5's canvas, wasm memory and zig can interact.
prost - PROST! a Protocol Buffers implementation for the Rust Language
zig-wasm-logger - A simple implementation of console.log() in Zig + JS + Wasm
ozzo-validation - An idiomatic Go (golang) validation package. Supports configurable and extensible validation rules (validators) using normal language constructs instead of error-prone struct tags.
Dodgeballz - A mini game using Zig, WASM and JS
grpc-web - gRPC Web implementation for Golang and TypeScript
sokol-zig - Zig bindings for the sokol headers (https://github.com/floooh/sokol)
protolock - Protocol Buffer companion tool. Track your .proto files and prevent changes to messages and services which impact API compatibility.
lichobile - lichess.org mobile application