sindresorhus / project-ideas

Need a JavaScript module or looking for ideas? Welcome ✨
544 stars 9 forks source link

Redis CLI #14

Open Kikobeats opened 9 years ago

Kikobeats commented 9 years ago

1) For interact with redis instances from the CLI. Similar to pretty-redis

2) Possibility to pipeline the input. For example cat file.json | xargs redis --set 'myKey'

sindresorhus commented 9 years ago

Some more inspiration: https://github.com/dbcli/pgcli

sindresorhus commented 9 years ago

This would be a perfect use-case for using vorpal (framework for interactive CLI apps).

// @dthree

dthree commented 9 years ago

:+1: thanks for the plug, @sindresorhus

I've personally got way too many Vorpal projects I'm mid right now and need to focus on finishing, but yes, Vorpal would be great for this and I can give tons of support and advice to anyone trying to do this. :rocket:

Kikobeats commented 9 years ago

@dthree what projects are you working? I can help. Also I'm interesting in develop this idea, so maybe we can make plans :-)

a more high level of this idea is something to create CLI programs based in the API of a library. For example, scrap the methods of the redis node library and expose it as CLI commands. Do you think that could be possible? Maybe could be a good start point for autogenerate projects with Vorpal.

dthree commented 9 years ago

@Kikobeats great! I'd love to work with you on these ideas.

Closest project to release is Wat. 99% of the CLI is done. I'm mid finishing an HTML auto document parser, after which point I can auto-generate most HTML-based docs, and can already parse all markdown-based docs. With this done, I'll be loading in 50-60 major libraries and will be ready to release. I'd love help with this.

Next up is cash, this one's still on the down-low, so I don't have a public repo for it. In a nutshell, it's a cross-platform linux-style command emulator - sort of like cygwin, but no DLLs or large install. Just 100% JS - no node-gyp bindings or anything, and completely terminal-agnostic.

Contributing to cash is easy, as you can just pick a command and implement it. So far I've implemented cd, echo, ls, touch, grep and less. Major, flexible commands can be published as their own module, such as grep and less.

Implementing top as its own module would be a great starting point. I would start with the codebase of vorpal-less personally as its implementation will be similar.

I have more projects, but the above two are my priority. :smiley:

Kikobeats commented 7 years ago

Now I think that a electron based project could be a huge impact

Similar to http://mongotron.io/#/ but for redis.

RangerMauve commented 7 years ago

@Kikobeats There's medis which is electron based.