Giter Site home page Giter Site logo

vicanso / cyberapi Goto Github PK

View Code? Open in Web Editor NEW
291.0 5.0 34.0 6.69 MB

API tool based on tauri, it is smaller and faster.

License: Apache License 2.0

HTML 1.81% Rust 54.08% TypeScript 42.75% Makefile 0.13% CSS 0.31% JavaScript 0.91%
api rest-api tauri api-client

cyberapi's Introduction

Cyber API

test library License donwnload

cyberapi

CyberAPI is API tool based on tauri.

English|简体中文|Українська

Features

  • Support macos, windows and linux platforms, the installation package is below 10MB
  • Thousands of interfaces for a single project are opened in seconds, with low memory usage
  • Support dark/light theme and chinese/english/ukrainian
  • Operation and configuration is simple
  • Support importing configuration from postman, insonmia or swagger.
  • The configuration can be exported by interface, function and project, which is convenient for sharing
  • Support many custom functions

cyberapi

Installation

The installer can be downloaded through release, including windows, macos and linux versions.

Windows may need to install webview2.

macos

If you can't open it after installation, exec the following command then reopen:
sudo xattr -rd com.apple.quarantine /Applications/CyberAPI.app

Development

The project depends on rust and Nodejs. If you want to compile or participate in the development yourself, you can first install the dependencies of tauri by referring to the relevant documents here, and then :

yarn

Install tauri-cli:

cargo install tauri-cli

Running in browser mode, the data is mock:

yarn dev

Running in app mode:

make dev

Build the release package:

make build

cyberapi's People

Contributors

progzone122 avatar vicanso avatar youaodu 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

cyberapi's Issues

页面优化问题有空可以看下

image

版本号:0.1.19
优化点:
1.url的输入框,不要根据英文单词分词换行
2. 当url过长,并且失去焦点时,url可以缩在一行中。当获得焦点时,过长的字符展示出来,并且不会改变页面布局
3. vscode的插件的滚动条和程序设计的滚动条发生重合。
4. vscode的代码预览的长块,建议可以去除,或者做成配置可以调整

第二点的参考
image

设置的Header不生效问题

软件版本:v0.1.20,v0.1.19
操作系统:win10企业版
CPU:intel I5
问题:我在Header中设置了一个值,软件刚打开第一次发送请求,这个header有携带。但是后续的请求不携带。
image

返回JSON结果格式化失败问题

版本号V0.1.4 for windows zh-CN

返回的JSON结果未被正确格式化
Snipaste_2022-12-20_22-18-19

另外在MAC版上,如果返回的数据结果比较复杂,也会出现这个情况,应该是特殊符号转义有问题

期望:能正确格式化JSON结果,展现为树形结构

跨域问题的处理方法?

这个应用应该是web方式运行的,使用tauri打包,和 http://hoppscotch.io/ (postwoman前身)相同的技术吧,那是怎么解决HTTP(s) API的跨域问题的呢?

hoppscotch 是使用http代理(官方 https://github.com/hoppscotch/proxyscotch 或自己搭建的)或者Browser Extension方式实现跨域的。

我自己也使用tauri封装了一下hoppscotch,跨域是通过tauri的http原生模块实现的。https://github.com/liudonghua123/hoppscotch-app

cyberapi.app website not working

изображение

Connection attempt failed

An error occurred while connecting to cyberapi.app.

The site may be temporarily unavailable or overloaded with requests. Wait a while and try again.
If you cannot load a single page, check your Internet connection settings.
If your computer or network is protected by a firewall or proxy server, make sure Firefox is allowed to access the Internet.

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.