Help needed

This commit is contained in:
relikd
2020-09-12 04:09:38 +02:00
parent 36b71476ba
commit 73e61a8457
4 changed files with 156 additions and 22 deletions

View File

@@ -7,6 +7,7 @@ body {
min-width: 436px;
}
a { text-decoration: none; color: unset; }
p a, td a { border-bottom: 1pt dotted; }
a:hover { border-bottom: 1pt solid; }
#app-toc a:hover, a.no-ul:hover {
border-bottom: unset;
@@ -54,8 +55,6 @@ footer .links a { color: #ddd; }
#main-nav img { height: 1.2em; margin: 0 -0.4em; }
#main-nav img:hover { transform: scale(1.2); }
.squeeze { max-width: 700px; }
#get-appcheck:hover { color: #586472; }
#get-appcheck img { width: 3em; height: 3em; margin: 0.3em; }
#get-appcheck * { display: inline-block; vertical-align: middle; }
@@ -91,12 +90,17 @@ footer .links a { color: #ddd; }
#pagination a.active { border: 1pt solid black; border-radius: 0.2em; }
/* app bundle */
p { max-width: 700px; }
h2.title { margin-bottom: 0; }
p.subtitle { margin-top: 0.2em; }
.mg_lr { margin: 0 0.4em; }
.snd { color: #586472; font-size: 0.85em; }
td { padding: 0.2em 1em 0.2em 0.1em; }
#meta td:nth-child(2) { font-weight: bold }
.help-links td { padding: 0.5em; }
.help-links tr:nth-child(even) { background: #ddd; }
.help-links .notyet { color: #D11; }
.help-links .done { color: #3AE48C; }
/* domain tags */
.tags { margin: 2em 0; }
@@ -117,7 +121,7 @@ td { padding: 0.2em 1em 0.2em 0.1em; }
font-weight: bold;
}
.tags i.trckr, .tags.trckr i { background: #DBB; border-color: #C88; }
p.trckr { font-size: 0.8em; }
p.trckr { font-size: 0.9em; margin-left: 0.5em; }
/* graphs */
.dot-graph {
@@ -127,16 +131,6 @@ p.trckr { font-size: 0.8em; }
-moz-user-select: none;
}
.dot-graph span:hover i { border-top: 5px solid black; margin-top: -5px }
.dot-graph span:hover p { display: inline; }
.dot-graph p {
display: none;
position: absolute;
vertical-align: bottom;
background: white;
border: 0.4em solid black;
padding: 0.3em 0.8em;
margin-top: -2.8em;
}
.dot-graph i {
display: inline-block;
vertical-align: bottom;
@@ -144,6 +138,16 @@ p.trckr { font-size: 0.8em; }
height: 2em;
margin-bottom: 5px;
}
.dot-graph span:hover p { display: inline; }
.dot-graph p {
display: none;
position: absolute;
background: white;
border: 0.4em solid black;
padding: 0.3em 0.8em;
margin-top: -2.8em;
}
/* color-bind friendly color palette */
.cb0 i{background:#63ACBE}
.cb1 i{background:#601A4A}

83
src/help.json Normal file
View File

@@ -0,0 +1,83 @@
{
"America": [
["Amazon", 348712880, "com.amazon.AmazonDE"],
["Canada COVID-19", 1505010304, "ca.gc.hcsc.canada.covid19"],
["Canvas Student", 480883488, "com.instructure.icanvas"],
["Cash App", 711923939, "com.squareup.cash"],
["Google", 284815942, "com.google.GoogleMobile"],
["Google Chrome", 535886823, "com.google.chrome.ios"],
["Google Classroom", 924620788, "com.google.Classroom"],
["Instagram", 389801252, "com.burbn.instagram"],
["McDonald\u2019s - Non-US", 1217507712, "com.mcdonalds.mobileapp"],
["Microsoft Teams", 1113153706, "com.microsoft.skype.teams"],
["Netflix", 363590051, "com.netflix.Netflix"],
["OfferUp - Buy. Sell. Letgo.", 468996152, "com.offerup.iphone.consumer"],
["PayPal: Mobile Cash", 283646709, "com.yourcompany.PPClient"],
["Snapchat", 447188370, "com.toyopagroup.picaboo"],
["Stairway to Heaven !", 1502360847, "com.casual.stairwaytoheaven"],
["T-Mobile Scam Shield", 1367276365, "com.tmobile.nameid"],
["Taco Bell - Food & Rewards", 497387361, "com.tacobell.ARgame"],
["Threads from Instagram", 1473867767, "com.burbn.threads"],
["TikTok - Trends Start Here", 835599320, "com.zhiliaoapp.musically"],
["Tim Hortons", 1143883086, "com.rbi.TimHortons"],
["Triller: Social Video Platform", 994905763, "com.triller.projectx"],
["Twitter", 333903271, "com.atebits.Tweetie2"],
["WhatsApp Messenger", 310633997, "net.whatsapp.WhatsApp"],
["YouTube: Watch, Listen, Stream", 544007664, "com.google.ios.youtube"],
["Zello Walkie Talkie", 508231856, "com.zello.client.main"]
],
"Europe": [
["A4 - Run Away Challenge", 1522699276, "com.apm2studio.runawaychallenge"],
["adidas", 1266591536, "com.adidas.app"],
["Booking.com: Hotels & Travel", 367003839, "com.booking.BookingApp"],
["Braindom: Brain Games Test", 1513009813, "com.braindom"],
["Cl@ve PIN", 842624380, "es.aeat.pin24h"],
["Corona-Warn-App", 1512595757, "de.rki.coronawarnapp"],
["Cube Surfer!", 1499118002, "com.Atinon.PassOver"],
["Greene King", 1297987541, "com.greeneking.orderandpay"],
["IKEA", 1452164827, "com.ingka.ikea.app"],
["Immuni", 1513940977, "it.ministerodellasalute.immuni"],
["IO", 1501681835, "it.pagopa.app.io"],
["Izly", 956519643, "fr.izly.izlyiphone"],
["Make More Views", 1438348967, "lagamerie.mmv"],
["Menulog AU - Food Delivery", 327982905, "au.com.menulog.m"],
["NOAA Weather Radar Live", 749133753, "com.apalonapps.radarfree"],
["PosteID", 649492675, "it.poste.postebuy2"],
["REFACE: face swap videos", 1488782587, "com.neocortext.doublicatapp"],
["Spiral Roll", 1482766542, "com.Celltop.SpiralRoll"],
["Spotify: Music and Podcasts", 324684580, "com.spotify.client"],
["Stack Blocks 3D", 1511699206, "com.qsdhbdft.stackblocks"],
["Stack Colors!", 1504295793, "com.redforcegames.stack.colors"],
["Telegram Messenger", 686449807, "ph.telegra.Telegraph"],
["Trivia.io", 1477636326, "com.eightsec.TriviaIO"],
["WATCHED - Multimedia Browser", 1500636617, "com.watched.play"],
["WINDTRE", 492519547, "it.wind.mywind"]
],
"Other": [
["Alipay - Simplify Your Life", 333206289, "com.alipay.iphoneclient"],
["COCOA - COVID-19 Contact App", 1516764458, "jp.go.mhlw.covid19radar"],
["COVIDSafe", 1509242894, "au.gov.health.covidsafe"],
["Drive Thru 3D", 1516465705, "com.AnkaStudios.DriveThru3D"],
["Email App \u2013 Mail.ru", 511310430, "ru.mail.mail"],
["Find Proof - Cheaters puzzle", 1501800164, "com.phone.lock"],
["Followers+ for Instagram App", 1506590054, "com.magictouch.xfollowers"],
["Likee - Let You Shine", 1251790681, "video.like"],
["LINE", 443904275, "jp.naver.line"],
["Money Buster!", 1515884940, "com.cg.moneybuster"],
["QQ", 444934666, "com.tencent.mqq"],
["SHEIN-Fashion Shopping Online", 878577184, "zzkko.com.ZZKKO"],
["SmartNews: Local Breaking News", 579581125, "jp.gocro.SmartNews"],
["Viber Messenger: Chats & Calls", 382617920, "com.viber"],
["VK \u2014 social network", 564177498, "com.vk.vkclient"],
["Waze Navigation & Live Traffic", 323229106, "com.waze.iphone"],
["Wobble Man", 1488581193, "icacacat.wobble.man.upstairs"],
["\u0410\u0432\u0438\u0442\u043e: \u043e\u0431\u044a\u044f\u0432\u043b\u0435\u043d\u0438\u044f", 417281773, "ru.avito.app"],
["\u0421\u0438\u0442\u0438\u043c\u043e\u0431\u0438\u043b \u2013 \u0434\u0435\u0448\u0435\u0432\u043e\u0435 \u0442\u0430\u043a\u0441\u0438", 579220388, "ru.city-mobil.taxi"],
["\u4e03\u732b\u5c0f\u8bf4-\u770b\u5c0f\u8bf4\u7535\u5b50\u4e66\u7684\u9605\u8bfb\u795e\u5668", 1387717110, "com.yueyou.cyreader"],
["\u4e2a\u4eba\u6240\u5f97\u7a0e", 1436002627, "cn.gov.tax.its"],
["\u5730\u5143\u306e\u63b2\u793a\u677f\u300c\u30b8\u30e2\u30c6\u30a3\u30fc\u300d", 581838289, "jp.jmty.Jmty"],
["\u5f97\u7269(\u6bd2)-\u6709\u6bd2\u7684\u8fd0\u52a8X\u6f6e\u6d41X\u597d\u7269", 1012871328, "com.siwuai.duapp"],
["\u82b1\u5c0f\u732a\u6253\u8f66-\u51fa\u884c\u6253\u8f66\u5168\u7f51\u8d85\u4f4e\u4e00\u53e3\u4ef7", 1496121983, "com.huaxiaozhu.rider"],
["\u9ad8\u5fb7\u5730\u56fe-\u7cbe\u51c6\u5730\u56fe,\u5bfc\u822a\u51fa\u884c\u5fc5\u5907", 461703208, "com.autonavi.amap"]
]
}

View File

@@ -7,13 +7,8 @@ def gen_root():
with open(mylib.path_out('index.html'), 'w') as fp:
fp.write(mylib.template_with_base('''
<h2>About</h2>
<p class="squeeze">
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non
proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
<p>
Information about the research project will be added soon. Stay tuned.
</p>
<a id="get-appcheck" class="no-ul" href="https://testflight.apple.com/join/9jjaFeHO" target="_blank">
<img src="/static/appcheck.svg" alt="app-icon" width="30" height="30">
@@ -24,7 +19,58 @@ def gen_root():
</a>
<p>
The source code of the app is available <a href="https://github.com/relikd/appcheck" target="_blank">on GitHub</a>.
</p>{}'''. format('')))
</p>
<h2>Results</h2>
<p>
If you're just interested in the results, go ahead to <a href="/index/page/1">all apps</a>.
</p>
<h2>Current research</h2>
<p>
We have an ongoing research project open. Your help is highly appreciated. <br>
For mor infos follow <a href="/help">this link</a>.
</p>
'''))
def gen_help():
many = 5
txt = '''<h2>Help needed!</h2>
<p>
We have selected a random sample of applications for further research.
You can help us by providing app recordings of the following application.
The more you record the better.<br>
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.
</p>
<div class="help-links">'''.format(many)
obj = mylib.json_read(mylib.path_root('src', 'help.json'))
for land in sorted(obj.keys()):
txt += '\n<h3>{}:</h3>\n<table>'.format(land)
for i, x in enumerate(obj[land]):
bid = x[2]
asurl = 'https://apps.apple.com/de/app/id{}'.format(x[1])
try:
count = len(mylib.json_read_combined(bid)['rec_len'])
except Exception:
count = 0
rr = '<span class="{}"><b>{}</b>/{}</span> recordings'.format(
'done' if count >= many else 'notyet', count, many)
txt += '''
<tr><td>{0}</td>
<td><a href="/app/{1}/index.html">{2}</a></td>
<td>{3}</td>
<td><a href="{4}" target="_blank">{4}</a></td>
</tr>'''.format(i + 1, bid, x[0], rr, asurl)
txt += '</table>'
txt += '</div>'
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():
@@ -42,6 +88,7 @@ def process():
print('generating root html ...')
gen_root() # root index.thml
gen_search() # root redirect.html?id=my.bundle.id
gen_help()
if __name__ == '__main__':

View File

@@ -22,7 +22,7 @@
<nav>
<ul id="main-nav">
<li><a href="/index/page/1">All Apps</a></li>
<li><a href="#">About</a></li>
<li><a href="/help">Help needed</a></li>
<li><a class="no-ul" href="https://github.com/relikd/appcheck" target="_blank"><img src="/static/github.svg" alt="GitHub"></a></li>
</ul>
</nav>