Presenting my Hackathon submission: Polli ๐Ÿ‘‹

Polli is your GTP-4o powered personal political advisor, helping people to become more politically active through a super-lightweight mobile app.

A quick run through ๐Ÿ‘‡

https://x.com/earlytoarrive/status/1828968220218241290


  • On the design side, I kept it simple to give a super lightweight feel - mobile & desktop responsive all native of course. It geocodes your address or location, then can provide personalised political info based on the LatLng coordinates.



  • On the technical side, this was the first time I dived into the OpenAI API docs & flows, so a little tricky for someone non/semi-technical... ...but I managed to follow FF's great YouTube instructions and hack it together (after a lot of head bashing)

  • The cards in the carousel each trigger a specific prompt, and you can also send your own ad hoc questions, either from the main text input or in the chat page!

  • It then has a simple 'step' system - an integer field on the User - so that when an API response is read, it triggers a +1 increment; marking that step as complete to move onto the next & auto-updating the carousel.


  • So yeah, a super simple & lightweight design paired with GPT-4o for an interesting use case... Obviously a streamlined single API integration that could be massively expanded on for an actual Polli app; but fun to learn more about API's, JSON, and LLM structures!

  • Oh and from start to finish it was less than 24hrs at the weekend - learning, designing, implementing & polishing - showing how powerful FF is!

    But I did use AcmeChat as the base of it all...

    https://community.flutterflow.io/community-tutorials/post/introducing-acmechat---community-awards-submission-1XKl5srpiqWOv3L

4