Giter VIP home page Giter VIP logo

awesome-cli's Introduction

Hi ๐Ÿ‘‹,

I'm Umut IลŸฤฑk, a software engineer ๐Ÿ‘จโ€๐Ÿ’ป who is passionate about web technologies and open source.

More...

awesome-cli's People

Contributors

jesselang avatar jmhobbs avatar theag3nt avatar umutphp avatar ypetya avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

awesome-cli's Issues

Reporting Lists That Cannot Be Parsed

Sometimes, the command finds a list that can not be parsed. On random and surprise modes, command skips the repository and tries to find another to parse. It will be good to report such cases to this repository as an issue.

"Suprise Me" Option

"Surprise me" functionality would pick either a random list or a random item from a list and show it.

  • It will randomize the selection flow until the last node in the tree.

Option To Download Everything to the Cache

  • Add an option to the cli
  • When the option is given, all the repository information is downloaded to the cache recursively
  • Inform user that the operation will take a long time
  • Give the number of repositories cached when the operation is finished
  • Display progress information (the repository being fetched etc)
  • Use go routines to make the repository fetch in parallel (4 go routines)

"Search" Functionality

It is not a must-do task but needs to be discussed.

  • Check if possible to implement a search
  • Local search or over a service

The main readme.md is not loaded

Describe the bug

The awesome list does not load on start.

To Reproduce
Steps to reproduce the behavior:

just start awesome-cli you get a list with 0 elements.

Cause and Resolution

The original awesome list has no 'master' branch.
I am going to send in a PR fixing this.

get fatal error

Describe the bug
When i clone the project and run the go run main.go I got this error

panic: runtime error: index out of range [0] with length 0

goroutine 1 [running]:
main.main()
	/home/azibom/Desktop/go/awesome-cli/main.go:22 +0x2d2
exit status 2

what is the problem?

Error in Surprise Command

Describe the bug
Surprise command sometimes throws error.

$ awesome-cli surprise
awesome-cli Version 0.7.1
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x8 pc=0x768c0d]

goroutine 1 [running]:
github.com/umutphp/awesome-cli/internal/package/node.(*Node).GetName(...)
        /home/runner/work/awesome-cli/awesome-cli/internal/package/node/node.go:30
github.com/umutphp/awesome-cli/internal/package/prompter.ToFavouriteString(0x0, 0x0, 0x0)
        /home/runner/work/awesome-cli/awesome-cli/internal/package/prompter/prompter.go:50 +0xbd
github.com/umutphp/awesome-cli/internal/package/prompter.Surprise(0xc000215dd0, 0xc0002065c0, 0x15, 0x0, 0x0, 0x1a, 0x20, 0xc0000e5da0, 0x47831c, 0xde8580)
        /home/runner/work/awesome-cli/awesome-cli/internal/package/prompter/prompter.go:61 +0x13a
main.SurpriseRepo(0xc0000f6370, 0xc0000f6370, 0xe10928, 0x0, 0x0, 0xe10928, 0x0, 0x0)
        /home/runner/work/awesome-cli/awesome-cli/main.go:69 +0xee
main.Argumented(0xc0000be030, 0x1, 0x1, 0xc0000f6370, 0xc0000f6370, 0xe10928, 0x0, 0x0, 0xe10928, 0x0, ...)
        /home/runner/work/awesome-cli/awesome-cli/main.go:130 +0x29e
main.main()
        /home/runner/work/awesome-cli/awesome-cli/main.go:32 +0x1d4

A clear and concise description of what the bug is.

To Reproduce
Execute awesome-cli surprise to reproduce the error. You may have to execute many times to generate the error.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.