UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. brenno.almeida
    3. Best
    Online
    • Profile
    • Following 0
    • Followers 0
    • Topics 3
    • Posts 37
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: [Alpha] Greenline - A qml Whatsapp client for Ubuntu Touch

      More features:

      https://github.com/brennoflavio/greenline/releases

      • Now you can reply to messages
      • Text input box now renders correctly
      • Contact messages now renders correctly, and you can send contact messages
      • Chat page should load faster now
      • Chat list page now updates when you receive a message and app is opened in background
      • User metrics should work now
      • Really big text messages should render now, and be collapsed
      posted in App Development
      brenno.almeidaB
      brenno.almeida
    • PicPocket - Immich client for Ubuntu Touch

      This post is meant to have a more continuous discussion about PicPocket development.

      Download it here: https://open-store.io/app/picpocket.brennoflavio

      Yesterday we had a new release allowing zooming images with your fingers, please give it a try!

      This app is mostly stable and no big changes are expected, but feel free to suggest unimplemented Immich features and bugs.

      posted in App Development
      brenno.almeidaB
      brenno.almeida
    • [Alpha] Greenline - A qml Whatsapp client for Ubuntu Touch

      Hi everyone! I've been working on a qml Whatsapp client for Ubuntu Touch for a few weeks, now I think its good enough for its alpha release.

      The app is not complete, there's still a ton of work to do, and probably many bugs. If you want to test it out, feel free to install in your device, and get back here if you find any bug so I can look at it. The Whatsapp protocol is awful to work with, I'm posting this early to gather feedback about edge cases.

      Consider this app as Alpha, don't use it expecting to be 100% functional or complete, but use it to give feedback and help with the development.

      Also the app runs unconfined to setup a background daemon, more on the architecture bellow.

      Releases here: https://github.com/brennoflavio/greenline/releases

      Once its stable, I'll publish to the store. Now more details about it.

      Architecture

      This app is composed of 3 parts:

      1. Golang Daemon

      This daemon managed by Systemd connects to Whatsapp servers and runs continuously in the background, gathering events and pre processing them. Also:

      • Manages your encryption keys
      • Serialize whatsapp events, stores in a queue
      • Expose a JSON RPC endpoint to read and send messages, among other operations
      • Syncs users avatars, media, and other data
      • Sends notifications
      1. Python Backend

      Event driven backend that pulls events from the daemon and acts on them, building a chat room and message database. It also sends events to the frontend, updating the message list in real time

      1. QML

      The frontend is entirely written in qml and communicates with python using pyotherside

      In order to pull messages in the background, it needs to run unconfined.

      posted in App Development
      brenno.almeidaB
      brenno.almeida
    • RE: [Alpha] Greenline - A qml Whatsapp client for Ubuntu Touch

      New alpha with more quality of life features:

      https://github.com/brennoflavio/greenline/tags

      • Integration with lock screen with number of messages read [needs qa]
      • Full background sync, faster startup times
      • Tapping on a notification opens the chat of that notification
      • Support for messages that are only links
      • Call notifications
      • Only notify the last message of a chat room
      • Clear notification for the chat room once chat is opened
      • Notification badge support (unread count in the side bar)
      • Messages from groups should notify the group name in the title, not the person name [needs qa]
      posted in App Development
      brenno.almeidaB
      brenno.almeida
    • RE: [Alpha] Greenline - A qml Whatsapp client for Ubuntu Touch

      New alpha with features:

      https://github.com/brennoflavio/greenline/releases

      • Pair Whatsapp with phone number + code
      • Settings page now correctly uninstall the daemon from the device
      • Block all notifications globally, regardless of Whatsapp configuration
      • Text input now correctly renders more than 2 lines
      • Show "typing" indicators in the chat page header
      posted in App Development
      brenno.almeidaB
      brenno.almeida
    • RE: questions about app confinement

      @developerbayman your point just suggests that we need better confinement, not to remove it. For example, the alarm app could have apis to run confined

      posted in Support
      brenno.almeidaB
      brenno.almeida
    • RE: Starting a series of videos about Ubuntu Touch

      @pparent Just watched the english version, great video, congrats on the release!

      posted in General
      brenno.almeidaB
      brenno.almeida
    • RE: [Alpha] Greenline - A qml Whatsapp client for Ubuntu Touch

      @arubislander @pparent app uses whatsmeow, a golang implementation of Whatsapp Web socket. So from Whatsapp perspective, its like you're using Whatsapp Web.

      The risk of being banned using unofficial tools is never 0, but extremely low if you don't abuse the tool. Its the same risk of using the WhatsApp Matrix bridge for example, that uses the same library behind the scenes.

      posted in App Development
      brenno.almeidaB
      brenno.almeida
    • RE: [Alpha] Greenline - A qml Whatsapp client for Ubuntu Touch

      @pparent said:

      @brenno.almeida

      Ok so another confined app does not have permission to access your messages and data, via this Unix socket?

      Confined apps cannot access files outside their specified directories (config, data, cache), so they cannot use the socket.

      posted in App Development
      brenno.almeidaB
      brenno.almeida
    • RE: [app]{release}~ubports forums, direct port of my android app

      @developerbayman I think its possible to publish with a Google Drive link afaik, as long as the source is available should be fine

      posted in App Development
      brenno.almeidaB
      brenno.almeida
    • RE: [Alpha] Greenline - A qml Whatsapp client for Ubuntu Touch

      Updated release:

      https://github.com/brennoflavio/greenline/releases

      • Now bringing the app to the foreground while a chat is open should update the chat
      • "view once" messages are now rendered and notified (not possible to see the content, Whatsapp limitation)
      • Mentions should render correctly now
      • Some scroll fixes when you open the chat page or click on the button to scroll to bottom
      posted in App Development
      brenno.almeidaB
      brenno.almeida
    • Futify Remix: a native Spotify client for Ubuntu Touch

      Download here:

      https://open-store.io/app/futify.brennoflavio

      Somewhere last year, Spotify changed some of its API deprecating some fields and redirects, breaking Futify. Around 3 months ago I submited some patches to keep the app alive, but it is not merged / released yet.

      This fork applies those patches so people can continue using the app while upstream is not updated.

      Contributions are welcome to make it build with noble framework, currently this app uses a umantained qml-go binding, that only allow building for focal. Luckly the focal build works on noble without issues.

      Give it a try and leave feedback!

      posted in App Development
      brenno.almeidaB
      brenno.almeida
    • RE: Futify Remix: a native Spotify client for Ubuntu Touch

      @projectmoon @amaurydbz found it. Spotify is not allowing using my keys to login into your account, which means that you'll need to login into Spotify Developers, generate a pair of keys and bring those to the app.

      That's why it works for me, but not for you. It uses my keys.

      As the app does not have a way to do that yet, I unpublished it. When I add a way to do it, I'll let you know and publish it back.

      Thanks for the feedback!

      Link for reference: https://developer.spotify.com/blog/2026-02-06-update-on-developer-access-and-platform-security

      posted in App Development
      brenno.almeidaB
      brenno.almeida
    • RE: [Alpha] Greenline - A qml Whatsapp client for Ubuntu Touch

      @mihael Thanks! Any issues let me know, we're approaching a beta release

      posted in App Development
      brenno.almeidaB
      brenno.almeida
    • RE: [Alpha] Greenline - A qml Whatsapp client for Ubuntu Touch

      New release: message prior this release can look strange because of a refactor I did, to avoid problems disconnect your whatsapp account in settings and reconnect after installing this update

      https://github.com/brennoflavio/greenline/releases

      • Draft support: typing in a chat will save your message next time you get back to that chat
      • Complete rework of how this app handles notifications, which should enable new features for specific message types in the future
      • Fix a bug that made the user avatar go away when downloading media in a group chat
      • Mentions should be rendered correctly now, including notifications
      • Simplified the unread count bubble (although its a big buggy now)
      • Centralized name resolution, now the app is consistent when showing names across replies, chat lists, headers, etc
      • Fixed a bug if you start a chat, the chat will have your name
      • Full support for edited messages: now the new text is shown with an edited badge, and you can edit your own messages aswell
      posted in App Development
      brenno.almeidaB
      brenno.almeida
    • RE: [Alpha] Greenline - A qml Whatsapp client for Ubuntu Touch

      Nice script to stop the daemon, I added to the todo list to include before release

      posted in App Development
      brenno.almeidaB
      brenno.almeida
    • RE: [Alpha] Greenline - A qml Whatsapp client for Ubuntu Touch

      @mihael the app has a built in logic to recover the daemon in case of a crash, which seems to be working here

      posted in App Development
      brenno.almeidaB
      brenno.almeida
    • RE: [Alpha] Greenline - A qml Whatsapp client for Ubuntu Touch

      @Linus67 The chat list is the source of truth for contact information, there's no separate list of contacts in this app. This makes the code easier to undersand and with fewer moving parts, but the tradeoff is that to render the person name in the group it needs to exist as a individual in the list, so removing chats is not possible.

      This is unlikely to change, would add a complexity I don't want to manage. However I do plan to add basic filtering in the list, similar to how Teleports works, which should mitigate this.

      posted in App Development
      brenno.almeidaB
      brenno.almeida
    • RE: [Alpha] Greenline - A qml Whatsapp client for Ubuntu Touch

      Thanks for the feedback you all, any issues please report.

      We have a new release: https://github.com/brennoflavio/greenline/releases

      • Experimental support to record voice messages. Give it a try and report if it works for you
      • Support for messages with images and buttons
      • New icon and splash screen
      • Support for deleted messages, both seeing deleted messages and deleting your own messages
      posted in App Development
      brenno.almeidaB
      brenno.almeida
    • RE: PicPocket - Immich client for Ubuntu Touch

      Just pushed a new release for this app:

      • Better image and video controls. Pinch to zoom, double tap, and other gestures. (thanks @kugiigi , heavily inspired in your commit for the gallery app)
      • Upgrade some libraries
      • Don't crash the person list page if a person does not have a thumbnail
      • Support servers with subpaths (like https://example.com/immich)
      • Give a better error to the user if app cannot connect to Immich on login
      posted in App Development
      brenno.almeidaB
      brenno.almeida