Coder Social home page Coder Social logo

recipeui / recipeui Goto Github PK

View Code? Open in Web Editor NEW
1.3K 1.3K 41.0 38.47 MB

Discover, test, and share APIs in seconds

Home Page: https://recipeui.com

License: GNU Affero General Public License v3.0

JavaScript 9.28% TypeScript 89.82% CSS 0.38% Rust 0.43% Shell 0.09%
devtools

recipeui's Introduction

RecipeUI

RecipeUI is rethinking how we use API tools like Postman or Insomnia. We're starting off with TypeScript powered API requests and API collections you can run in seconds!

Try us out www.recipeui.com

RecipeUI API Client

Built with

Couldn't have built this app without some really amazing packages

  • 🐻 Zustand + immer for global state management
  • πŸ’¨ Tailwind + 🌼 DaisyUI for making me build pretty and native html components
  • πŸ”Ί NextJS + Vercel for a seamless frontend framework and deployment package
  • ⚑ Supabase for a seamless backend service that has many cool features.
  • πŸͺž Codemirror for the easy code editor plugin
  • πŸ¦– Docusaurus for docs!
  • Other fun stuff: pnpm, downshift, fuse, react18-json-view

Contributing

Contributing code to our repo is as simple as building an API collection to share with the community! APIs are always a pain to deal with, so it'd be awesome if you could help other people use public or private APIs by building collections.

You will need to run our desktop app locally. https://docs.recipeui.com/docs/Contributing/setup

Then read our guide on contributing to our repo. https://docs.recipeui.com/docs/Contributing/collections

Open source

We are open sourced because we use so much open source technology and we want to be transparent about how we actually make API requests. We don't store any API secrets in the cloud and we limit the telemetry we collect to the user experience portions.

Contributors

Dave Tang
Dave Tang

πŸ€” πŸ“– πŸ§‘β€πŸ«
Julian Berman
Julian Berman

πŸ›
Rafael Revi
Rafael Revi

πŸ”Œ
Benny Neugebauer
Benny Neugebauer

πŸ›
0x80085
0x80085

πŸ€”
Niwilai
Niwilai

πŸ€”
Thomas Alrek
Thomas Alrek

πŸ€”
jinyus
jinyus

πŸ€”
Tim HΓ€ring
Tim HΓ€ring

πŸ’»
Ashish
Ashish

πŸ’»

recipeui's People

Contributors

allcontributors[bot] avatar ashishrout-tech avatar bennycode avatar jeanec avatar samuelsan avatar tim-goto avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

recipeui's Issues

Feature request: Add support for client certs

Many organizations authenticate internal APIs with a PKI. This translates, in API usage, into authentication with client certificates. Option --cert or -E in curl. This is the only major block for me to migrate away from Postman.

Add Scope input field for OAUTH2.0

Can you elaborate on why the 'Scope' field is missing / not present when using "Client Credentials" for OAUTH2.0?

image

The error message I get in the console:

image

Thanks in advance!

Import from Insomnia

Currently choosing a an alternative to Insomnia and decided to try RecipeUI but there doesn't seem to be a way to import a local Insomnia file.

Load collection from OpenAPI json spec

It was suprising to find out that I can't create a collection from an existing, deployed OpenAPI spec.

How it could/should work:

  • I can "create a collection from existing OpenAPI spec" by pasting the link to the specification's JSON
  • the collection is automatically updated with new/modified endpoints whenever the underlying OpenAPI JSON is internally updated
  • the types are inferred from the OpenAPI JSON

Support for WS

web sockets are widely used, would be happy to get its support in RecipeUI

Flathub release

I use Postman from Flathub currently, would love to see RecipeUI available as a Flatpak also.

Respect Content-Type header for request body

Currently the request body is sent in raw JSON form, regardless of the Content-Type header.
i.e. if I set it to application/x-www-form-urlencoded, I would expect the body to be sent in an encoded key-value format.

Feature request: Support plain text body

I have to support a few APIs that use plain text instead of JSON inside message bodies.
Currently I'm not able to move my test requests for them from Insomnia to RecipeIU. Would be great if I could.

Also it seems it to be genereally useful to be able to send arbitrary plain text, for it will instantly allow suppont of any non-json text message body format (XML, base64 соme to mind). Also should be pretty trivial to implement.

bug: Inconsistent Handling of Content-Type in Request Headers

When sending a request with the headers specifying content-type as either application/x-www-form-urlencoded or multipart/form-data, the backend always receives the request with the content-type set as multipart/form-data, and the body parsed as a FormData object. This behavior does not align with the expected behavior.

Steps to Reproduce:

  1. Set the content-type in the request header to application/x-www-form-urlencoded.
  2. Send a POST request to the API endpoint.

Expected Behavior:
The content-type specified in the request header (either application/x-www-form-urlencoded or multipart/form-data) should be preserved without automatic conversion. Additionally, the request body should be parsed according to the specified content-type header.

Actual Behavior:
The content-type in the request header changes to multipart/form-data, and the request body is parsed as a FormData object.

Found in:

  • App Version: v0.8.9
  • Environment: Windows 11

Auto-complete keyboard shortcut conflicts with default macOS Spotlight

The example type definition that's provided when creating a request says:

This will add auto-complete (CMD+SPACE) and validation!

CMD + space is the default hotkey for opening Spotlight search on macOS. Is there a way to remap the autocomplete shortcut?

The default example type definition:

// Define your request body with TypeScript.
// This will add auto-complete (CMD+SPACE) and validation!

export interface APIRequestParams {
  model: "gpt-3.5-turbo" | "gpt-4" | "gpt-3";
  messages: {
    role: "system" | "user";
    content: string;
  }[];
}

Self Host Web Client

Hello, I'd like to integrate RecipeUI into a Coder template, but for that, I'd need to use RecipeUI from a web browser. Is possible to self host RecipeUI Web? If so, how?

Feature Request: groups of global variables (Environment Variables)

It would be really helpful to have groups of global variables that can be switched between (ie. postman's Environments).

I'm not sure what your guys plan/thinking is behind copying features from postman, but it would be really helpful to have an equivalent feature in RecipeUI.

I'm happy to work on a pr

missing libssl.so when install via deb package on ubuntu 23.04

(base) ➜ sudo dpkg -i ~/Downloads/recipe-ui_0.7.2_amd64.deb 
Selecting previously unselected package recipe-ui.
(Reading database ... 477099 files and directories currently installed.)
Preparing to unpack .../recipe-ui_0.7.2_amd64.deb ...
Unpacking recipe-ui (0.7.2) ...
Setting up recipe-ui (0.7.2) ...
Processing triggers for bamfdaemon (0.5.6+22.04.20220217-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for mailcap (3.70+nmu1ubuntu1) ...
Processing triggers for gnome-menus (3.36.0-1.1ubuntu1) ...
Processing triggers for desktop-file-utils (0.26-1ubuntu5) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...

(base) ➜  recipe-ui
recipe-ui: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory

I tried to installed libssl related packages but it does not help.

E: Unable to locate package libssl1.1
E: Couldn't find any package by glob 'libssl1.1'

(base) ➜ sudo apt install libssl-dev

[sudo] password for cheng: 
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Suggested packages:
  libssl-doc
The following NEW packages will be installed:
  libssl-dev
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 2,377 kB of archives.
After this operation, 12.5 MB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu lunar-updates/main amd64 libssl-dev amd64 3.0.8-1ubuntu1.2 [2,377 kB]
Fetched 2,377 kB in 2s (1,064 kB/s)     
Selecting previously unselected package libssl-dev:amd64.
(Reading database ... 403345 files and directories currently installed.)
Preparing to unpack .../libssl-dev_3.0.8-1ubuntu1.2_amd64.deb ...
Unpacking libssl-dev:amd64 (3.0.8-1ubuntu1.2) ...
Setting up libssl-dev:amd64 (3.0.8-1ubuntu1.2) ...
(base) ➜  dongapi git:(master) sudo apt --fix-broken install

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
(base) ➜  recipe-ui 
recipe-ui: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory

Homepage has a broken button link

(Hi! Nice looking project!)

The homepage seems to have a button with a broken link. Specifically:

  • Go to https://home.recipeui.com/
  • Click "API Network" in the navbar
  • The "Check it out at RecipeUI" button doesn't lead anywhere (I guess from the button text it's meant to simply go to the RecipeUI homepage?)

"can't find variable: structuredClone"

I just downloaded the desktop app (mac, intel chip), and I'm getting an alert every time I attempt to make a request telling me "Can't find variable: structuredClone".

image

.zip / portable / user\appdata\local installation option

Are there plans for adding "install-less" version for users without local admin rights?
Current .msi does not seem to be passing UAC without admin credentials, presumably because it aims for ProgramFiles (?).

  • Preferably plain zip with single folder, with all future disk writes happening inside the same folder.
  • Or some kind of "portable" format (not very familiar with them).
  • Alternatively some installs falls back to installing into local user's data folder instead (seen most web browsers doing this), or use it from the start without even trying ProgramFiles.

Sorry if this question is silly or too niche. I just like having "movable" apps toolkit that it is possible to move around and adjust in relative isolation from the rest of the OS (Windows in this case).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.