serverless-ai-fitness
client-sdk-javascript
serverless-ai-fitness | client-sdk-javascript | |
---|---|---|
7 | 4 | |
131 | 50 | |
- | - | |
7.3 | 9.7 | |
8 months ago | about 10 hours ago | |
JavaScript | TypeScript | |
MIT License | Apache License 2.0 |
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.
serverless-ai-fitness
-
How to Process Stripe Subscriptions In Your Serverless Apps
In my fitness app, premium users get access to custom workouts generated by OpenAI. In my Step Function workflow that creates weekly workout schedules, I check the subscription level of every user and add a logic branch based on their subscription level. If they are a free user, the workflow will pull from a cache of existing workouts. If they are premium, then their data is passed to OpenAI to build the custom workouts.
-
Solo SaaS - How I Built a Serverless Workout App By Myself
I'll continue iterating on this design. The next big milestone is lifting this to its own domain and putting it behind a subscription model (it is SaaS, after all). But right now, you can access it and use it for free at fitness.readysetcloud.io or you can check out the source code on GitHub.
-
Build AWS Serverless Scheduled Tasks with Amazon EventBridge and CDK
An AWS Serverless Hero, Allen Helton, did just that and wrote a detailed post about it.
-
The Serverless Toolbox - Tools To Build Serverless Apps Easier
If you want to see an implementation of this function, you can see it in my serverless-ai-fitness project. It is used in a Step Function workflow to build a workout with the equipment I have available in my home gym. It also creates a warmup and cooldown specifically for the generated workout.
-
My ChatGPT Workout Generator Just Got Better
This is open-source! If any of it excites you and you want to contribute, please check it out on GitHub! Feel free to fork it or open up a pull request.
-
Automate Your Life and Save Time By Going Serverless
So I added an EventBridge rule to the function and now I can send an email with a simple call to PutEvents. Here's an example taken from a Step Function workflow definition in my workout generator.
-
ChatGPT Is My New Personal Trainer
I am thrilled to take "workout building" off my plate. It's something I've enjoyed for a long time but I'm ready to have someone else do it for me. This was a fun project to build and I hope you take it and run with it. It's fully open-source and available for a PR!
client-sdk-javascript
-
How to build a question answering system in Node.js with a vector index and OpenAI
Next, we have to install the necessary packages. For TypeScript, we use @gomomento/sdk and openai.
-
Why are WebSockets so hard?
Looking for examples? Check out this fully functional chat application built with Topics in Next.js. You can also try our work-in-progress game Acorn Hunt, built on both Momento Cache and Topics.
-
My ChatGPT Workout Generator Just Got Better
The introduction of the chat concept was intriguing. I had originally incorporated my ChatGPT function in a Step Function workflow, which has a relatively low maximum data size. So passing around a collection of questions and answers between states didn't seem like a great idea. With this in mind, I decided to store the conversation history in a cache using the Node.js Momento cache client.
-
Serverless Lessons - Location Is Everything!
To run the experiment, I used the Node.js Momento SDK to get and set color-hex combinations in a cache. The Momento SDK allows you to provide an auth token targeted at a specific region, so I ran a set of 1,000 API calls in the following regions.
What are some alternatives?
serverless-toolbox - Set of tools you can use for your serverless projects
lisk-sdk - 🔩 Lisk software development kit
sendgrid-nodejs - The Official Twilio SendGrid Led, Community Driven Node.js API Library
wing - A programming language for the cloud ☁️ A unified programming model, combining infrastructure and runtime code into one language ⚡
serverless-newsletter-app - Open Source project that uses SendGrid to publish newsletters via a dynamic template
blog-crossposting-automation
serverless-api-key-registration - Serverless API to register for an API key for an existing API
aws-cdk-rfcs - RFCs for the AWS CDK
serverless-patterns - Serverless patterns. Learn more at the website: https://serverlessland.com/patterns.
liboai - A C++17 library to access the entire OpenAI API.
serverless-load-testing - Perform load testing with a serverless solution running newman
Stripe - PHP library for the Stripe API.