Jump to content

vdesabou

Member
  • Posts

    465
  • Joined

  • Last visited

  • Days Won

    22

Reputation Activity

  1. Like
    vdesabou reacted to yannickglt in DevDocs Worfklow   
    Hi,
     
    The workflow for the famous API documentation browser.
     

     
    More screenshots on the Github repository.
     
    Download it from github: https://github.com/yannickglt/alfred-devdocs/blob/master/DevDocs.alfredworkflow?raw=true.
  2. Like
    vdesabou reacted to AndreasB in Alfred Workflow Nodejs   
    Great! Any ideas on how to make a 'menu system', such as the Spotify Mini Player has? I've tried a few different techniques, but nothing that has ended up working...
  3. Like
    vdesabou reacted to rice.shawn in Alphred: new PHP library   
    What is Alphred?
    Alphred is a PHP library to aid in the creation of workflows for Alfred. Most of Alphred should work with PHP 5.3+ (OS X 10.6+), but some features need PHP 5.4+ (OS X 10.9+). Alphred generally needs Alfred v2.5+ to run.
    It's not quite complete because it needs some testing and a bit more documentation. Please help with the former.
     
    Features
    Simple AlfredXML generation for script filters, including extended XML attributes Create and manage configuration files in ini, json, or sqlite3 from a few lines of code Easy http requests with get or post, including data caching Use the system keychain to store and retrieve passwords Simple logging to single or multiple files as well as the console with variable log levels Filter results easily to match a query Make your script filters faster by using the cli-server (PHP 5.4+) with almost no change to your existing code Easily change dates into strings, exact (1 day, 3 hours, and 23 minutes ago) or fuzzy (yesterday) Use title case without any extra work fork php scripts to have them run in the background (and they know that they're in the background) send asynchonrous notifications with no external library know if the user's theme is light or dark (to set different icons) write complex workflows in 50-60 lines of code  
    Example
    An example workflow (download) that takes your Github Username and Password and grabs a list of your repos and filters them by query is in the example folder. It uses the cli-server. You can see the well-documented code for the script filter and the action script. Without the comments, they reduce to about 60 lines of code together.
    -----
     
    Mostly Original Post:
     
    It seems mostly complete now for a v1 release. It features easy script filter XML generation (with extended XML), an easy way to make http requests, easy results filtering (taken almost verbatim from Deanishe's Python library: thanks, Dean!), keychain interaction, AppleScript, text filters, and more.
     
      I've squashed all the bugs that I can find, but I still need to write up some tutorials on how to use it, but I figure that I'd make a pre-release available if people want to start playing with it. Do remember that I might change the API a bit before v1.0.0, and I might do that because I'd love to get some feedback on how the library feels or what doesn't work.
     
    For now, find v0.9.3-alpha on the Github release page. Just download the attached Alphred.phar file because that's all you need.
    To find automagically generated API docs, check out this page. There are links to both PHPDocumentor and Apigen generated docs. Let me know which ones you like better.
    There are also a few markdown files, for now, in the repository under the tutorial section, and there is also a very simple example workflow (or the script filter and action files) under the example directory.
     
    I'll update this post with more information as we go along, but, for now, that's what I got.
     
    Shawn
  4. Like
    vdesabou reacted to rice.shawn in Spotify Mini Player: Control your Spotify library at your fingertips   
    I just have to chime in and say that this workflow is really amazing. It's one of the most polished ones that I've seen released. I recently looked at the code, and it's pretty amazing how much effort has been put into it, so kudos Vincent for making something so amazing and eminently useful.
  5. Like
    vdesabou reacted to Andrew in Replace ITunes with Spotify   
    Take a look at this amazing workflow, which includes 3 built in remote pages for controlling Spotify:
     
    http://alfred-spotify-mini-player.com
     
    Cheers,
    Andrew
  6. Like
    vdesabou reacted to rice.shawn in Replace ITunes with Spotify   
    I'm just chiming in to +1 the recommendation for the Spotify Mini Player workflow that Andrew mentioned. It's incredibly well polished and amazing. Vdesabou did an amazing job with it and keeps actively developing it.
     
    Here it is on Packal, too: http://www.packal.org/workflow/spotify-mini-player.
  7. Like
    vdesabou reacted to ichitaro in grep workflow   
    This searches for lines matching a regular expression like the grep command.
     

     
    You can install this workflow by downloading the .alfredworkflow file from:
    https://github.com/ichitaro/alfred-grep
     
    Notes: Input files are supposed to be encoded in UTF-8. For performance reasons, please consider using Alfred's File Buffer to reduce search scope, instead of passing a large directory tree to the file action.  
  8. Like
    vdesabou reacted to deanishe in Search StackOverflow   
    StackOverflow Search for Alfred
     
    Search for answers on StackOverflow.com from Alfred 2.
     

     
    Download
     
    Get StackOverflow for Alfred from GitHub or Packal.
     
    Usage
    .so <query> — Search StackOverflow.com for <query>. See below for syntax. ↩ or ⌘+NUM — Open result in default browser ⌘+L — Show full question title in Alfred's Large Text window Query syntax
     
    By default, words in <query> will be search for in the title of posts. To specify a tag, prefix it with ., e.g. python will search for python in the post title, .python will search for the tag python.
     
    Results
     
    Answered questions will be shown first in the list of results (and have a tick on their icon).
     
    Licensing, thanks
     
    This workflow is released under the MIT Licence.
     
    It is heavily based on Alfred-Workflow, also MIT-licensed.
  9. Like
    vdesabou got a reaction from citelao in Spotifious: a natural Spotify controller for Alfred   
    Ah ah!   We need an hotline I guess now !
    @dapitts08, please post to the linked indicated by Citelao, I'll be happy to help
  10. Like
    vdesabou reacted to kejadlen in Yet Another Weather Workflow   
    I couldn't find any forecast workflows that were quite to my liking, so I whipped one up that gets a forecast from forecast.io:
     

     
    Note: requires at least Mavericks. Not tested on Yosemite.
     
    Download: https://github.com/kejadlen/dark-sky.alfredworkflow/releases
    GitHub: https://github.com/kejadlen/dark-sky.alfredworkflow
  11. Like
    vdesabou reacted to vdesabou in Spotify Mini Player: Control your Spotify library at your fingertips   
    Forgot to mention that Spotify has removed the notion of 'starred tracks', which is now kind of replaced by Your Music. So the playlist list does not return the starred playlist anymore. 
    All you have to do is to create a new playlist, I called it 'Starred' and copy all your starred tracks in it.
     
    And the new version now supports 'Your Music'.
  12. Like
    vdesabou reacted to rice.shawn in Yosemite-esque Cards   
    First, I'll say that I'm not sure how feasible this would be, but...
     
    I really like how the new Spotlight shows the list of results to the left and a quicklook/card to the right. I can see this being very useful in script filters. Unfortunately, I don't think it would be possible to implement wholesale across Alfred. But we could, in a script filter, indicate that a card show be shown (this would be a global for the script filter) and then describe the content in the "card" for each result. I'm not sure if that would mean that we'd have the option to use quicklook for a document or render a map or just have some structured text appear, or a mix of both, but, regardless, it would be hella useful. Like, for the Spotify workflows, it could show the cover and some more meta-data about the track. For a translation workflow, it could show an extended translation or some synonyms or something. Some of this might be possible if the card field was just wrapped in a CDATA tag.
  13. Like
    vdesabou reacted to ctwise in Call contact via iPhone (new Yosemite feature)   
    You can do it yourself right now. Preferences -> Features -> Contacts -- click on Phone and pick 'Pass to URL Scheme'. In the URL field, enter 'tel://{query}'. Now when you press enter on a contact phone number it'll open the call dialog. You _do_ have to press the Call button to initiate the call though.
  14. Like
    vdesabou reacted to Florian in TV Shows Manager [Beta testers needed]   
    TV Shows manager download link
    Find your favorite shows right from Alfred. Remember which episode you’re at (and where you stopped in it), know if a new episode is out (or how long until it is), read synopsis...
    Everything you want for TV Shows is in this workflow.

    quick use
    First and foremost, download the workflow.
    You need NodeJS installed for this workflow to work.


    This is a beta version, I hope to get your feedback and bug reports.
    Have fun :-)
  15. Like
    vdesabou reacted to Amwam in Jenkins Workflow to find and filter through jobs   
    A workflow built to help interact with jenkins, in particular if you have lots of jobs
     
    Using the workflow you can easily see which jobs are currently failing, building and filter through them via fuzzy queries. The same can be done through all jobs.
     
     
    The workflow will be available on Packal shortly, and the source code can be viewed (and modified) at: 
    https://github.com/Amwam/Jenkins-Alfred-Workflow/
     
    You can download the workflow from the github release: 
    https://github.com/Amwam/Jenkins-Alfred-Workflow/releases
  16. Like
    vdesabou reacted to Andrew in Some new alfred_ script environment variables coming in Alfred 2.4   
    Hey all,
     
    Just a quick heads up that I've added some useful alfred_ environment variables into the 2.4 b277 pre-release build which may help with some aspects of your workflows. Here is what you can expect:
     
        "alfred_preferences" = "/Users/Crayons/Dropbox/Alfred/Alfred.alfredpreferences";     "alfred_preferences_localhash" = adbd4f66bc3ae8493832af61a41ee609b20d8705;     "alfred_theme" = "alfred.theme.yosemite";     "alfred_theme_background" = "rgba(255,255,255,0.98)";     "alfred_version" = "2.4";     "alfred_version_build" = 276;     "alfred_workflow_uid" = "user.workflow.FDC54875-6670-45CC-9D6B-1879F9257FBB";   The only one I feel needs explanation is alfred_preferences_localhash - for Alfred 2.4, non synced prefs are moving out of the standard OS X preferences as there is a Yosemite issue with prefs inheritance between Alfred Preferences.app and Alfred 2.app. Any local (mac specific) preferences are now stored within Alfred.alfredpreferences under .../preferences/local/[alfred_preferences_localhash]/ instead and use Alfred's own preferences framework.   Let me know if these are useful for you   Cheers, Andrew
  17. Like
    vdesabou reacted to targumanu in IMDb Search with Ratings   
    Awesome idea!
     
    I've updated the workflow to add support for user-defined search term delimiters (disabled by default, go to workflow preferences to enable)
  18. Like
    vdesabou got a reaction from Don Dahl in IMDb Search with Ratings   
    One possible way is to use the logic implemented in this workflow http://www.alfredforum.com/topic/4636-libgen-search-and-download-pdfs-and-ebooks-from-the-library-genesis-project/#entry28261
     
    It requires the user to type a period (.) after the query in order to initiate the search.
     
    I think it could make sense to use same logic in all (awesome) workflows you released (this one + all the MAS/iBook/iTunes searches)
     
    Just a thought
     
    Thanks!
  19. Like
    vdesabou reacted to targumanu in iTunes Store Search   
    Search the iTunes store and view search results with artwork previews right in Alfred.
    Open search results in iTunes.app (default behavior) Quick Look search results' preview pages right in Alfred (press Shift, the Quick Look feature must be enabled in Alfred's preferences) Open search results' preview pages in your default browser (modifier key — Command) The workflow's preferences (keyword — itprefs) allow you to set the maximum search results limit and preferred store country, as well as clear the artwork cache.   You can restrict your searches to the following categories using corresponding keywords: Albums (ital) iOS apps (itapp) Audiobooks (itau) Movies (itmo) Music videos (itmv) Podcasts (itpo) Songs (its) TV shows episodes (itep), and TV shows (ittv) However, you don't have to remember all those keywords. Just use the generic keyword (“it” by default) add “-” after it, and the workflow will show you the list of available categories to choose from (see the second screenshot).   Download  
  20. Like
    vdesabou reacted to deanishe in Searchio! Auto-suggestion from search engines in different languages   
    Searchio! workflow for Alfred
    Auto-suggest search results from multiple search engines and languages.
     
    There are a few existing workflows that provide auto-suggest results from one or the other search engine, but this includes not only multiple search engines, but also allows you to specify multiple languages/regions for your results.

    Supports the following search engines/websites:
    Google Google Images Google Maps YouTube Wikipedia Wiktionary Amazon eBay DuckDuckGo Bing Yahoo! Ask.com Yandex.ru Naver.com Wikia.com  
    Download and installation
    Download the latest version from the GitHub releases page or Packal.
    Usage
    There are several searches pre-configured. Only some have keywords (i.e. can be used as-is):
    g — Search Google in system (i.e. default) language m — Search Google Maps in system (i.e. default) language gi — Search Google Images in system (i.e. default) language w — Search Wikipedia in system (i.e. default) language wn — Search Wiktionary in system (i.e. default) language a — Search Amazon in system (i.e. default) language. If your system language is English, this will search Amazon.com. Use -l uk in the Script Filter to search Amazon.co.uk or -l ca to search Amazon.ca. yt — Search YouTube in system (i.e. default) language searchio [<query>] — Show settings and list of supported search engines. Currently, the only setting is a toggle to also show the <query> in the results list (default: No). searchiohelp — Open help file in your browser You can add a keyword to (and edit) one of the existing examples or add your own searches. For details on how to do that, see the GitHub page.
     
    Licensing, thanks
    The code in this workflow is released under the MIT Licence.
    The icons belong to the respective search engines.
    This workflow uses the Alfred-Workflow library and docopt (both MIT-licensed).
  21. Like
    vdesabou reacted to vitor in MarkdownTransform — Convert Markdown to other formats   
    Headers were removing the line below, which in turn was messing up lists, which was causing your problem.
     
    The new version fixes this, it should now work correctly for your case. I’ve also removed alleyoop support.
  22. Like
    vdesabou reacted to vitor in Temporary Email — Generate disposable email inboxes   
    Usage

    Create a temporary email address via the tmpmail keyword. A random inbox name is used unless you type one.



    On supported web browsers, the email inbox will open in a background tab and the address pasted to the current input field.

    ⤓ Install on the Alfred Gallery | Source
     
  23. Like
    vdesabou got a reaction from doubter13 in Spotify Mini Player: Control your Spotify library at your fingertips   
    Version 4.41 is live with improvements from 4.4:
     
    4.41:
    Compliant with latest Spotifious version 4.4:
    Improved performances New command to unstar a track
    Added new command (with external trigger) spot_mini_update_library to update library Automatically update Alfred Playlist after adding track, album or playlist Automatically update starred playlist after star/unstar track New theme Shortcuts to Settings/Alfred Playlist/Playlists (need to configure hotkeys)
     
     
     
    To be downloaded on Packal http://www.packal.org/workflow/spotify-mini-player
  24. Like
    vdesabou got a reaction from doubter13 in Spotify Mini Player: Control your Spotify library at your fingertips   
    That's strange because I just re-downloaded Spotifious from Packal and script filter is set to 'spot'. Did you rename it by yourself?
     
    For No 1, hold on a few minutes, I'm going to release version 4.4 which fixes the issue
  25. Like
    vdesabou reacted to deanishe in Find, filter, open Git repositories   
    Alfred Git Repos Workflow
     
    Browse, search and open Git repositories from within Alfred.
     

     
    Download
     
    Get the workflow from GitHub or Packal.
     
    Usage
     
    This workflow requires some configuration before use. See Configuration for details.
    repos [<query>] — Show a list of your Git repos filtered by <query> ↩ — Open selected repo in app_1 (see configuration) ⌘+↩ — Open selected repo in app_2 (see configuration) ⌥+↩ — Open selected repo in app_3 (requires configuration) ^+↩ — Open selected repo in app_4 (requires configuration) ⇧+↩ — Open selected repo in app_5 (requires configuration) fn+↩ — Open selected repo in app_6 (requires configuration) reposettings — Open settings.json in default JSON editor reposupdate — Force workflow to update its cached list of repositories. (By default, the list will only be updated every 3 hours.) reposhelp — Open this file in your browser Configuration
     
    Before you can use this workflow, you have to configure one or more folders in which the workflow should search for Git repos. The workflow uses find to search for .git directories, so you shouldn't add huge directory trees to it, and use the depth option to restrict the search depth. Typically, a depth of 2 will be what you want (i.e. search within subdirectories of specified directory, but no lower). Add directories to search to the search_dir array in settings.json (see below).
     
    The default settings.json file looks like this:

    {   "app_1": "Finder",             // ↩ to open in this/these app(s)   "app_2": "Terminal",           // ⌘+↩ to open in this/these app(s)   "app_3": null,                 // ⌥+↩ to open in this/these app(s)   "app_4": null,                 // ^+↩ to open in this/these app(s)   "app_5": null,                 // ⇧+↩ to open in this/these app(s)   "app_6": null,                 // fn+↩ to open in this/these app(s)   "global_exclude_patterns": [],      // Exclude from all searches   "search_dirs": [ {   "path": "~/delete/this/example",   // Path to search. ~/ is expanded   "depth": 2,                        // Search subdirs of `path` "name_for_parent": 1,              // Name Alfred entry after parent of `.git`. 2 = grandparent of `.git` etc.   "excludes": [                      // Excludes specific to this path     "tmp",                           // Directories named `tmp`     "bad/smell/*"                    // Subdirs of `bad/smell` directory   ] }   ] }  
    This is my settings.json:
     
    { "app_1": "Finder", "app_2": ["Finder", "Sublime Text", "SourceTree", "iTerm"], "app_3": "Sublime Text", "app_4": "SourceTree", "app_5": "iTerm", "app_6": "GitHub", "global_exclude_patterns": [], "search_dirs": [ { "path": "~/Code" }, { "path": "~/Sites" } ] }    
    Search Directories
     
    Each entry in the search_dirs list must be a mapping.
     
    Only path is required. depth will default to 2 if not specified. excludes are globbing patterns, like in .gitignore.
     
    name_for_parent defaults to 1, which means the entry in Alfred's results should be named after the directory containing the .git directory. If you want Alfred to show the name of the grandparent, set name_for_parent to 2 etc.

    This is useful if your projects are structured, for example, like this and src is the actual repo:
     
    Code Project_1 src other_stuff Project_2 src other_stuff … …  
    Open in Applications
     
    The applications specified by the app_N options are all called using open -a AppName path/to/directory. You can configure any application that can open a directory in this manner. Some recommendations are Sublime Text, SourceTree, GitHub or iTerm.
     

    Note: As you can see from my settings.json, you can also set an app_N value to a list of applications to open the selected repo in more than one app at once:
     
    … "app_2": ["Finder", "Sublime Text", "SourceTree", "iTerm"], …  
    You can also use → on a result to access Alfred's default File Actions menu.
     
    License, Thanks
     
    This workflow is released under the MIT Licence.
     
    It uses the Alfred-Workflow and docopt libraries (both MIT Licence).
     
    The icon is by Jason Long, from git-scm.com, released under the Creative Commons Attribution 3.0 Unported Licence.
×
×
  • Create New...