QuantifiedSelf
For our QS Project code
Install / Use
/learn @QuantifiedSelfless/QuantifiedSelfREADME
Quantified Self
Install
First, make sure you have pip installed for python3 and gulp,
$ curl 'https://bootstrap.pypa.io/get-pip.py' | sudo python3 -
$ sudo npm install -g gulp
Now, install all the dependencies,
$ sudo pip3 install -r requirements.txt
Compile the front-end code,
$ cd web
$ npm install
$ gulp production
$ cd ..
Lastly, you'll want to decrypt the config files. Simply run,
$ python3 config_packer.py decrypt config.conf.enc > config.conf
Similarly, if you changed the config.conf file, run the following to encrypt
your changes,
$ python3 config_packer.py encrypt config.conf > config.conf.enc
Finally, run the script,
$ python3 api.py
Dev Notes
Normally when creating a showtime, we take the passphrase that encrypts that
show and split it into shares. At least 2 of these shares are required to
decrypt the contents of that show. If you set share_threshold in config to 1,
we instead just send out the passphrase to make development easier. The
ShowtimeAccessTokens endpoint will take either multiple shares (as we would
expect in production) or a passphrase option for the dev case. Just remember
to change the dev:shares_email config field in config.conf so that you get
the e-mail with the passphrase!
Related Skills
node-connect
350.8kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
110.4kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
350.8kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
350.8kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。

