@pivop/daylo 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +24 -0
- package/bin/daylo.js +13 -0
- package/package.json +30 -0
package/README.md
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# Daylo
|
|
2
|
+
|
|
3
|
+
**One API for every smart scale.**
|
|
4
|
+
|
|
5
|
+
Daylo connects vendor scale APIs (Withings, Tanita Health Planet) and exposes your weight data through a single normalized REST API and a JSON-first CLI. No UI, no dashboard — just your weight as clean JSON, for developers and AI agents.
|
|
6
|
+
|
|
7
|
+
> **This is a placeholder release to reserve the package name.** The real CLI will ship here soon.
|
|
8
|
+
|
|
9
|
+
Until then, run it straight from GitHub with [Bun](https://bun.sh):
|
|
10
|
+
|
|
11
|
+
```sh
|
|
12
|
+
alias daylo="bunx github:katsu105/daylo"
|
|
13
|
+
|
|
14
|
+
daylo login # opens your browser to sign in, creates an API key
|
|
15
|
+
daylo connect withings # opens your browser for OAuth, waits until connected
|
|
16
|
+
daylo sync # pull your measurements from the provider
|
|
17
|
+
daylo latest # your most recent weight, as JSON
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
- Repository: https://github.com/katsu105/daylo
|
|
21
|
+
|
|
22
|
+
## License
|
|
23
|
+
|
|
24
|
+
MIT
|
package/bin/daylo.js
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
// Placeholder release to reserve the package name.
|
|
3
|
+
// The real CLI ships soon: https://github.com/katsu105/daylo
|
|
4
|
+
process.stderr.write(
|
|
5
|
+
JSON.stringify({
|
|
6
|
+
error: {
|
|
7
|
+
code: "placeholder",
|
|
8
|
+
message:
|
|
9
|
+
"daylo is not published to npm yet. Run it from GitHub instead: bunx github:katsu105/daylo",
|
|
10
|
+
},
|
|
11
|
+
}) + "\n",
|
|
12
|
+
);
|
|
13
|
+
process.exit(1);
|
package/package.json
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@pivop/daylo",
|
|
3
|
+
"version": "0.0.1",
|
|
4
|
+
"description": "One API for every smart scale. Placeholder release — the real CLI ships soon. Meanwhile: bunx github:katsu105/daylo",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"author": "pivop",
|
|
7
|
+
"publishConfig": {
|
|
8
|
+
"access": "public"
|
|
9
|
+
},
|
|
10
|
+
"type": "module",
|
|
11
|
+
"bin": {
|
|
12
|
+
"daylo": "./bin/daylo.js"
|
|
13
|
+
},
|
|
14
|
+
"files": [
|
|
15
|
+
"bin"
|
|
16
|
+
],
|
|
17
|
+
"repository": {
|
|
18
|
+
"type": "git",
|
|
19
|
+
"url": "git+https://github.com/katsu105/daylo.git"
|
|
20
|
+
},
|
|
21
|
+
"homepage": "https://github.com/katsu105/daylo#readme",
|
|
22
|
+
"keywords": [
|
|
23
|
+
"smart-scale",
|
|
24
|
+
"withings",
|
|
25
|
+
"tanita",
|
|
26
|
+
"health",
|
|
27
|
+
"weight",
|
|
28
|
+
"cli"
|
|
29
|
+
]
|
|
30
|
+
}
|