Open icyphox opened 8 years ago
Sorry, I'm not familiar with it. Can you provide more details on the response format that you would prefer? Also, it'd be helpful if you could provide a sample workflow of what you are trying to do with dmenu. 😄
Okay dmenu is a program launcher for Linux, mostly used in tiling window managers. Anyway, I kinda forgot about this, but my idea was to run Jarvis through dmenu, and add it as an extended plugin, which behaves like a personal assistant.
Nevermind, you can close this issue. Thanks anyway.
So something like exposing jarvis as an api, sounds cool! Let's keep it open for further discussion. Are you familiar with integrations in dmenu?
Yeah, dmenu plugins are simple Python scripts. Here look at this. Should give you an idea of what I'm talking about.
Okay, this would require jarvis to be hosted as a service at some public endpoint that you can hit. Open to suggestions...
Yeah, that's probably required. Is it possible? Maybe for starters, run it on a remote VPS?
@Icyphox #151 seems to solve this, i.e. you can host jarvis on your local machine itself!
@swapagarwal Well, I created that pull, because of this :)
@Icyphox If you want to deploy to a public endpoint, you can use Heroku. Visit this link to host your own instance: https://heroku.com/deploy?template=https://github.com/swapagarwal/JARVIS-on-Messenger
Oh okay, that's great.
I think I have a great idea to integrate JARVIS with the pretty popular program launcher dmenu. It's possible to write a simple script to point to the URL to make the query, but the only issue is the output text from the URL isn't pretty.
So... what do you say?