CleoMenezesJr / escambo

Escambo is an HTTP-based APIs test application for GNOME
https://flathub.org/apps/io.github.cleomenezesjr.Escambo
GNU General Public License v3.0
142 stars 10 forks source link

Feature: Tool to convert cURL to Escambo #33

Open CleoMenezesJr opened 1 year ago

CleoMenezesJr commented 1 year ago

Basically, pasting a cURL command into a text area will automatically autofill corresponding fields.

lindolo25 commented 1 year ago

Hello @CleoMenezesJr, I will like to contribute with this feature. I already have a half working prototype. I still learning about the project's code and python in general (no previous experience working with it). I came across this project because I needed to test some APIs. not being able to import the cURL was a drawback.

Some screenshots of what I have so far image image

CleoMenezesJr commented 1 year ago

Thank you very much. Looks like it's going in a good way. I'll be looking forward to the PR. I'm currently working on rewriting the interface.

image

lindolo25 commented 1 year ago

Hi @CleoMenezesJr , nice changes! I may have some conflict then. I guess the redesign will potentially change the window.py class implementation. I'm using the population functionality there to write the imported data into the config files and the UI fields as well. making it all reusable for the init and the change detection.

CleoMenezesJr commented 1 year ago

All right. Let's merge with patience. Once I'm done, I'll help you to merge it.

lindolo25 commented 1 year ago

Hello @CleoMenezesJr, I just wanted to let you know I have some progress regarding this feature. so far I can import URL, method, authorization and headers. if you like to checkout the progress, yo can take a look here https://github.com/lindolo25/escambo/tree/feature/curl-import

Also I will like to ask you about your setup for this project. I'm new to building native apps for linux, flatpack and meson. What tools and editor will you recommend? my issue now is that I will like to install a package, but so far, I had no luck figuring it out.

Thanks!

lindolo25 commented 5 months ago

Hi @CleoMenezesJr, I just notice a new branch that completely redesigns the UI for Escambo. I guess it will take you some time to implement it. Is up to you if you will like to merge this feature for the current version while escambo-next is in progress. I will be available to update this feature once you are ready to publish escambo-next

on regards to escambo-next, let me know if you will like some help building it.

King regards,