cofacts / rumors-line-bot

Line bot that checks if a message contains internet rumor.
MIT License
77 stars 19 forks source link

Revamp LIFF with FE framework #144

Closed MrOrz closed 3 years ago

MrOrz commented 5 years ago

We may consider solutions like svelte: https://g0v-slack-archive.g0v.ronny.tw/index/channel/C2PPMRQGP/2019-04#ts-1555954059.013500

This will allow us to put constants in build env so that we can remove the current search-replace based deploy script, which is pretty awkward.

MrOrz commented 4 years ago

We have discussed about server-rendered LIFF here:

It makes more sense and is easier to implement than FE framework + API. It should be faster as well, since we don't need 2 RTTs over mobile network between user's cellphone and LINE bot server.

Previous discussions:

MrOrz commented 4 years ago

Design doc here: https://g0v.hackmd.io/860RnxUGTi6z2Kca6ojAbg