swapagarwal / JARVIS-on-Messenger

:speech_balloon: A community-driven python bot that aims to be as simple as possible to serve humans with their everyday tasks
https://m.me/J.A.R.V.I.S.on.Messenger
MIT License
1.35k stars 990 forks source link

Integrating JARVIS with dmenu #119

Open icyphox opened 8 years ago

icyphox commented 8 years ago

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?

swapagarwal commented 7 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. 😄

icyphox commented 7 years ago

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.

swapagarwal commented 7 years ago

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?

icyphox commented 7 years ago

Yeah, dmenu plugins are simple Python scripts. Here look at this. Should give you an idea of what I'm talking about.

swapagarwal commented 7 years ago

Okay, this would require jarvis to be hosted as a service at some public endpoint that you can hit. Open to suggestions...

icyphox commented 7 years ago

Yeah, that's probably required. Is it possible? Maybe for starters, run it on a remote VPS?

swapagarwal commented 7 years ago

@Icyphox #151 seems to solve this, i.e. you can host jarvis on your local machine itself!

icyphox commented 7 years ago

@swapagarwal Well, I created that pull, because of this :)

swapagarwal commented 7 years ago

@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

icyphox commented 7 years ago

Oh okay, that's great.