跪拜 Guibai
← Back to the summary

A Solo Dev's WeChat Mini-Program Unifies Training Logs, Diet, and Body Data

Recently, I made a WeChat mini-program called "智形健身助手" (Smart Form Fitness Assistant). It started because during my own training, I always felt that training plans, exercise logs, diet, and body data were scattered across different places, and I wanted to put all of this into one handy tool.

It's still being continuously improved and isn't a mature product. I'm sharing it today mainly to show what's been built so far and to welcome feedback after you try it.

What you can do with it now

1. Arrange training plans

The mini-program includes some common split training plans and also supports creating your own. If you don't want to follow a plan strictly on a given day, you can enter free training and add exercises on the fly.

image.png

2. Log a complete training session

During training, you can record weight, reps, rest time, and session duration by exercise and set. After finishing, you can review the number of exercises, duration, and training log for that session.

If you've trained the same exercise before, the next session can reference recent records, reducing repetitive entry.

3. View training rhythm with a calendar

The training schedule displays monthly training arrangements, completed sessions, cardio, planned rest days, and missed sessions.

One thing I care about is that rest days shouldn't simply be counted as missed sessions. As long as it's a rest day arranged by the current plan, it should stay in your training rhythm rather than forcing daily training just to keep a streak.

image.png

4. Conveniently log cardio, diet, and body data

Besides strength training, you can also log cardio separately. The diet section lets you record daily meals and estimates calories and nutritional data based on food items and portions.

You can also record weight, body fat percentage, muscle mass, and body measurements to observe changes over time.

This data doesn't need to be scrutinized daily, but at least it lets you review training, diet, and body changes in one place.

image.png

5. Get training suggestions based on your situation

The mini-program also includes a training suggestion feature. It references your profile and recent training records to generate training suggestions or plan drafts.

Generated plans won't directly overwrite existing arrangements; a preview is shown first, and you confirm before applying. This process is still being adjusted, with the main goal being to base suggestions more on real training records rather than generating a seemingly complete plan from just a few descriptions.

6. Add some feedback with challenges and badges

After completing a training session, the monthly training goal, streak, and training achievements are updated. It's not meant to turn fitness into a check-in game, just to provide an extra reason to look back when training feedback feels flat.

How development is currently organized

The project uses uni-app + Vue 3 + Pinia, targeting WeChat mini-programs.

The pages use the home screen, training schedule, training log, diet log, and profile as main entry points; complex features under training and profile are split into sub-packages. Training exercises, plans, logs, diet, and body data each have corresponding data modules to avoid piling all logic into one page.

For data, the project retains some local capabilities while syncing user, training, plan, diet, and body data via uniCloud. User login, training services, exercise library, and AI calls are handled by cloud functions. The purpose is simple: to recover your records as much as possible after switching devices, and to avoid placing AI call configurations directly on the frontend.

Areas that still need work

There's still a lot to polish, such as the logging experience for different training styles, the accuracy of diet estimates, the stability of AI suggestions, and page details across different devices.

So this post isn't a product launch announcement; it's more of a progress share: I built a fitness mini-program myself, and it currently covers scenarios like training plans, training logs, schedule review, diet, and body data.

If you have similar training log needs, you can search for "智形健身助手" in WeChat to try it out. If you encounter issues or have suggestions, feel free to leave a comment. Go easy on me 🙏🏻