#!/usr/bin/env python3 import common_lib as mylib def gen_root(): with open(mylib.path_out('index.html'), 'w') as fp: fp.write(mylib.template_with_base('''

About

Information about the research project will be added soon. Stay tuned.

app-icon

Get the iOS App and contribute.
Join the TestFlight Beta.

The source code of the app is available on GitHub.

Results

If you're just interested in the results, go ahead to see all apps.

Current research

We have an ongoing research project open. Your help is highly appreciated.
For mor infos follow this link.

''')) def gen_help(): many = 7 txt = '''

Help needed!

This study contains two stages. This is the first one. We have selected a random sample of applications for evaluation. We want to track the app behviour over a longer period of time.

You can help us by providing app recordings of the following application. The more you record the better. Ideally you could do recordings for all the apps below. But really, even if you only find time for a single recording, anything helps!

We need at least {} recordings per app. Stage 2 will follow in a few weeks. Get the Testflight beta.

' mylib.mkdir(mylib.path_out('help')) with open(mylib.path_out('help', 'index.html'), 'w') as fp: fp.write(mylib.template_with_base(txt)) def gen_search(): with open(mylib.path_out('redirect.html'), 'w') as fp: fp.write(mylib.template_with_base('''

Redirecting …

''')) def process(): print('generating root html ...') gen_root() # root index.thml gen_search() # root redirect.html?id=my.bundle.id gen_help() print('') if __name__ == '__main__': process()