creinig / naday Goto Github PK
View Code? Open in Web Editor NEWA little tool for tracking (physical) excercise of the "N repetitions a day" variant - 100 pushups per day, 10'000 steps per day etc.
License: MIT License
A little tool for tracking (physical) excercise of the "N repetitions a day" variant - 100 pushups per day, 10'000 steps per day etc.
License: MIT License
galvanic-test looks good at first glance
According to the readme the case of categories should not matter, but it does.
naday 40wa
works fine, but naday 40Wa
doesn't.
For unplanned / one-off, not-traditional-excercise things (helping someone move, lugging bags of cement for the new driveway, ...)
Most likely using github actions
The current command line shorthand notation is a bit inflexible. A better solution would be a configurable mapping from shorthand to a list of commandline arguments. This would eg also enable things like mapping "rwpu" to "report --week --category Pushups"
Collection of ideas for better reports (possible variants etc):
Depending on the type of excercise, "reps" (repetitions) just doesn't fit. The user should have the opportunity to specify a custom unit like "steps", "seconds" etc
Clap-3.0 can generate that. Alternatively use https://rtomayko.github.io/ronn/ronn.1
Generic implementation for the past N days, with shortcut parameters for "sliding week" (last 7 days) and "sliding month" (last 30 days). By default report the weighted total, but add an option to select a specific category.
This should cover the most common use case(s)
Add an optional 'target' attribute, indicating how many repetitions per day you want to reach.
Also add an indicator to the reports, showing whether the target was reached on a given day
Example: "naday report -c pu" correctly interprets the option, but falsely reports 0 reps for all days. The reported weighted total is correct.
Clap should be the best choice, with some subcommand structure for most stuff. That would add a lot of power for most commands. As long as it supports using the current syntax for adding activities (or changing that to an "add" subcommand & recommend defining an alias for it).
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.