supertokens-golang
Visual Studio Code
supertokens-golang | Visual Studio Code | |
---|---|---|
2 | 2,850 | |
102 | 158,564 | |
2.9% | 0.8% | |
9.0 | 10.0 | |
3 days ago | 2 days ago | |
Go | TypeScript | |
GNU General Public License v3.0 or later | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
supertokens-golang
-
Looking for help with transpiling TypeScript to Golang and Python using LLMs
The problem
I am looking for a service or effective technique using which I can get quick and reliable translation of our Node SDK (https://github.com/supertokens/supertokens-node) applied to our Python (https://github.com/supertokens/supertokens-python) and Golang (https://github.com/supertokens/supertokens-golang) SDK.
Our SDKs are not just wrappers around an OpenAPI spec, so we can’t use existing tools to auto generate our backend SDK. Or even if we did, that would only generate a very tiny percentage of our SDK. Other than being API wrappers, our SDKs:
- Provide several overridable functions for users to hook into.
- Manage reading from the request and writing to the response objects of various web frameworks of these languages.
- Expose APIs to via a middleware (that again integrates into various web frameworks). Each API has a lot of logic that includes input checking, business logic of that API, calling various other APIs to do actions like send emails, and finally writing an output JSON.
Currently, we are hand writing each of these SDKs, and as you may imagine, it is very expensive. As a result, we have the Node SDK (which is our most used one) far ahead in terms of features compared to our other two SDKs.
As an example of the set of changes that need to be replicated in the other SDKs, have a look at this PR: https://github.com/supertokens/supertokens-node/pull/670/files (many of the files are build files which can be ignored, but even then, it’s 200+ files changed, a large chunk of which are adding tests).
What I have already tried
I have primarily played around with GPT-4 with different types of prompts for simpler PR changes (for example this PR: https://github.com/supertokens/supertokens-node/pull/782/files).
For the TS code changes, I tried a prompt that gave the raw git diff of the node PR and the contents of the python function in which the changes are to be applied, and then asked to generate python snippet with the changes, and the output was quite accurate.
For test case changes, I gave the existing python test file and added it to ask new test cases based on the diff, and that went quite well too (though not at all perfect - i had a bunch of false imports, or made up function names, but 90% of it was good).
This, of course, is a very simple PR, and it would have taken me lesser time to do it by hand than try with the prompts, but I wonder if there is a way to scale this to make it work (even if it’s 50-60% correct).
My ask
If anyone has experience with working with LLMs for this or a similar purpose, or if there is a service out there which can help me with this, I would love to be connected. You can email me on [email protected].
Thank you!
-
Using SuperTokens for authentication in Next.js
For backend integration, SDKs are currently available for the following: Golang, Python, and Node.js. Meanwhile, for the frontend, it is available with React.js, React Native, and Vanilla JS (Vue/ Angular/ JS).
Visual Studio Code
-
How to Handle File Uploads with ASP.NET Core
An IDE or text editor; we'll use Visual Studio 2022 for this tutorial, but a lightweight IDE such as Visual Studio Code will work just as well
-
How to Scrape Google Finance
Choosing IDE: Selecting the right Integrated Development Environment (IDE) can make your coding experience smoother. Consider popular options like as PyCharm, Visual Studio Code, or Jupyter Notebook. Install your preferred IDE and configure it to work with Python.
-
Tools that keep me productive
It all starts with the editor. Visual Studio Code (VS Code) is my go-to editor. I was using the Insider’s Edition for the longest time, but some extensions would try to log in and redirect to VS Code regular edition, so I decided to go back to it. That said, VS Code Insider's is very stable.
-
Developing a Generic Streamlit UI to Test Amazon Bedrock Agents
Meanwhile, a developer workflow that does not require access to AWS Management Console may provide a better experience. As a developer, I appreciate having an integrated development environment (IDE) such as Visual Studio Code where I can code, deploy, and test in one place.
-
How to make ESLint and Prettier work together? 🛠️
Good to know: If you're a Visual Studio Code user, you can enhance your coding experience by installing the ESLint and Prettier extensions. These extensions provide real-time error and warning highlighting, as well as automatic formatting and code fixing on save.
-
Create a simple Server using Express.js.
Download any code editor e.g. VS code. Visual Studio code which is a code editor with support for development operations like debugging, task running, and version control. Go to https://code.visualstudio.com
-
How to Add Firebase Authentication To Your NodeJS App
A code editor (VS Code is my go-to IDE), but feel free to use any code editor you're comfortable with.
-
Create a Chat App With Node.js
First, grab your favorite command-line tool, Terminal or Warp, and a code editor, preferably VS Code and let’s begin.
-
Asynchronous Programming in C#
C# is very good as a language, have developed in it for 5+ years. The problem is the gap between what MSFT promises to management and actually delivers to developers. You really really need to fully read the fine print, think of the omissions in documentation and implement a proof-of-concept that almost implements the full solution to find out the hidden gotchas.
For example, even probably their best product VS Code only got reasonable multiple screens support last year: https://github.com/microsoft/vscode/issues/10121#issuecommen...
And then, on the other end of the spectrum, you have Teams.
-
8 Essential VS Code Extensions [2024]
Hey fellow amazing developers, we got you Essential VS Code Extensions for 2024 (these are especially important for web developers) recommended by our developers at evotik, we wont talk about ESlint nor Prettier which all of you already know.
What are some alternatives?
react-buddy-react - A declarative, efficient, and flexible JavaScript library for building user interfaces.
thonny - Python IDE for beginners
supertokens-react-native - React Native SDK for SuperTokens
reactide - Reactide is the first dedicated IDE for React web application development.
supertokens-web-js - SuperTokens SDK for vanilla JS for all recipes
Spyder - Official repository for Spyder - The Scientific Python Development Environment
supertokens-auth-react - ReactJS authentication module for SuperTokens
doom-emacs - An Emacs framework for the stubborn martian hacker [Moved to: https://github.com/doomemacs/doomemacs]
supertokens-python - Python SDK for SuperTokens
KDevelop - Cross-platform IDE for C, C++, Python, QML/JavaScript and PHP
SuperTokens Community - Open source alternative to Auth0 / Firebase Auth / AWS Cognito
vscodium - binary releases of VS Code without MS branding/telemetry/licensing