Commit Graph

260 Commits

Author SHA1 Message Date
aditya-K2
5f9c5fde52 Added Basic Layout and Using tview package for TUI
Decided to Go with tview package for building TUIs and
just added the basic layout of the app.
The Idea is to have a side menu to navigate between the other options.
Just like spotify-tui ( Which has taken inspiration from the orignal
spotify Client) and Having a progress bar at bottom ( Still figuring out
how to implement this )
2021-10-13 00:00:16 +05:30
aditya-K2
b722d53684 Update go.mod 2021-10-11 14:17:26 +05:30
Aditya Kurdunkar
c5997251e4
Update README.md 2021-10-11 14:12:51 +05:30
aditya-K2
91de613758 Added Print() Method to FileNode Struct
This Method Is Useful for Printing the Children of the Node
recursively. Useful for debugging Purpose.
2021-10-11 13:54:51 +05:30
aditya-K2
99e0e8e615 Added generateDirectoryTree()
This function which generates a Directory Tree
from a given path string
for e.g
    if the String that is given is "home/what/dir" , "home/hello/foo"
	then it will return a FileNode ( Struct )
	which looks like this
	head{
	    [{
		[
		    {
			[ { [] dir } ]
			what
		    },
		    {
			[ { [] foo } ]
			hello
		    }
		]
		home
	    }]
	    "root"
	}
2021-10-11 12:09:24 +05:30
aditya-K2
94e86335b2 Added addChild and addChildNode functions (WIP) 2021-10-10 01:29:22 +05:30
aditya-K2
0c107c3a72 All the File Browsing Related Functions and Structs are inside the FileBrowser.go file.
The Idea is to Implement a tree of sorts (At least for now) and then displaying the children of the current Node and traversing them.
2021-10-09 22:34:11 +05:30
aditya-K2
c0f3b6e920 All the Client related activities are in client.go 2021-10-09 17:21:47 +05:30
aditya-K2
17ad4df66b intial commit 2021-10-08 23:24:45 +05:30
Aditya Kurdunkar
6c38ce3074
Initial commit 2021-10-08 20:22:09 +05:30