[GH-ISSUE #2989] [Feature Request] C library and/or protocol description #2387

Closed
opened 2026-05-05 13:32:15 -06:00 by gitea-mirror · 3 comments
Owner

Originally created by @mickeyl on GitHub (Jun 21, 2022).
Original GitHub issue: https://github.com/fatedier/frp/issues/2989

Describe the feature request

I'd like to directly connect to frps from platforms where I can't install frpc, e.g. iOS and/or microcontrollers, such as the ESP32 family of devices. For that I wonder whether a C library and/or a protocol description would be feasible, so that we could write our own clients that talk to frps.

Describe alternatives you've considered

There are no alternatives, I can't install frpc on iOS or microcontrollers.

Affected area

  • Docs
  • Installation
  • Performance and Scalability
  • Security
  • User Experience
  • Test and Release
  • Developer Infrastructure
  • Client Plugin
  • Server Plugin
  • Extensions
  • Others
Originally created by @mickeyl on GitHub (Jun 21, 2022). Original GitHub issue: https://github.com/fatedier/frp/issues/2989 ### Describe the feature request I'd like to directly connect to `frps` from platforms where I can't install `frpc`, e.g. iOS and/or microcontrollers, such as the ESP32 family of devices. For that I wonder whether a C library and/or a protocol description would be feasible, so that we could write our own clients that talk to `frps`. ### Describe alternatives you've considered There are no alternatives, I can't install `frpc` on iOS or microcontrollers. ### Affected area - [X] Docs - [ ] Installation - [ ] Performance and Scalability - [ ] Security - [ ] User Experience - [ ] Test and Release - [ ] Developer Infrastructure - [ ] Client Plugin - [ ] Server Plugin - [X] Extensions - [ ] Others
gitea-mirror 2026-05-05 13:32:15 -06:00
Author
Owner

@fatedier commented on GitHub (Jun 21, 2022):

Maybe you can try to build it by tinygo

<!-- gh-comment-id:1161497658 --> @fatedier commented on GitHub (Jun 21, 2022): Maybe you can try to build it by [tinygo](https://tinygo.org/)
Author
Owner

@github-actions[bot] commented on GitHub (Jul 22, 2022):

Issues go stale after 30d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.

<!-- gh-comment-id:1192060653 --> @github-actions[bot] commented on GitHub (Jul 22, 2022): Issues go stale after 30d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.
Author
Owner

@Bellegar commented on GitHub (May 25, 2023):

I was searching for frp library build and found several github repos.
I merged v0.48.0 and @HaidyCao projects of mobile library and desktop library how much I understood Go into https://github.com/Bellegar/frp_lib. Prebuild libs for windows (shared) and android (aar) stored in release.
For direct iOS testing, https://github.com/HaidyCao/libfrp/releases provides prebuild libs of v0.42.0 version for ios and android.
But my frp library project (strictly speaking the interface of the HaidyCao libfrp version) is not so optimised for using as library, but it works correctly for stcp from windows as visitor to android.
Did not touch tinygo.

<!-- gh-comment-id:1563214660 --> @Bellegar commented on GitHub (May 25, 2023): I was searching for frp library build and found several github repos. I merged v0.48.0 and @HaidyCao projects of mobile library and desktop library how much I understood Go into https://github.com/Bellegar/frp_lib. Prebuild libs for windows (shared) and android (aar) stored in release. For direct iOS testing, https://github.com/HaidyCao/libfrp/releases provides prebuild libs of v0.42.0 version for ios and android. But my frp library project (strictly speaking the interface of the HaidyCao libfrp version) is not so optimised for using as library, but it works correctly for stcp from windows as visitor to android. Did not touch tinygo.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/frp#2387
No description provided.