Protobuf VS vike

Compare Protobuf vs vike and see what are their differences.

vike

🔨 Like Next.js / Nuxt but as do-one-thing-do-it-well Vite plugin. (by vikejs)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
Protobuf vike
174 66
63,657 3,588
0.5% 2.5%
10.0 10.0
6 days ago 6 days ago
C++ TypeScript
GNU General Public License v3.0 or later MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.

Protobuf

Posts with mentions or reviews of Protobuf. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-29.
  • Hitting every branch on the way down
    4 projects | news.ycombinator.com | 29 Apr 2024
    It's because they changed the versioning format: https://github.com/protocolbuffers/protobuf/releases?page=5

    But I suppose old version still receive bugfixes.

  • Reverse Engineering Protobuf Definitions from Compiled Binaries
    5 projects | news.ycombinator.com | 9 Mar 2024
    For at least 4 years protobuf has had decent support for self-describing messages (very similar to avro) as well as reflection

    https://github.com/protocolbuffers/protobuf/blob/main/src/go...

    Xgooglers trying to make do on the cheap will just create a Union of all their messages and include the message def in a self-describing message pattern. Super-sensitive network I/O can elide the message def (empty buffer) and any for RecordIO clone well file compression takes care of the definition.

    Definitely useful to be able to dig out old defs but protobuf maintainers have surprisingly added useful features so you don’t have to.

    Bonus points tho for extracting the protobuf defs that e.g. Apple bakes into their binaries.

  • Show HN: AuthWin – Authenticator App for Windows
    6 projects | news.ycombinator.com | 3 Mar 2024
  • Create Production-Ready SDKs With gRPC Gateway
    5 projects | dev.to | 8 Dec 2023
    gRPC Gateway is a protoc plugin that reads gRPC service definitions and generates a reverse proxy server that translates a RESTful JSON API into gRPC.
  • Create Production-Ready SDKs with Goa
    9 projects | dev.to | 22 Nov 2023
    To use more recent versions of protoc in future applications, you can download them from the Protobuf repository.
  • Roll your own auth with Rust and Protobuf
    5 projects | dev.to | 28 Oct 2023
    Use the Protobuf CLI protoc and the plugin protoc-gen-tonic.
  • Add extra stuff to a “standard” encoding? Sure, why not
    11 projects | news.ycombinator.com | 19 Sep 2023
    > didn’t find any standard for separating protobuf messages

    The fact that protobufs are not self-delimiting is an endless source of frustration, but I know of 2 standards:

    - SerializeDelimited* is part of the protobuf library: https://github.com/protocolbuffers/protobuf/blob/main/src/go...

    - Riegeli is "a file format for storing a sequence of string records, typically serialized protocol buffers. It supports dense compression, fast decoding, seeking, detection and optional skipping of data corruption, filtering of proto message fields for even faster decoding, and parallel encoding": https://github.com/google/riegeli

  • Block YouTube Ads on AppleTV by Decrypting and Stripping Ads from Profobuf
    11 projects | news.ycombinator.com | 26 Aug 2023
    It looks like it is in fact universal. Just glancing at the code here, it looks like the tool searches any arbitrary file for bytes that look like encoded protobuf descriptors, specifically looking for bytes that are plausibly the beginning of a FileDescriptorProto message defined here:

    https://github.com/protocolbuffers/protobuf/blob/main/src/go...

    This takes advantage of the fact that such descriptors are commonly compiled into programs that use protobuf. The descriptors are usually embedded as constant byte arrays. That said, not all protobuf implementations embed the descriptors and those that do often have an option to inhibit such embedding (at the expense of losing some dynamic introspection features).

  • How to learn to use protoc in 21 easily infuriating steps
    1 project | news.ycombinator.com | 12 Aug 2023
  • What's involved in protobuf encoding?
    1 project | /r/grpc | 28 Jul 2023
    Not much. You can check the source code in https://github.com/protocolbuffers/protobuf. For example, for serializing a boolean in C#: https://github.com/protocolbuffers/protobuf/blob/main/csharp/src/Google.Protobuf/WritingPrimitives.cs#L165. Strings and objects are a bit more complicated, but it is all about turning the data into its byte representation.

vike

Posts with mentions or reviews of vike. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-03-14.
  • SSRx vs. Vinxi vs. Vike - for SSR with Vite
    3 projects | dev.to | 14 Mar 2024
    Here are some collected notes of the distinctions between SSRx, Vinxi and Vike, to share with anyone else searching the web. Since my Google search came up empty, and I had to ask around on Twitter/X and GitHub to find out.
  • Vike – Meta Framework Alternative
    1 project | news.ycombinator.com | 16 Feb 2024
  • Triplit: Open-source DB that syncs data between server and browser in real-time
    7 projects | news.ycombinator.com | 12 Jan 2024
    We're working on exactly this. You can already do this with Triplit but it's challenging to make an out of the box solution because each framework passes context/data different from server to client differently. There's a cool project called [Vike](https://github.com/vikejs/vike) that generalizes this pattern across SSR'd UI frameworks
  • Can't stand Next JS-- alternatives w/ Vite?
    1 project | /r/react | 26 Nov 2023
    Anyone have experience with https://github.com/vikejs/vike?
  • Waku: The Minimalist React Framework with Server Components
    3 projects | news.ycombinator.com | 27 Aug 2023
    have you seen https://vite-plugin-ssr.com/ ? i've only browsed their docs, but AFAICT their pitch that it's a more DIY approach to a framework, where you keep a lot of control over how things are wired together.
  • The theory versus the practice of “static websites”
    13 projects | news.ycombinator.com | 15 Jul 2023
    I agree and, as the author of vite-plugin-ssr[1], that's what I recommend to my users: go for static whenever you can.

    I think it's something every web developer should be aware of. Static is indeed a lot simpler than dynamic.

    I've wrote more about it over here[2] (SSG = static, SSR = dynamic).

    [1]: https://vite-plugin-ssr.com

  • What's the best ISR (and SSR) React frameworks? (looking for NextJS alternative)
    1 project | /r/reactjs | 2 Jul 2023
    Maybe vite-plugin-ssr? It's pretty unopinionated and doesn't get in your way.
  • Next.js App Router Update
    4 projects | news.ycombinator.com | 22 Jun 2023
    Also have a look at https://vite-plugin-ssr.com/ (author here).

    VPS is slightly lower level which gives you a lot more control: integrate with your existing Node.js backend (use any backend framework you want), deploy anywhere, use any React alternative (Solid, Preact, ...) and any data fetching tool (e.g. Relay can't really be used with Next.js).

    The flip side is that you've to write a little bit more glue code. Although this will be alleviated by a lot with projects such as Bati[0], Stem[1], and vike-react (see Vike Rebranding[2]).

    VPS also cares a ton about details, such as hooks for full control over i18n (use any i18n strategy you want), better Base URL support (VPS supports setting a different base for your server and your CDN), automatic deploy synchronisation, domain-driven file structure, polished and helpful error messages (especially the next upcoming release), ...

    Detailed comparison with Next.js: [3].

    If you run into any blocker then it's quickly fixed (or at least a workaround is proposed).

    It supports not only SSR and pre-rendering, but also SPA in case you don't need SSR. It's going to support RSC but doesn't yet (RSC isn't ready for production).

    Because it's lower level and because it's decoupled from React everything is designed in an agnostic way and with meticulous care. In other words: vite-plugin-ssr is becoming a robust foundation. There are breaking changes coming for the v1 release but beyond that chances are that there won't be any breaking change for years in a row.

    In a nutshell: vite-plugin-ssr takes care of the frontend and only the frontend. You keep control over your architecture. (Whereas frameworks tend to put themselves right in the middle of your architecture restricting you in fundemetanl ways.)

    Last but not least: it's powered by Vite which means blazing fast HMR.

    [0] https://batijs.github.io

    [1] https://stemjs.com/

    [2] https://github.com/brillout/vite-plugin-ssr/issues/736

    [3] https://vite-plugin-ssr.com/nextjs-comparison

  • React Server Side Rendering(SSR)
    2 projects | /r/react | 20 Jun 2023
    Now by default, Vite doesn't do SSR. One way to do Vite+SSR is to use vite-plugin-ssr. You can scaffold an example project that does SSR based on some dynamic data:
  • NextJS app router is complete failure, what alternatives do you recommend for react SSR and ISR?
    1 project | /r/reactjs | 30 May 2023
    vite-plugin-ssr

What are some alternatives?

When comparing Protobuf and vike you can also consider the following projects:

FlatBuffers - FlatBuffers: Memory Efficient Serialization Library

vite-ssr - Use Vite for server side rendering in Node

SBE - Simple Binary Encoding (SBE) - High Performance Message Codec

Next.js - The React Framework

MessagePack - MessagePack implementation for C and C++ / msgpack.org[C/C++]

vite-imagetools - Load and transform images using a toolbox :toolbox: of custom import directives!

cereal - A C++11 library for serialization

ts-node - TypeScript execution and REPL for node.js

Apache Parquet - Apache Parquet

vite-plugin-vue2 - Vue2 plugin for Vite

Bond - Bond is a cross-platform framework for working with schematized data. It supports cross-language de/serialization and powerful generic mechanisms for efficiently manipulating data. Bond is broadly used at Microsoft in high scale services.

nextjs-tailwind-ionic-capacitor-starter - A starting point for building an iOS, Android, and Progressive Web App with Tailwind CSS, React w/ Next.js, Ionic Framework, and Capacitor