frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: Lean bulk, cut, body recomp. Calculate maintenance calories

https://macrocodex.app/
11•faangguyindia•1h ago
A very simple idea: when you eat more than your maintenance calories, you gain weight; when you eat less than your maintenance calories, you lose weight.

By using an algorithm, we can accurately figure out your maintenance calories more accurately than traditional regression based formulas like katch mc ardle.

It's way more accurate than calorie burn tracking devices like fitness bands and watches. (garmin/apple watch/whoop etc...)

Traditionally, people often use static TDEE calculators which often over or underestimate for some by 100s calories.

Chatgpt and TDEE calculators like Calculator.net or TDEECalculator.net use the same formulas, so they share the same limitation

If a beginner asks ChatGPT, "What are my maintenance calories?", ChatGPT can give them a number. But ask how it arrived at that number, and it will usually explain that it used a formula like Katch McArdle, Harris Benedict, or Mifflin St Jeor to calculate BMR, then layered activity on top using an activity factor, PAL, or MET tables.

Dig deeper and those formulas come from statistical regressions based on averages from past populations. That means maintenance calories calculated this way can be off by hundreds of calories.

MacroCodex uses your calorie intake and weight data to figure out maintenance calories specific to your body, not the population average.

It usually reaches good accuracy after about 3 weeks, or 21 days of calorie and weight logging.

This app is completely free, no paywall, no subscription and no ads. (works offline)

Most people start seeing weight gain or loss within 5 weeks.

We've reached 13,000+ users. Full support is provided if you experience any issue, most issues are resolved under 24 hours.

Comments

p1024k•1h ago
This is very helpful to me.
pipi3066•1h ago
It’s a great product. I’d mainly like to know: how does this compare to connecting Apple Health data to Claude or the ChatGPT app and having them perform calculations in a specific way?
faangguyindia•8m ago
Macrocodex can work even when calorie logging is sparse. A user may fail to log data for a few days each week, and maintenance calories can still remain accurate because it operates over your entire history.

If you read our privacy policy, you’ll see that it collects total calorie and weight data from users, which we use to improve our adaptive TDEE algorithm. It does not collect email, phone number, date of birth or anything which is not necessary for product improvement/diagnosis.

You can probably achieve something similar with Claude and a bunch of scripts if you log your calories every day.

macrocodex is entirely deterministic, it just works and users don't need to fiddle with it.

Log your calorie each day, log your weight weekly and it will continue producing calorie and macro targets for you to achieve desired rate of weight gain or loss.

It also has many more features, such as lean bulk, cut, and body recomposition modules. It includes a planner that helps you decide when to switch from cutting to lean bulking (or vice versa), or when body recomposition efficiency starts dropping for you.

For example,

To gain least fat while gainng muscles, Lean bulk is what you need.

The key is to focus on your rate of weight gain, not a specific calorie number or surplus percentage.

Weekly Weight Gain Rate:

Beginners: 0.25-0.5% of body weight

Intermediates: 0.25-0.4%

Advanced Lifters: 0.1-0.25%

Usually, a calorie Surplus: +5-10% of TDEE (roughly 100-300 kcal/day) may get you there but if it doesn't adjust your calories up or down to reach the desired weekly weight gain rate.

This is where macrocodex can do better than chatgpt/claude over long horizon.

SOCKMAP - TCP splicing of the future

https://blog.cloudflare.com/sockmap-tcp-splicing-of-the-future/
1•zdw•5m ago•0 comments

Early life adversity leaves a lasting molecular imprint across the body

https://medicalxpress.com/news/2026-06-early-life-adversity-molecular-imprint.html
3•gmays•12m ago•0 comments

Show HN: Agent-historian – let your AI agent search its own past sessions

https://github.com/adlternative/agent-historian
1•adltereturn•15m ago•0 comments

Static universe with VSL. Redshift without expansion (open access)

https://pixeltheory.co.uk
1•jimfoweraker•16m ago•0 comments

Moving Machine Learning into the Analog Domain

https://sangota.substack.com/p/one-good-analog-transistor-is-worth
2•random__duck•22m ago•0 comments

I Moved from Arch to Boring Debian Testing

https://www.whileforloop.com/blog/2026/06/20/why-i-moved-from-arch-to-debian-testing/
1•wook__•23m ago•0 comments

Corpulence Index

https://en.wikipedia.org/wiki/Corpulence_index
1•aragonite•24m ago•0 comments

The largest open database of local laws in the US

https://arxiv.org/abs/2606.19334
1•rao-v•25m ago•1 comments

Some of Android's Most Interesting Games Aren't Just on the Play Store

https://gardinerbryant.com/some-of-androids-most-interesting-games/
1•thunderbong•25m ago•0 comments

I Hate Personal CRMs. I Might Need One

https://shikharsachdev.substack.com/p/i-hate-personal-crms-i-might-need
1•shsachdev•27m ago•0 comments

X402 stock APIs for agents, pay per API call

https://x402stock.xyz/
1•parth_nandaniya•33m ago•0 comments

Bevy 0.19

https://bevy.org/news/bevy-0-19/
3•embedding-shape•40m ago•0 comments

Realtime Raytracing in Bevy 0.19 (Solari)

https://jms55.github.io/posts/2026-04-12-solari-bevy-0-19/
2•embedding-shape•40m ago•0 comments

Third Places (NYC)

https://thirdplaces.nyc
2•xhrpost•41m ago•1 comments

Plotting AI model release cadence: two labs are accelerating, three aren't

https://swiftalerts.trade/the-cadence-trade-hn
1•abipal15•57m ago•0 comments

With Every Breath You Take, Thank the Ocean

https://ocean.si.edu/ocean-life/plankton/every-breath-you-take-thank-ocean
4•thunderbong•1h ago•0 comments

The snake-wrangling 84-year-old who lives on a remote barrier island

https://www.bbc.com/travel/article/20260612-the-snake-rearing-84-year-old-who-lives-on-a-remote-b...
1•1659447091•1h ago•0 comments

Show HN: Lean bulk, cut, body recomp. Calculate maintenance calories

https://macrocodex.app/
11•faangguyindia•1h ago•3 comments

The only cauldron ever found in a river in the British Isles

https://www.bbc.co.uk/news/articles/clyrn5e2k9no
2•nickt•1h ago•1 comments

Launch: MyIntelBrief – Smarter Competitor Monitoring

https://myintelbrief.com/
2•myintelbrief•1h ago•0 comments

Show HN: Cc-fleet – run other LLMs as Claude Code workers, your sub drives

https://github.com/ethanhq/cc-fleet
2•ethanhq•1h ago•0 comments

Show HN: Adbqr – ADB pair via QR code from the CLI

https://github.com/kristjan/adbqr
1•kristjan•1h ago•0 comments

Developers don't understand CORS (2019)

https://fosterelli.co/developers-dont-understand-cors
19•toilet•1h ago•5 comments

Australia confirms first case of H5N1 bird flu as virus reaches every continent

https://www.bbc.com/news/articles/c4gykxklvl5o
1•1659447091•1h ago•0 comments

White House delays US voting-machine vulnerability report

https://www.reuters.com/world/white-house-delays-release-us-voting-machine-study-midterms-near-20...
55•logickkk1•1h ago•34 comments

Hop.Earth – Google Maps and Need For Speed. World around created while driving

https://hop.earth/?server=RDgva&route=XxOaosUo
3•touchpadder•1h ago•1 comments

Data integrity in rqlite: what it checks and what it doesn't

https://rqlite.io/docs/guides/data-integrity/
1•otoolep•1h ago•0 comments

Ratchet – BIOS flashing toolkit with a built-in MCP server for AI agents

https://github.com/jackulau/ratchet
2•JackLau•1h ago•0 comments

Apple-FM – a command-line interface for Apple's on-device models

https://www.npmjs.com/package/apple-fm
3•brianwestphal•1h ago•2 comments

XRPentest: AI-powered security audit tool for VR/XR headsets

https://xrpentest.com
1•h_a_c_k•1h ago•0 comments