Comments (34)
@gautamkrishnar Makes sense to me. But, we should not give up the command line flag scheme. The rtv client is basically a terminal browser, but I think a programmable command line interface, especially for querying for questions and posting questions, would be useful for SO.
from socli.
@gautamkrishnar That would be a good idea...
from socli.
@gautamkrishnar Have you had time to work on this? If not, I am freed up to start implementing this feature.
from socli.
I'd be interested in implementing this, although of course this a substantial amount of work that could be done multiple people. A good model CLI is rtv, the reddit cli.
The first place to start is in displaying questions from http://stackoverflow.com/, and I'll get cracking on a --browse
command.
from socli.
š Thank you. Yes i was also working on the same feature. You can start working on this. Please make use of the existing function calls for listing and displaying the answers and questions, Dont forget to add -b
shorthand as well.
from socli.
Are you gonna make an interface like rtv (Nano like interface) too?. Shall i do it? @e-beach
from socli.
Well I've never made a fancy CLI using curses, so I would start out just being able to display the text and gradually make it more interactive. I wouldn't want to be working on the same stuff at the same time so there needs to be a clear division of labor - what would you like to do yourself in the next few weeks?
from socli.
I am also just getting started with curses.
You can continue working on this, Its all your's now... I was just asking to know whether you are interested in creating the interface with curses. I will follow up once you submit the initial pull request. @e-beach
from socli.
I think triggering the home page browsing when a person uses the socli
command will be easy to use rather than triggering it using -b
and --browse
. What's your opinion @e-beach ?
from socli.
@e-beach any update on this one?
from socli.
@gautamkrishnar I have been busy lately with classes and working on other projects. Depending on how current things pan out, it may be some time before I can work this.
from socli.
Thanks, Take your time, @e-beach
from socli.
@e-beach shall i start working on the implementation? You seems quite busy...
from socli.
@e-beach you can continue... š
from socli.
@gautamkrishnar
I'm planing on using the curses wrapper urwid.
Do you think an acceptable first step for this would be to write the socli --interactive
mode to use urwid? One improvement that could be made is making the o,b,n etc inputs be read immediately, rather than having to press enter.
Also, curses is not supported on windows, so we might want to keep a basic windows version and a more advanced unix version. Do you think this is worth implementing?
from socli.
@e-beach looking good š you can use urwind. Yes its better if we can implement the interactive mode with unwind as well. Yes lets keep the basic version for windows š
from socli.
@e-beach i had made some big changes to the code, Please keep your master & branch uptodate while working on this...
from socli.
@gautamkrishnar š
from socli.
@gautamkrishnar For the very basic first step of this feature, I plan to modify the --interactive option such that the 'o, b, and n' options do not require pressing the enter key. On board?
from socli.
Sure @e-beach š
from socli.
@gautamkrishnar
This is a little demo of what I have been working on. I wonder if you could identify what you would like the feature on master to look like, or are you still very busy?
from socli.
@e-beach buddy it looks cool ā¤ļø... Yes i was busy these days attending Microsoft student partner summit....
Thanks a lot for making this a lot more awesome āļø Eagerly waiting for your PR...
from socli.
Also, when or on what terms would you feel comfortable moving the code from the develop branch to the master branch?
from socli.
@e-beach i will do that soon. Was busy with my academics...
from socli.
@e-beach Just merged it with master... Thanks a lot for your contribution.... You rocks! šø
from socli.
Hey is the issue still open?Can I take this up?
from socli.
@Souvikray sorry please wait i will notify you once its ready. Currently, we have some unmerged pull requests.
from socli.
Hey, how is this coming along? I'd like to work on it.
from socli.
Is this Issue still open I would like to work on it.Looks interesting.
from socli.
Yes it looks great idea. I am happy with that. SOCLI is the webpage need to be implemented to make it easy for everyone
from socli.
@Souvikray @GrugLife @DhruvThakker @subhaprakash Please let us know if any of you guys are still interested in working on this?
from socli.
If this is still available Iād like to take a crack at this feature request.
from socli.
yep @boothlinux you can work on it.
- add a
--browse
argument that will let you browse the home page - It should display a list of questions like we do in
-iq
mode. With the option to switch between tabs. - user will be able to select one of the questions, he/she will be able to switch between featured, hot, week month, etc. Default: featured.
- it will open in the existing socli implementation, we should add a new option there
a: answer
. if the user selects this the browser will be opened with the StackOverflow dialog for answering the corresponding question. eg: https://stackoverflow.com/questions/64085600/cant-send-input-parameter-to-validator-directive-in-angular#post-editor
from socli.
This is not required right now.
from socli.
Related Issues (20)
- PR TEMPLATE HOT 1
- README enhancement HOT 3
- Adding DWOC lables beside the issues. HOT 2
- the search is broken for me HOT 10
- Incorrect tag for 6.3 release ? HOT 2
- Facing captchas even after adding my own Api Key HOT 1
- Proposing a PR to fix a few small typos HOT 2
- Google made a change in the search description which breaks Socli search HOT 1
- no result found HOT 4
- Non-interactive mode HOT 2
- back command doesn't work as expected in interactive mode HOT 5
- AttributeError: module 'collections' has no attribute 'MutableMapping' HOT 1
- Create better documentation HOT 1
- Needs maintainers
- "Please check your internet connectivity" error
- Google searches always return No results found... HOT 1
- How to copy or execute results? HOT 1
- More key bindings in answer viewer: `less` mode, `?` for help, ...
- Add `tldr` page for `socli` HOT 1
- python3.11 breaks socli HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
š Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ā¤ļø Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from socli.