Analysis updated 2026-05-18
Add a share-to-WeChat button to an iOS app without the full WeChat SDK
Let users log into an iOS app using their WeChat account via OAuth
Accept payments through Alipay from within an iOS app
Add support for a new sharing platform using the plugin template
| 100apps/openshare | nst/runtimebrowser | syncthing/syncthing-macos | |
|---|---|---|---|
| Stars | 3,622 | 3,653 | 3,670 |
| Language | Objective-C | Objective-C | Objective-C |
| Setup difficulty | moderate | moderate | easy |
| Complexity | 2/5 | 3/5 | 1/5 |
| Audience | developer | developer | general |
Figures from each repo's GitHub metadata at analysis time.
Requires registering app IDs with each social platform before sharing works.
OpenShare is an iOS library for sharing content to Chinese social platforms, specifically WeChat, QQ, Sina Weibo, and Renren, without needing to include each platform's official SDK. The library is written in Objective-C and was built to solve a practical problem the author encountered during iOS development. The usual approach to sharing content from an iOS app to WeChat or QQ is to download and integrate the official SDK from each company. Those SDKs can be large, sometimes larger than the app itself, and they require following each vendor's specific integration steps. OpenShare sidesteps this by communicating directly with the installed app on the device using iOS's URL scheme system, which lets apps pass data to each other without going through an intermediate server or REST API. The library is intentionally small, covering only commonly used and general-purpose functionality. Integration through CocoaPods takes a single line. After registering your app IDs for each platform and adding a few lines to the app delegate, you can share text, images, or links to any supported platform using a consistent API. The response from the social app comes back as a callback block, so you handle success and failure in the same place you trigger the share, rather than dealing with platform-specific callback methods scattered across the app. Beyond sharing, OpenShare also supports OAuth login via WeChat and payment through Alipay. The design is plugin-based, so adding support for additional platforms means creating a category file using a provided template rather than modifying the core library. The library is distributed under the GPLv3 license. The README notes that Facebook and Twitter support was planned but not completed, and the author acknowledges that the inter-app communication protocols required some reverse-engineering since each vendor's implementation differs.
An Objective-C iOS library for sharing content to WeChat, QQ, Weibo, and Renren without integrating each platform's bulky official SDK.
Mainly Objective-C. The stack also includes Objective-C, iOS, CocoaPods.
GPLv3: you can use and modify the code, but any derivative work you distribute must also be open source under GPLv3.
Setup difficulty is rated moderate, with roughly 1h+ to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Verify against the repo before relying on details.