Home >Backend Development >Golang >[DevLog # Gmail-TUI: Replicating Gmail-Webs Navigation
Thanks to all the kind support on the previous DevLog, I am back with the latest update on my Gmail-TUI application! If you are not aware of this OpenSource project, I am developing a Terminal-based UI application that aims to replicate the Gmail-Web experience in the terminal, without the need for a Web-Browser:
Read DevLog #01 | Contribute to the Project's GitHub Repository
While the implementation of the Inbox feature is still a work in progress, I have implemented a better navigation system within the Gmail-TUI than its previous version, as can be seen above.
In the earlier version, the user would be directly prompted to compose a mail and send it, since that was the only feature available at that time. After the recent modifications, however, a basic blueprint has been laid for how a user will be able to navigate within this application:
A successful login is currently being validated by sending a 'Login-alert' mail to the person trying to log in. If the email-password does not match, then the 'Login-alert' mail will not be sent to the user and they will be prompted to retry again.
As of now, only the Compose options is functional but after the implementation of the IMAP-Protocol, the remaining options will be modified to perform related operations.
Okay, so to recap, since the first DevLog, the following functionalities have now been added to Gmail-TUI:
Since networking has never really been my strongest point, I have been working on better understanding the IMAP Protocol that is to be used to display emails in User’s inbox. Sadly for me, I have been struggling with properly grasping the related concepts. Or rather, I feel like I am unnecessarily prolonging the implementation of the Inbox feature by wanting to learn more and more about IMAP because of just how fascinating it really is!
I understand how it’s to be implemented in the code now but there's a part of me that wishes I wouldn’t move on until I understand everything about IMAP - which I realise is pretty impractical.
Therefore, I have made up my mind: I will be implementing the inbox feature using whatever knowledge I have gained so far and ensuring that this feature is present in the next version of Gmail-TUI. I mean, what is the point of trying to capture so much knowledge without even trying to implement it somewhere... Right?
If you liked reading this DevLog and would like to have a closer look at my development process, please consider following me on X, Reddit, and GitHub!
The above is the detailed content of [DevLog # Gmail-TUI: Replicating Gmail-Webs Navigation. For more information, please follow other related articles on the PHP Chinese website!