Giter Club home page Giter Club logo

avahi-indicator's Introduction

avahi-indicator

avahi-indicator is an AppIndicator that shows services advertised on the network with Zeroconf/Bonjour/Avahi, written in Python. Network services show up in the Ubuntu menu bar, and you can choose a service from a dropdown menu. This will open the corresponding service (e.g., opens a web browser, a SSH shell, a SFTP connection, etc.)

screenshot

Installation

As long as an AppImage does not exist yet, the simplest way on Ubuntu is

sudo apt-get update
sudo apt-get -y install avahi-daemon python2.7 python-avahi python-dbus
wget https://raw.githubusercontent.com/probonopd/avahi-indicator/master/avahi-indicator.py
python avahi-indicator.py

TODO

Pull requests welcome!

  • Solve org.freedesktop.Avahi.TimeoutError
  • Sort list of service names in the menu, and sort list of services in the menu
  • If a service is announced on the network after avahi-indicator is already launched, then a popup notification should appear, informing about the new service. However apparently avahi-indicator does not get informed (yet) when new services appear on the network after avahi-indicator has been launched (FIXME)
  • If a menu item is selected, then we should check if the service is still responding and if it is not, remove the corresponding menu entry or trigger a complete discovery (the device might have been powered off and no longer available)
  • Handle devices going away (are they "de-published")?
  • Support actions on more services (currently the menu shows only service types for which an action is configured (e.g., http(s), ssh, sftp-ssh, smb)
  • Test on other GNOME systems than Ubuntu
  • Sort menu (by service type and name)
  • Remove services from the menu that are no longer there
  • Support multiple domains
  • Create AppImage

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.