Apache License 2.0

项目介绍

androidPluto/pluto 是一个托管在 GitHub 上的开源项目,主要使用 Kotlin 编写,采用 Apache License 2.0 许可证,目前获得 700 个 Star、67 次 Fork。

仓库全名
androidPluto/pluto
开源许可证
Apache License 2.0
Star 数
700
Fork 数
67
未关闭 Issue
24

README 摘要

Android Pluto Pluto is an on-device debugging framework for Android applications, which helps in the inspection of HTTP requests/responses, captures Crashes, and ANRs, and manipulates application data on the go. It comes with a UI to monitor and share the information, as well as APIs to access and use that information in your application. 🖇  Integrate Pluto in your application Add Gradle Dependencies Pluto is…

完整内容见 GitHub 原始 README 或本页 。

常见问题

pluto 用什么语言开发?

主要使用 Kotlin 编写,采用 Apache License 2.0 许可证,目前有 700 个 Star。

pluto 可以免费商用吗?

仓库采用 Apache License 2.0 许可证,可免费使用与修改,商业使用请遵守许可证条款(例如保留版权声明与许可声明)。

如何获取 pluto 的源码?

可以直接克隆仓库:git clone https://github.com/androidPluto/pluto.git,默认分支为 develop;安装与运行步骤见仓库 README。

pluto 最近还在维护吗?

仓库最近一次更新为 5月2日,当前有 24 个未关闭 Issue;Star 数为 700,可作为社区活跃度的参考。

关于

GitHub 原始描述(英文)

Android Pluto is a on-device debugging framework for Android applications, which helps intercept Network calls, capture Crashes & ANRs, manipulate application data on-the-go, and much more.

描述取自 GitHub 官方 API,保持仓库作者书写的原文。

语言占比

Kotlin
Shell

Release

README

Android Pluto

Maven Central CLA assistant Daily Builds

Pluto is an on-device debugging framework for Android applications, which helps in the inspection of HTTP requests/responses, captures Crashes, and ANRs, and manipulates application data on the go.

It comes with a UI to monitor and share the information, as well as APIs to access and use that information in your application.


🖇  Integrate Pluto in your application

Add Gradle Dependencies

Pluto is distributed through mavenCentral. To use it, you need to add the following Gradle dependency to your build.gradle file of your app module.

Note: add both the pluto and the pluto-no-op variant to isolate Pluto from release builds.

dependencies {
  ....
  debugImplementation 'com.plutolib:pluto:2.1.3'
  releaseImplementation 'com.plutolib:pluto-no-op:2.1.3'
  ....
}

Initialize Pluto

Now to start using Pluto, initialize Pluto SDK from you application class by passing context to it.

Pluto.Installer(this)
  .addPlugin(....)
  .install()

Install plugins

Unlike version 1.x.x, Pluto now allows developers to add debuggers as plugin bundle or individual plugins based on their need.

Plugin bundle comes with all the basic plugins bundled together as single dependency.

dependencies {
  ....
  debugImplementation 'com.plutolib.plugins:bundle-core:2.1.3'
  releaseImplementation 'com.plutolib.plugins:bundle-core-no-op:2.1.3'
  ....
}

But, if you want to use individual plugins, here is the list of some plugins provided by us

We will be adding more to the list. So please stay tuned.
Please refer to their respective README for integration steps.

You can also help us expand the Pluto ecosystem now.
Pluto now allows to develop custom debuggers as plugin. Read Develop Custom Plugins.


🎉  You are all set!

Now re-build and run your app, you will receive a notification from Pluto, use it to access Pluto UI.


Grouping Plugins (Optional)

Pluto now allows to group similar plugins together to have better readability & categorization.
To create a group, we need to override PluginGroup & attach Plugins to it. (We have taken the example of grouping datasource plugins together)

class DataSourcePluginGroup : PluginGroup("datasource-group") {

    override fun getConfig() = PluginGroupConfiguration(
        name = "DataSource Group"
    )

    override fun getPlugins() = listOf(
        PlutoSharePreferencesPlugin(),
        PlutoDatastorePreferencesPlugin(),
        PlutoRoomsDatabasePlugin()
    )
}

Then add the group to Plugin installer.

Pluto.Installer(this)
  .addPluginGroup(DataSourcePluginGroup())
  .install()

📝  Contribution

We’re looking for contributors, help us improve Pluto. 😁

Please refer to your Contribution guidelines to get started.


Have an idea to improve Pluto? Let’s connect on


📃  License

Copyright 2021 Plutolib.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

评论

暂无评论