supertokens-golang
nextui
supertokens-golang | nextui | |
---|---|---|
2 | 47 | |
102 | 19,437 | |
2.9% | 2.8% | |
9.0 | 9.7 | |
3 days ago | 1 day 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).
nextui
-
Best FrontEnd & New ReUsable Component Libraries For React JS 2024.
NextUI
-
Astro.js as an alternative to Next.js: pushing the limits
Something like NextUI would work, i.e. a “New Gen” UI framework. It’s Tailwind based AND it works in both .astro and .tsx files. Amazing!
-
React Component Libraries
Official Website: https://nextui.org/
-
Building Infinite Animated Scroll for React components
NOTE: NextUI cards are used here to aid with UX.
-
5 UI component libraries to build custom apps in 2024
Next js+ Next UI
- Shadcn: Beautifully designed components that you can copy-paste into your apps
-
Top React Component UI Libraries to Enhance Your Web Development Projects
Next UI stands out as an elegant, swift, and contemporary React UI library. Offering a user-friendly approach to theme customization, it simplifies the process of adjusting colors, fonts, breakpoints, and more. Its performance is enhanced by minimizing unnecessary style props at runtime, setting it apart from other UI libraries.
-
9 React component libraries for efficient development in 2023
GitHub stars: 16.3k GitHub link: https://github.com/nextui-org/nextui Documentation: https://nextui.org/docs/guide/introduction
-
Accessibility and Headless UI Libraries - Adobe, Radix, Tailwind, MUI
NextUI - 3rd party minimally styled component library built with React ARIA
-
An Overview of 25+ UI Component Libraries in 2023
NextUI: Not to be confused with the React meta-framework, Next.js, this library is built on top of Tailwind CSS, and claims to have a minimal learning curve. Themes are handled by your tailwind.config.js file, a11y out of the box, and there’s dark theme support for all components. Overriding styles is done just by putting in different Tailwind class names.
What are some alternatives?
react-buddy-react - A declarative, efficient, and flexible JavaScript library for building user interfaces.
shadcn/ui - Beautifully designed components that you can copy and paste into your apps. Accessible. Customizable. Open Source.
supertokens-react-native - React Native SDK for SuperTokens
Material UI - Ready-to-use foundational React components, free forever. It includes Material UI, which implements Google's Material Design.
supertokens-web-js - SuperTokens SDK for vanilla JS for all recipes
daisyui - 🌼 🌼 🌼 🌼 🌼 The most popular, free and open-source Tailwind CSS component library
supertokens-auth-react - ReactJS authentication module for SuperTokens
Tailwind CSS - A utility-first CSS framework for rapid UI development.
supertokens-python - Python SDK for SuperTokens
chakra-ui - ⚡️ Simple, Modular & Accessible UI Components for your React Applications
Visual Studio Code - Visual Studio Code
antd - An enterprise-class UI design language and React UI library