Coder Social home page Coder Social logo

ipapk-server's Introduction

简介

IPA、APK内测应用分发服务,纯 golang 开发

支持

  • Linux
  • Mac OSX

编译

go get github.com/phinexdaz/ipapk-server
# for linux
make linux
# for mac
make darwin

用法

配置文件

{
  "host": "127.0.0.1",
  "port": "8080",
  "proxy": "http://127.0.0.1:8080"  // 自签证书不需要此项配置
}

SSL 证书

该项目会自动生成自签名HTTPS证书,需要手动安装、信任

iOS 安装、信任证书

  1. 点击安装证书
  2. 设置 > 通用 > 关于 > 证书信任设置 > 对需要的证书启用完全信任

使用商业证书

  1. 在项目根目录新建.ca目录并拷贝cerkey文件到此目录
  2. config.json文件中配置proxy值为证书域名
.ca
├── mycert1.cer
└── mycert1.key

开启服务

$ ./ipapk-server

上传

path:

POST /upload

param:

package:安装包文件, reqiured
changelog:ChangeLog, 仅支持\n换行, optional

response:

{
    "uid": "820e8c1b-954a-4489-8d6c-7ea2c47d1ec1",
    "name": "xxxxxxx",
    "platform": "ios",
    "bundleId": "com.xxxxxx",
    "version": "1.0.0",
    "build": "100",
    "install_url": "itms-services://?action=download-manifest&url=https://127.0.0.1:8080/plist/820e8c1b-954a-4489-8d6c-7ea2c47d1ec1",
    "qrcode_url": "https://127.0.0.1:8080/qrcode/820e8c1b-954a-4489-8d6c-7ea2c47d1ec1",
    "icon_url": "https://127.0.0.1:8080/icon/820e8c1b-954a-4489-8d6c-7ea2c47d1ec1",
    "downloads": 0
}

示例:

curl -X POST https://127.0.0.1:8080/upload -F "[email protected]" -F "changelog=123" --insecure

截图

s1

ipapk-server's People

Contributors

kiethen 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

Watchers

 avatar  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.