Giter VIP home page Giter VIP logo

opsdroid-desktop's Introduction

opsdroid desktop

Build Status Build status Dependency Status Greenkeeper badge

A cross-platform electron & react desktop app for chatting with opsdroid.

Screenshot

Installation

macOS

  • Download opsdroid-desktop-{version}-macos-x64.zip from the latest release.
  • Extract the zip.
  • Move the opsdroid-desktop.app to /Applications

Linux

  • Download opsdroid-desktop-{version}-linux-{arch}.tar.tgz from the latest release.
  • Run sudo mkdir /etc/opsdroid-desktop.
  • Run sudo tar -xvzf opsdroid-desktop-*-linux-*.tar.tgz -C /etc/opsdroid-desktop.
  • Run the application with /etc/opsdroid-desktop/opsdroid-desktop.
  • (optional for ubuntu) To add the application to the unity launcher run sudo cp /etc/opsdroid-desktop/resources/app/scripts/ubuntu-launcher.desktop /usr/share/applications/opsdroid-desktop.desktop

Windows

  • Download opsdroid-desktop-{version}-win32-x64.zip from the latest release.
  • Navigate to C:\Program Files.
  • Create the folder opsdroid-desktop.
  • Extract the zip into that folder.
  • Run the application with opsdroid-desktop.exe.

Development

git clone https://github.com/opsdroid/opsdroid-desktop.git
cd opsdroid-desktop
npm install -g electron-packager gulp
npm install
gulp serve

Contributing

Pull requests are welcome!

opsdroid-desktop's People

Contributors

ashishpatelcs avatar bryanbraun avatar fabiorosado avatar gagandeepp avatar greenkeeper[bot] avatar jacobtomlinson avatar rohintangirala avatar

Stargazers

 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

opsdroid-desktop's Issues

An in-range update of babel7 is breaking the build 🚨


☝️ Important announcement: Greenkeeper will be saying goodbye πŸ‘‹ and passing the torch to Snyk on June 3rd, 2020! Find out how to migrate to Snyk and more at greenkeeper.io


There have been updates to the babel7 monorepo:

    • The devDependency @babel/core was updated from 7.8.7 to 7.9.0.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

This monorepo update includes releases of one or more dependencies which all belong to the babel7 group definition.

babel7 is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • ❌ continuous-integration/travis-ci/push: The Travis CI build could not complete due to an error (Details).

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

Text Wrapping issues

  • The text is shown without any indentations and white spaces while.
  • Long urls are shown outside the chat box

I've only tested the big chunk of text in the shell and opsdroid desktop connector.

screen shot 2017-09-13 at 07 28 52

Blank window on gulp serve

Environment

  • OS - Ubuntu 20.04.01 LTS
  • CPU - Ryzen 5 3500U (if that matters)
  • Node - v10.22.1
  • Gulp
    • CLI version: 2.3.0
    • Local version: 3.9.1

Issue

I followed the Development section under README.md as is, but on running gulp serve I get a blank screen and the following on my terminal:

thegeekylad@tgl-thinkpad:~/opsdroid-desktop$ gulp serve
[01:27:16] Using gulpfile ~/opsdroid-desktop/gulpfile.js
[01:27:16] Starting 'serve'...
[01:27:16] Starting 'compile'...
[01:27:16] Starting 'babel'...
[01:27:16] Starting 'sass'...
[01:27:16] Finished 'compile' after 9.6 ms
[01:27:16] Finished 'serve' after 30 ms
[2020-10-10T19:57:16.137Z] [electron-connect] [server] started electron process: 73811
[2020-10-10T19:57:16.138Z] [electron-connect] [server] server created and listening on 30080
[01:27:16] Finished 'sass' after 282 ms
[73843:1011/012716.624292:ERROR:buffer_manager.cc(488)] [.DisplayCompositor]GL ERROR :GL_INVALID_OPERATION : glBufferData: <- error from previous GL command

Any thoughts?

linux snap installation

Hi,

I just watched https://www.youtube.com/watch?v=7wyIi_cpodE, the Getting started with opsdroid on ubuntu 16.04 video you did. I couldn't help but think that the installation instructions for ubuntu are not very straight forward. I recently heard about the new ubuntu snap thing, https://docs.snapcraft.io/snaps/intro. I wondered if it would be a better way of distributing opsdroid desktop.

I should qualify, I've only heard about this from a podcast, I don't know anything about how snaps work, or their limitation, or what's involved in making a snap.

Cheers,
Geoff

Render images inline

If the user or the bot sends a link to an image it should be downloaded and shown inline.

Split desktop and web components

It would be good to pull the bulk of this application out into a separate repository called opsdroid-web. This would contain the react web application which is used for chatting with opsdroid.

This repository would then use opsdroid-web as a dependency and simply wrap it in electron for use as a desktop application.

We could then also use opsdroid-web as a dependency in opsdroid and serve the same interface from the opsdroid web server.

Steps:

  • Create a new repo and move the React application into it
  • Remove/make optional the electron specific code like electron-settings and electron-connect.
  • Create NPM and PyPI packages for the compiled React application (so we can keep Babel out of this project).
  • Update this repo to use the new web package.
  • Update opsdroid to use the new web package.

Custom connection urls

Currently opsdroid desktop assumes you are connecting to an opsdroid instance at localhost:8080.

It should be possible for the user to customise this. Probably by clicking the connection status indicator and showing a popup with a host and port field.

Unable to start the application - Harfbuzz version too old

Hi,
I am trying to set up the opsdroid-desktop application, following the user guide here

I downloaded the latest release, and followed the exact installation steps.
I was able to correctly extract the files into /etc/opsdroid-desktop with no errors.

But when I try to run it, I get an error as follows:

abhishek@IP:~$ /etc/opsdroid-desktop/opsdroid-desktop
Gtk-Message: 19:02:59.896: Failed to load module "canberra-gtk-module"
(opsdroid-desktop:58271): Pango-ERROR **: 19:03:00.041: Harfbuzz version too old (1.3.1)
Trace/breakpoint trap (core dumped)

I did a little "Googling" and I could not come to a proper definitive solution to this one (probably because I am inexperienced with Node.js?), but I think this might have to do something with this electron issue.

Any ideas?

Thanks,
Ab

Release file that I downloaded:
opsdroid-desktop-v0.2.7-linux-x64.tar.gz (the latest release from here)

System Details
OS: Ubuntu 20.04 LTS
Type: 64-bit
GNOME version: 3.36.2
Windowing System: X11

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.