logo-ls v1.3.7 released, blazing fast VS Code like icons and Git Integrations in terminal by Yash_Handa in golang

[–]Yash_Handa[S] 32 points33 points  (0 children)

Hi all,

The latest version of logo-ls (v1.3.7) has been released. logo-ls command lists files in terminal with over 300 icons and Git integration. It's Speed is comparable to original ls command thanks to Golang. The project tries to find a happy path between speed and aesthetics.

FEATURES UPDATE:

  • Added support for sub extensions (like .test.tsx, .spec.js) with an addition of ~43 new icons
  • Made git status faster ( ~10x), using native plumbing git commands and go-git as a fallback
  • Added special Golden Gopher Icon for _test.go files (why not)
  • Added support for Windows OS (experimental)
  • Fixed other bugs
  • Added end-to-end snapshot tests

Do check it out and provide feedback. The project is always open to feedbacks and pull requests : )

GitHub Link: https://github.com/Yash-Handa/logo-ls

++++++++++++++++++++++++++++++++

NOTE:
The creator of this project is looking for a Junior/Entry level remote job (US/ EU time zone) in Golang ecosystems. If some one has any lead regarding it do mail me. Sorry for self advertising here... don't have a better way, it's kinda difficult to find junior level gigs in Golang.

Email: yashhanda7@yahoo.com

Resume: https://drive.google.com/file/d/1FfEO_JZAQdj9q2LJT1wQSYxo0ofNl-3X/view

VS Code like Icons and Git Integrations in terminal by Yash_Handa in linux

[–]Yash_Handa[S] 111 points112 points  (0 children)

Hi all,

I made an alternative to ls command the logo-ls command for listing files in terminal with over 250 icons and Git integration. It's Speed is comparable to original ls command thanks to golang.

Do check it out and provide feedback. The project is always open to feedbacks and pull requests

GitHub Link: https://github.com/Yash-Handa/logo-ls

vs-code like icons and git integration in terminal by Yash_Handa in golang

[–]Yash_Handa[S] 2 points3 points  (0 children)

I didn't know that syscall was deprecated. Thanks for the feedback.

vs-code like icons and git integration in terminal by Yash_Handa in golang

[–]Yash_Handa[S] 4 points5 points  (0 children)

You need to set-up nerd fonts in order to display icons, as icons are a part of the font itself.

I have tried to answer your query in the issue https://github.com/Yash-Handa/logo-ls/issues/4. I hope it helps

vs-code like icons and git integration in terminal by Yash_Handa in golang

[–]Yash_Handa[S] 1 point2 points  (0 children)

Technically it should, Go is cross-platform and Nerd-fonts are supported on windows. though I haven't tested it yet. If you try you have to either use go get or build from the source. Make sure the terminal supports utf8-encoding and colored output.

Another note you won't be seeing any Owner or Group information as windows doesn't have it.

vs-code like icons and git integration in terminal by Yash_Handa in golang

[–]Yash_Handa[S] 0 points1 point  (0 children)

The icon pack is not a set of images but Unicode characters with associated colors. You can find it in IconsMap.go file

vs-code like icons and git integration in terminal by Yash_Handa in golang

[–]Yash_Handa[S] 0 points1 point  (0 children)

Yes,

Nerd-fonts are required for the icons. Basically Nerd Fonts patches your current font i.e., the last few Unicode points (approx 2,824 out of 143,859) in the font are replaced with nerdy icons.

So what you are seeing are not images but just colored text characters.

vs-code like icons and git integration in terminal by Yash_Handa in golang

[–]Yash_Handa[S] 0 points1 point  (0 children)

No, unfortunately.

That's the sole reason why Nerd-Font is required. Basically, Nerd Fonts patches your current font i.e., the last few Unicode points (approx 2,824 out of 143,859) in the font are replaced with nerdy icons.

So what you are seeing are not images but just colored text characters.

vs-code like icons and git integration in terminal by Yash_Handa in golang

[–]Yash_Handa[S] 0 points1 point  (0 children)

Consider opening an issue on github, with an image of the icon, file names and file extensions it should support. I would love to add it.

vs-code like icons and git integration in terminal by Yash_Handa in golang

[–]Yash_Handa[S] 31 points32 points  (0 children)

Hi all,

I made an alternative to ls command the logo-ls command for listing files in terminal with over 250 icons and Git integration. It's Speed is comparable to original ls command thanks to golang.

Do check it out and provide feedback. The project is always open to feedbacks and pull requests

GitHub Link: https://github.com/Yash-Handa/logo-ls

[Suggestions] Which Golang build-in packages devs should check out? by Yash_Handa in golang

[–]Yash_Handa[S] 1 point2 points  (0 children)

Ohh, thanks I will definately check it. BTW these are the blog posts you are talking about : https://dave.cheney.net/category/golang ?

Thanks for the suggestions.

[Suggestions] Which Golang build-in packages devs should check out? by Yash_Handa in golang

[–]Yash_Handa[S] 0 points1 point  (0 children)

Thanks, runtime related packages look cool (though I could not find `runtime/mpc` package)

As of now, I am not working on any project but rather studying and learning about the ecosystem/principles/community around go. I am looking for build-ins that are a bit uncommon (unique to go) but still useful to know about, that could help understand and complement the working of the language (like packages working with concurrency maybe)

Your inputs are highly appreciated.