orval VS moonfire-nvr

Compare orval vs moonfire-nvr and see what are their differences.

orval

orval is able to generate client with appropriate type-signatures (TypeScript) from any valid OpenAPI v3 or Swagger v2 specification, either in yaml or json formats. 🍺 (by anymaniax)

moonfire-nvr

Moonfire NVR, a security camera network video recorder (by scottlamb)
SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
surveyjs.io
featured
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
orval moonfire-nvr
20 31
2,278 1,126
- -
9.6 8.6
7 days ago 17 days ago
TypeScript Rust
MIT License GNU General Public License v3.0 or later
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.

orval

Posts with mentions or reviews of orval. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-15.
  • HonoJS: Small, simple, and ultrafast web framework for the Edges
    9 projects | news.ycombinator.com | 15 Apr 2024
    In cases where the client needs to stay separate, we have had a good experience with Orval[1] to generate a fully-typed @tanstack/query client from our OpenAPI spec.

    [1] https://orval.dev/

  • Litestar – powerful, flexible, and highly performant Python ASGI framework
    8 projects | news.ycombinator.com | 26 Feb 2024
    - Vite/React/Tailwind for the frontend, with [Orval](https://orval.dev/) to generate FE definitions based on the API spec.

    For non-API/SPA use-cases, it also has good HTML support, with built-in Jinja and HTMX integrations. The docs are great (https://docs.litestar.dev/latest/ - not quite Django-tier but that's the gold standard), however the reference application is a tad too complex imo (https://github.com/litestar-org/litestar-fullstack).

    https://github.com/litestar-org/awesome-litestar has a list of useful extensions - highly recommend trying it out if you are starting a new Python web project.

  • How to Automatically Consume RESTful APIs in Your Frontend
    13 projects | dev.to | 25 Jan 2024
    In order to generate the API client, there are a few options available, but we are going to use (Orval)[https://orval.dev]. Orval is a CLI tool that generates API clients based on an OpenAPI specification. It supports TypeScript, JavaScript, Axios, React, Vue, Angular and Svelte and it's highly customizable.
  • Getting the most out of vscode
    1 project | dev.to | 24 Jan 2024
    I would use "reveal": "never" if I don't care about the results of the command, for example, I generate swagger types using orval.dev on every folder open, but I want this to run in background as it's not that important, so I use "reveal": "never" for it.
  • Mock Service Worker(msw) releases 2.0
    8 projects | news.ycombinator.com | 23 Oct 2023
    we started using (and now contributing to) https://orval.dev/ this year which both generates the mocks using MSW as well as the client-side networking code (React Query in our case). It removes so much boilerplate its amazing.

    wrote up the basics of our workflow few weeks ago https://betaacid.co/blog/api-contracts

  • Ask HN: Why isn't JSON-RPC more widely adopted?
    11 projects | news.ycombinator.com | 2 Jan 2023
    Personally, find gRPC-Web very attractive but the current state of TypeScript/JS code-gen is very confusing and lacking.

    I would love something like https://orval.dev for gRPC-web. Have I missed something or is it just early to expect it?

    I tried a few libraries but couldn't get them to work or would generate unappealing results. I believe I'm hitting this issue with my local experiments. https://github.com/grpc/grpc-web/issues/535

  • I made a framework to build fully-typed RESTful server and client with zero dependency
    2 projects | /r/javascript | 20 Nov 2022
    This is a Library I've used in the past, https://github.com/anymaniax/orval
  • Best / Modern Test Stack for a new big Next.js project
    3 projects | /r/nextjs | 4 Nov 2022
    If you have OpenAPI specs to work with you could also use Orval (https://orval.dev/) to generate a lot of code. We’re just starting to evaluate it at work but so far the team that’s trialing it is liking it.
  • React & REST APIs: End-To-End TypeScript Based On OpenAPI Docs
    2 projects | /r/reactjs | 28 Oct 2022
    On the frontend we can use the OpenAPI docs to generate the TS types for our data structures. Not only types but fetch functions as well as react-query hook can be generated as well. And in this blog post you can see how to do that with a library called Orval.
  • React & REST APIs: End-To-End TypeScript Based On OpenAPI Docs
    2 projects | dev.to | 28 Oct 2022
    On this page, we’ll use a code generator called Orval.

moonfire-nvr

Posts with mentions or reviews of moonfire-nvr. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-10-23.
  • Mock Service Worker(msw) releases 2.0
    8 projects | news.ycombinator.com | 23 Oct 2023
    How do folks test timing-related stuff with MSW? AFAIK, MSW doesn't get along with jest.useFakeTimers. It drives me nuts; I have a bunch of disabled tests in an open-source project and at least one that is flaky because it uses real timers where I'd like to be using fake timers. [1, 2]

    I've been thinking about ripping out MSW from my tests in favor of my own API-level mock for this reason. But it seems like many other folks are happy with MSW. I have to assume there's something I'm not getting. I'm a fish out of water with frontend stuff in general...

    [1] https://github.com/scottlamb/moonfire-nvr/blob/5ea5d27908f1a...

    [2] https://github.com/scottlamb/moonfire-nvr/blob/5ea5d27908f1a...

  • Alternative open firmware for your IP camera
    8 projects | news.ycombinator.com | 8 Oct 2023
    > I wonder how hard it would be to run your own streamer pipeline or whatnot on these things?

    Agree with the_biot: The actual streaming component is not too hard. If this were the biggest problem, I'd be thrilled to contribute to an open source streaming server to complement my open source NVR. [1] The driver situation is indeed a bit harder—these things don't just have mainline Linux support with v4l2 for the video input and encoder. Or open source drivers of any kind to crib from AFAIK.

    The biggest problem IMHO is that there just aren't any good cameras to buy, even completely ignoring the software aspect. I want a camera that:

    1. doesn't support genocide. Nothing that involves Dahua, Hikvision, or Huawei. See IPVM articles on the subject. And a lot of available cameras are relabeled Dahua/Hikvision stuff and/or use Huawei components.

    2. is legal for sale / authorized for use in the US. (See the Secure Equipment Act of 2021.)

    3. has good night mode performance: IR/day switch, a sensor that is at least 1/1.8", reasonable resolution (somewhere from HD to 4k).

    4. has an "eyeball" or "turret" form factor rather than "bullet". The latter seems to really attract spiders, so you end up with a really nice video of a web...

    5. supports PoE.

    6. is weatherized (IP66 or so).

    7. is reasonably priced.

    If you ignore #1 and #2, there's some nice hardware out there, but I'm not willing to do that. If you ignore #3, there are a few options (GeoVision, maybe Reolink, maybe Hanwha.) If you ignore #4 and #7, there might be a couple (Axis, maybe Hanwha.) Nothing that ticks all the boxes.

    Hard to get excited about investing a lot in the software when the hardware isn't there.

    [1] https://github.com/scottlamb/moonfire-nvr

  • NVR in Rust
    1 project | /r/rust | 13 Apr 2023
    saw one nvr project in rust - https://github.com/scottlamb/moonfire-nvr - maybe you can find answer there
  • IP Camera stream - simple recording - no resize/detection/etc - is it possible?
    1 project | /r/cctv | 6 Apr 2023
    Moonfire NVR does basically that. No decoding at all. The configuration process could be smoother, but there's a decent setup guide to follow.
  • Surveillance system, how low can you go?
    1 project | /r/selfhosted | 5 Feb 2023
    This is exactly what you're looking for: https://github.com/scottlamb/moonfire-nvr
  • Installing Rust in a Raspberry Pi 3A+
    6 projects | /r/rust | 27 Jan 2023
    But I would definitely avoid compiling Rust on the Raspberry Pi 3 if you can avoid it. I set up a Docker cross-compile environment for this reason.
  • Self Hosted CCTV/Home Security
    2 projects | /r/selfhosted | 11 Jan 2023
  • NVR Suggestions & Experience...Any decent alternatives for MotionEye?
    5 projects | /r/selfhosted | 19 Dec 2022
    Moonfire may be what you're looking for otherwise.
  • What's everyone working on this week (50/2022)?
    6 projects | /r/rust | 12 Dec 2022
    That last bit's not quite true: another option is to just use the cameras as a dumb stream source and do all the fanciness in an open source NVR. I've been slowly working on moonfire-nvr. Help welcome!
  • surveillance station
    5 projects | /r/selfhosted | 28 Nov 2022
    Moonfire

What are some alternatives?

When comparing orval and moonfire-nvr you can also consider the following projects:

openapi-typescript-codegen - NodeJS library that generates Typescript or Javascript clients based on the OpenAPI specification

Shinobi - :peace_symbol: :palestinian_territories: Shinobi CE - The Free Open Source CCTV platform written in Node.JS (Camera Recorder - Security Surveillance Software - Restreamer

jest-mock-extended - Type safe mocking extensions for Jest https://www.npmjs.com/package/jest-mock-extended

frigate - NVR with realtime local object detection for IP cameras

react-query-auth - ⚛️ Authenticate your react applications easily with react-query.

motioneyeos - A Video Surveillance OS For Single-board Computers

rtk-query - Data fetching and caching addon for Redux Toolkit

viseron - Self-hosted, local only NVR and AI Computer Vision software. With features such as object detection, motion detection, face recognition and more, it gives you the power to keep an eye on your home, office or any other place you want to monitor.

NSwag - The Swagger/OpenAPI toolchain for .NET, ASP.NET Core and TypeScript.

jupyter-rust - a docker container for jupyter notebooks for rust

graphql-code-generator - A tool for generating code based on a GraphQL schema and GraphQL operations (query/mutation/subscription), with flexible support for custom plugins.

neolink - An RTSP bridge to Reolink IP cameras