Coder Social home page Coder Social logo

alibaba / ribut Goto Github PK

View Code? Open in Web Editor NEW
61.0 6.0 14.0 287.49 MB

可视化调试架构是阿里巴巴优酷技术团队研发的一套端到端的研发提效解决方案

License: MIT License

Java 69.12% Ruby 0.12% Objective-C 30.76%
ios objective-c android debug tool network mock sandbox plugin

ribut's Introduction

可视化调试架构

可视化调试架构是阿里巴巴优酷技术团队研发的一套端到端的研发提效解决方案,除了客户端SDK之外,还提供了配套了Mac和Windows版本的RibutApp,支持网络抓包、网络Mock、沙盒浏览,自定义插件扩展,RibutApp的目标是通过工具化手段,切实帮助广大研发同学解决日常痛点问题

可视化调试功能演示

可视化架构演示

功能简介

  1. 网络抓包:拥有PC端可视化界面展示、无需配置代理,零操作成本抓包。

  2. 网络Mock:便捷Mock工具,在PC可视化界面操作,一键Mock,易操作。

  3. 沙盒目录浏览:一键查看沙盒目录,可以把沙盒目录的数据快速导入到电脑上。

  4. 动态配置能力:易扩展,业务可根据自身业务,快速接入Ribut,在PC端展示自己的业务数据

文档

可视化调试架构接入文档

安装App工具

  1. 找到RibutApp目录
  2. Mac找到Ribut-3.0.0-mac.z01文件解压安装,Windows找到Ribut-3.0.0-windows.z01文件解压安装

接入

版本要求

iOS 9.0及以上

Android 7.0版本及以上

接入

iOS

pod  'AliRibutSDK'  

推荐更新使用最新版本Ribut,现最新版本:1.0.4.2。

Android

implementation project(':RibutSDK')

推荐直接使用源码依赖

Get Started

建立连接

  • Ribut通过扫码建立连接,必须依赖扫码库

  • 通过解析扫码内容,获取Ribut的iP和端口号建立链路

    • 扫码内容:ribut://ribut?url=ws%3A%2F%2F30.77.74.203%3A5622,ribut做了ip端口号encode
  • 发送通知建立连接

    • 字典数据结构:url不需要decode,内部会自动decode,直接作为通知参数即可
    • params = {"url":"ws%3A%2F%2F30.77.74.203%3A5622"}
  • 建立连接代码

    • iOS

       [[NSNotificationCenter defaultCenter] postNotificationName:AliRibutConnectNotification object:nil userInfo:params];
    • Android

      //建立连接
      AliRibutManager.getInstance().connectWithUrl(url, MainActivity.this);

​ 更多参见Demo工程。

运行Demo

iOS

clone后在工程目录'pod update',完成后即可打开demo workspace运行。

Android

clone后用AndroidStudio导入RibutAndroidDemo可运行

作者

微笑、棋纬

许可证

AliRibutSDK is a Tool developed by Alibaba and licensed under the Apache License (Version 2.0) This product contains various third-party components under other open source licenses.

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.