Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Sep 24 2019 09:23
    thegamerx1 commented #358
  • Sep 23 2019 14:15
    linonetwo commented #358
  • Sep 23 2019 14:15
    linonetwo commented #358
  • Sep 21 2019 21:28
    thegamerx1 edited #358
  • Sep 21 2019 21:28
    thegamerx1 opened #358
  • Sep 11 2019 01:36
    halvves opened #357
  • Aug 18 2019 07:13
    londbell commented #356
  • Aug 18 2019 07:12
    londbell opened #356
  • Aug 14 2019 02:43
    leak4mk0 opened #355
  • Aug 12 2019 00:27
    gbxl opened #354
  • Aug 04 2019 01:51
    briandant edited #353
  • Aug 04 2019 01:49
    briandant edited #353
  • Aug 04 2019 01:49
    briandant opened #353
  • Aug 03 2019 01:25
    linonetwo assigned #348
  • Aug 03 2019 01:18
    HannanAkbar commented #348
  • Aug 01 2019 05:51
    linonetwo assigned #352
  • Jul 29 2019 11:11
    Layla-P opened #352
  • Jul 15 2019 11:31
    acbetter commented #351
  • Jul 15 2019 11:19
    acbetter commented #351
  • Jul 15 2019 09:11
    linonetwo closed #351
Marcus Baw
@pacharanero
@blainesch I had kind of assumed that there could only be one 'fallback' and that if two were installed they would in some way clash.... turns out my assumption was wrong! I've installed both zazu-fallback and zazu-nhsbuntu and they seem to both work.
I think there may be a other people who would want to build little 'suites' of custom searches like I did, in which case it might be helpful to make it clear in the README.md that it's possible to install more than one 'fallback'. Or perhaps have a 'custom search suite template' repo that people can fork and customise.
I've gotta say, though - awesome work on Zazu, and also for the neat way Zazu pulls in plugins from GitHub
Baylee
@bayleedev

@pacharanero if you are okay with copy/pasta you could just define your custom searches in the zazu config:

https://github.com/tinytacoteam/zazu-fallback#installing

Marcus Baw
@pacharanero
yes, I'm aware of that neat feature, but because we want to be able to redistribute the custom searches to non-technical users we need a plugin
we're building a custom Ubuntu distro for NHS (National Health Service) workers
so we can package Zazu in that. (we'll have to create a PPA for it I think)
Baylee
@bayleedev
Oh wow, that’s awesome to hear :D
Netanel1244
@Netanel1244
Hey, I'm really impressed but I am concerned about privacy. For example, if I copy my credit card, the clipboard plugin will get access to it... right?
Marcus Baw
@pacharanero
@Netanel1244 yes, in theory any of the systems through which your credit card number passes when you type it, could misuse it. Clipboard managers are one example, but we also have to trust our operating system (Windows 10 sends all your keystrokes to Microsoft, for example) and our web browsers, not to mention the e-commerce website itself. To some extent using an open source clipboard manager such as Zazu is safer (than using a closed source one) because we can inspect the code at https://github.com/tinytacoteam/zazu-clipboard and verify that it doesn't send information to another party.
You're right to have privacy concerns in general though - anyone who doesn't think about privacy these days is clearly not awake!
Baylee
@bayleedev
@Netanel1244 exactly zazu plugins do have access to your clipboard. The clipboard manager itself however does not store anything it thinks is “sensitive”. Often password managers like 1password or lastpass mark the clipboard with metadata that the clipboard manager can use to ignore it, so it’s never stored in plain text.
Dwight Holman
@anonfunc
Can plugins be hosted outside of github? .zazurc.json doesn't appear to support the url/type attributes for plugins like NPM's package.json format does
Baylee
@bayleedev
@anonfunc it was created to be github specific, but I’d be open to doing other git sources like gitlab or bitbucket. Not npm though. You could theoretically put a npm package that does everything on npm and just have the github part just interface with it if you wanted to get around my arbitrary restriction haha
Dwight Holman
@anonfunc
Makes sense. I've got a bunch of Alfred plugins I share at work I'd like to port to zazu, but they shouldn't be public repos. So I'm trying to figure out how to make that work.
Baylee
@bayleedev
Is there a way to make them public repos that need non-public config? For instance if it’s hitting an api you could put the endpoint and password into the config but keep the plugin clean?
@anonfunc ^^
Dwight Holman
@anonfunc
It's mostly searching intranet systems, but I do have some things which call internal CLI tools
Baylee
@bayleedev
Well technically it’s using git on your system if you have it, so a private github repo could work? Assuming they are developers and have access to the private repos? That could be confusing to setup though.
Dwight Holman
@anonfunc
Yeah, it would be.
Baylee
@bayleedev
Well internal cli tools could have public repos accessing them? It won’t ship with the public tool so maybe that’s fine as well?
Dwight Holman
@anonfunc
Not ideal, but I'll explore my options. Thank you!
Baylee
@bayleedev
This is something others have talked about as well, I’d be interested in your solution. @anonfunc
Cristiano Fontes
@cfontes
Hi, Guys... I am trying zazu, and it can't find intelliJ idea, even after creating a sym link at /bin or /usr/bin
it does find everything else though
Baylee
@bayleedev
@cfontes are you on mac or linux?

@cfontes It needs to be in one of these directories:

https://github.com/tinytacoteam/zazu-file-finder/blob/master/directories.js#L67-L69

Which it sounds like you put a symlink in /usr/bin so that should be fine. It also needs to be executable:

https://github.com/tinytacoteam/zazu-file-finder/blob/master/lib/file.js#L45-L47

So I’m not sure symlinks work
Madalin Popa
@ppmadalin
Hi All, I have installed zazu on my PC and I cannot figure why is not recognizing my plugins
I receive the following message when I toggle it Zazu requires plugins to work!
Baylee
@bayleedev
@ppmadalin sounds like your config might be setup incorrectly. Can you post it so I can take a look?
Linbubin
@Linbubin
hello, everybody. I want to ask what are the plugin for playsound available?
I saw playsound in output, but I didn't find any plugins use it, someone have examples?
Baylee
@bayleedev
@Linbubin any theme can be used in the theme playground.
Linbubin
@Linbubin

@blainesch I wrote a plugin myself. In zazu.json's input, I want two keywords to trigger an event at the same time. Do I need to write it two times? Or can you write it together?

{
  "name": "xiamiMusic",
  "version": "1.0.0",
  "description": "xiami music.",
  "blocks": {
    "input": [
      {
        "id": "xiamiMusic",
        "type": "PrefixScript",
        "prefix": "title",
        "space": true,
        "args": "Required",
        "script": "src/search.js",
        "connections": ["YuYinPlay"]
      },
      {
        "id": "xiamiMusic",
        "type": "PrefixScript",
        "prefix": "name",
        "space": true,
        "args": "Required",
        "script": "src/search.js",
        "connections": ["YuYinPlay"]
      }
    ],
    "output": [
      {
        "id": "YuYinPlay",
        "type": "playSound"
      }
    ]
  }
}

title and name

Baylee
@bayleedev
@Linbubin you’d need two different inputs if you want them to work like that. You COULD do a single “rootScript” that does a .match(/^(title|name)/) or something?
Linbubin
@Linbubin
@blainesch ok ,thanks
Baylee
@bayleedev
@Linbubin do you want to add your plugin to the directory?
marksev1
@marksev1
so the convert currency plugin and the weather plugin don't work for me - Ubuntu 16.04 64-bit...how do I debug what is wrong, where do I see it?
marksev1
@marksev1
actually got it to work if i did it from inside zazu
but if i manually copy pasted it inside the json file it didnt work
Baylee
@bayleedev
What do you mean @marksev1 ?
marksev1
@marksev1
like when i manually edited the config file i couldnt get it to work, maybe i did a mistake, but while i typed install currency convertor in the zazu launcher it installed and works fine
now to think of some plugin that would be useful, for example sunrise and sunset times :), or rss feeds, or mqtt publish stuff for home automation
Baylee
@bayleedev
@marksev1 can I see your config file? Maybe there’s a syntax error. I think it’ll alert you if there is one though.
marksev1
@marksev1
now it works Blaine
Baylee
@bayleedev
Nice
Linbubin
@Linbubin
@blainesch Sorry, the plugin is still in development.
I would like to ask, if I want to empty the search box, to provide some plug-in specific information to the user, is there a ready-made way to do it?
Linbubin
@Linbubin
Beacuse of I am a music search, I want to recommend some songs to the user when the input box is empty