Giter Site home page Giter Site logo

prashanth1k / kanapi Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 356 KB

A simple API client written in Go/Wails and Svelte.

Go 10.26% NSIS 26.73% HTML 0.56% JavaScript 13.78% Svelte 32.37% CSS 10.45% TypeScript 5.86%
desktop-app flowbite flowbite-svelte golang rest-api svelte wails wails-app wails-svelte

kanapi's Introduction

README

kanapi is work in progress.

About

kanapi is a simple & light-weight API client written in Go/Wails and svelte.

Features

  • Simple API client to call REST APIs
  • Show response in JSON format and the response headers
  • Support for Dark mode!

On the todo list:

  • Auth and header to be implemented
  • Save API request history. Planned to be Git friendly
  • Make keyboard friendly
  • Add ability to run entire folders/collections

Installation

Ensure you have go and node installed. Clone this repo.

git clone https://github.com/prashanth1k/kanapi
cd kanapi/frontend
npm i
cd ..

Live Development

To run in live development mode, run wails dev in the project directory. This will run a Vite development server that will provide very fast hot reload of your frontend changes. If you want to develop in a browser and have access to your Go methods, there is also a dev server that runs on http://localhost:34115. Connect to this in your browser, and you can call your Go code from devtools.

Building

To build a redistributable, production mode package, use wails build.

Why do this?

Yet another experiment with Golang + Wails + a webview that enables faster frontend development. This was a joy to write.

Additionally -

  1. The program is native to the OS - thanks to Go. Is lightweight - takes < 50 MB RAM to run
  2. Fast to execute

License

MIT

kanapi's People

Contributors

prashanth1k avatar

Watchers

 avatar

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.