You are browsing as a guest. Sign up (or log in) to start making projects!

3h 0m 31s logged

DAGIT DEVLOG 1

(BTW WHOEVER ADDED EMOJIS OPTION SHOULD BE PROMOTED :smirk-hole: )
Hii,
I’m making a TUI application that beautifully visualizes your GitHub repo inside your terminal!!

Note -> This devlog is a compilation of 2 days of work that I’ll explain

What I have done

DAY 1:

I started working on dagit with first:

  • Checking if the current directory is a git repo or not
  • If yes, we first fetch the repo name along with
  • owner of the repo
  • the remote url of current repo
  • current branch
    Lmao, this was all I did on day 1

DAY 2

Today the fun began :evil:

  • I started working on the TUI section
  • I started with a simple bubble tea list TUI to remember the simple things that I had forgot in these many days
  • Then I used bubbletea to render the left panel containing the the data we fetched from day one but I realised that this is messed up cuz I wont be able to make different sections for the visualizer and the git log history
  • When I searched for a fix I saw lipgloss and then integrated it with our current setup
  • I used lip gloss to make diffferent sections for our TUI. The sections that I currently want in the TUI left panel/middle(visualizer)/ bottom(git log) along with the footer like nvim
  • But :crying: I forgot about the resizing problem and idk anything about how I’m going to fix it like other TUI’s do so I’m donna leave it like tat for now

What I’m gonna do

  • Make it look prettier
  • Get the git log because it’s gonna be easier than the visualizer
  • Make my shit code look a little better
0
102

Comments 0

No comments yet. Be the first!