Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add SDK support for Linux / Vapor #90

Open
andrewheard opened this issue Jan 15, 2024 · 6 comments
Open

Add SDK support for Linux / Vapor #90

andrewheard opened this issue Jan 15, 2024 · 6 comments
Labels
component:swift sdk Issue/PR related to Swift SDK status:triaged Issue/PR triaged to the corresponding sub-team type:feature request New feature/request/enhancement

Comments

@andrewheard
Copy link
Collaborator

Description of the feature request:

The ability to use the SDK in a server-side Swift environment, such as Vapor, typically on Linux.

What problem are you trying to solve with this feature?

No response

Any other information you'd like to share?

No response

@andrewheard andrewheard added component:swift sdk Issue/PR related to Swift SDK type:feature request New feature/request/enhancement labels Jan 15, 2024
@singhniraj08 singhniraj08 added the status:triaged Issue/PR triaged to the corresponding sub-team label Mar 7, 2024
@paulb777
Copy link
Collaborator

paulb777 commented Mar 7, 2024

This is not a currently prioritized feature request, but will continue to evaluate.

Please indicate interest with a thumbs-up vote on the issue.

@paulb777 paulb777 removed their assignment Mar 7, 2024
@KotlinFactory
Copy link

yeah please add it

@idttm
Copy link

idttm commented Jun 12, 2024

Please God, please add this.

@KotlinFactory
Copy link

yeah i mean seriously

@mpdifran
Copy link

Really surprised this is not the first platform supported for this project.

@atacan
Copy link

atacan commented Feb 27, 2025

To work on Linux, I generated the code from the proto files but not sure how to configure the host, port, api key etc. Does anyone have any idea how to make the request in gRPC?

Here is the sample code in the test target:

https://github.com/atacan/swift-googleapis/blob/main/Tests/GenerativeLanguageTests/GenerativeLanguageTests.swift

Currently it gives

Caught error: unavailable: "Channel isn't ready."

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:swift sdk Issue/PR related to Swift SDK status:triaged Issue/PR triaged to the corresponding sub-team type:feature request New feature/request/enhancement
Projects
None yet
Development

No branches or pull requests

7 participants