Jump to content

jmjeong

Member
  • Posts

    86
  • Joined

  • Last visited

  • Days Won

    6

Posts posted by jmjeong

  1. Github: https://github.com/jmjeong/alfred-extension/tree/master/alfred-bookmark

    Download link: https://github.com/jmjeong/alfred-extension/raw/master/alfred-bookmark/alfred-bookmark.alfredworkflow

     

    alfred-bookmark

    Alfred 3 workflow to manage Browser's bookmark. It is tested on Google Chrome and Safari.

    Install

    To install, download the latest file and double-click to open in Alfred 3.

    Setup & Keys

    68747470733a2f2f636c2e6c792f3331626236303836383062352f646f776e6c6f61642f53637265656e73686f742532306f66253230416c66726564253230507265666572656e63657325323028322d31382d31392c253230322d32342d3433253230414d292e706e67

    • Add Bookmark (Configurable: F5)

    • Search Bookmark - Supports Incremental search (Configurable: F1)

    • Edit Bookmark (mod:Ctrl in search mode, Enter in add mode)

    • Delete Bookmark (mod:Option)

    • Copy Bookmark (mod:Command)

    • Open Bookmark in Google Chrome Incognito mode (mod:Shift)

    • Quick Look URL (Shift)

    Usage

    Search Bookmark (F1)

    68747470733a2f2f636c2e6c792f6635666436323633353739342f7365617263682e706e67

    Add Bookmark (F5)

    68747470733a2f2f636c2e6c792f6564616336643339363966632f6164642e706e67

    Search terms

    You can search any terms (order does not matter).

    Bookmark Sort order

    • Accessed, launch count, registered time (default)

    Sync between several machines

    You can sync bookmark database through several machine via DropBox.

    mv '~/Library/Application Support/Alfred 3/Workflow Data/com.jmjeong.alfred-bookmark/pinboard.db' ~/Dropbox/Apps
    ln -s ~/Dropbox/Apps/pinboard.db '~/Library/Application Support/Alfred 3/Workflow Data/com.jmjeong.alfred-bookmark/'
  2. https://www.alfredapp.com/help/workflows/inputs/script-filter/json/

     

    autocomplete field seems not to be applicable to mods field. 

    It would be helpful to support this option to mods objects.  

     

    Sometimes it is necessary to expand other words with the mods key when creating a workflow.

     

     

    Quote

     

    autocomplete : STRING (recommended)

    An optional but recommended string you can provide which is populated into Alfred's search field if the user auto-complete's the selected result (⇥ by default).

    If the item is set as "valid": false, the auto-complete text is populated into Alfred's search field when the user actions the result.

     

     

  3. Web bookmarks of Alfred provide search functionality for Safari and Chrome. 

    How about supporting to delete or edit bookmarks?

     

    Currently, there is one action for the searched bookmark. Please add some modifier in the configuration screen, perform delete or edit bookmark with the modifier key.

     

    Please let me know what you think.

  4. Add to Things workflow. Supports date parsing for easy input.

     

    t title #tag @t|n|s ::note >duedate (ex. fri, 3d, 2w, 12/31) - create things todo

    tm title #tag @t|n|s >duedate - create todo with clipboard contents as a note

     

    - Syntax
        - #tag : tag
        - Focus : default location is 'Inbox'
            - @t : @Today 
            - @n : @Next
            - @s : @Someday
        - ::note : note
        - > duedate
            - > : today
            - > 2d : two days after
            - > fri : next friday 
            - > -1d : one day before 
            - > 11/23 : November 23

     

     

    ex) 

     

    t test  > fri (next friday)

    t test  > 2 (2 days after)

    t test > 1w (1 week after)

     

    GitHub Link - latest version

     

    screenshot.jpg

  5. Ooo, this is great! I tried it and i like it! Please, can you add ability write comment/description for link

     

    I considered the feature you suggested in design phase, I decided not to add it because this makes the workflow too complicated.

     

    If you have pinboard.in account, you can modify comment/description of bookmark in pinboard.in web page and be able to re-download it. 

  6. Bookmark is alfred workflow which enables to manage and search bookmark. You can add browser's URL to bookmark, add multiple tags to it, and search it.

    This workflow works without pinboard.in account. You can link pinboard.in account with this workflow also.

     

    Download: https://github.com/jmjeong/alfred-extension/blob/master/bookmark/bookmark.alfredworkflow?raw=true

    Youtube Link: https://youtu.be/ImXADq0mBRM

     

    After integrating pinboard.in account, you can download the data pinboard.in using pbreload command.

    Bookmark workflow provides...

    • Add bookmark - add frontmost browser's url to bookmark
      • In adding bookmark, you can assign multiple tags.
    • Search bookmark
    • Delete bookmark
    • Assign [private], [star] attribute in bookmark
      • You can narrow the search space using this property
    • Several sort options
      • launch count
      • accessed
      • added
    • Pinboard integration
      • Your local bookmarks are replaced with pinboard.in data after integration
      • After integration, add/delete operation is synced with pinboard.in
      • You can download pinboard.in bookmark with pbreload command.

    Install

     

    You need to set key manually after installing bookmark.

    • Cmd-Shift-Ctrl-P : Workflow launch (Search condition follows setting)
    • Cmd-Shift-Ctrl-K(!) : Search every bookmark temporary (Ignore settings)
    • Cmd-Shift-Ctrl-L(*) : Search marked bookmark only
    • Cmd-Shift-Ctrl-;(+) : Add bookmark (This key is valid only when browser is the frontmost window)

    Assign attribute to bookmark

     

    You can change search condition from setting menu(_).

    • private : Toggle with [shift] modifier key
    • star : Toggle with [ctrl] modifier
    • You can change attributes of multiple bookmarks of the same tag.
      • ctrl: set mark, shift: unset mark, alt: set private, cmd: unset private

    Setting

    • mark[filter]
    • private[filter]
    • sort
      • accessed, launch_count, time
      • launch_count, accessed, time
      • time, accessed

    Command

    • bm (ctrl-shift-cmd-p)

      • ! (ctrl-shift-cmd-k) - Search every bookmarks (ignore search condition in setting)
      • * (ctrl-shift-cmd-l) - Search marked bookmark only
      • + (ctrl-shift-cmd-) - Add URL to bookmark.
      • # - Tag search
    • For entries

      • Enter : launch bookmark
      • Ctrl : toggle mark attribute
      • Shift : toggle private attribute
      • Alt : delete bookmark
      • Cmd : copy URL
  7. First: Thank you for this awesome workflow! 

     

    I have two little questions:

    - Is it possible to add Vivaldi to the supported browsers?

    and 

    - pset browser don`t work for me. Have tried to reinstall the entire workflow, but without any changes.

     

    Cheers, 
     

    Alex 

     

    I am afraid but you seem to post this comment to the wrong topic.  alfred-pinboard do not have 'pset' command.

  8. I installed this excellent workflow in a second account on my Mac today and had problems getting it working. The pbauth command wasn't working. After looking at the debug console for the workflow I noticed that the workflow was trying to write to the file '/private/var/tmp/alfred.pinboard.log' and was getting "Permission Denied". After changing permissions on that file to rw-rw-rw- (666) I was able to get pbauth to work from the second user account.

     

    You may want to create that file with these permissions, if possible, to avoid this problem.

     

     

    Thank you for the reporting. This log is for debugging in development and may be excluded in release version.

     

    '/var/tmp/alfred.pinboard.log' is used for debug log. In your case, there seems be symbolic link in this directory. 

     

    ---

     

    <2015-08-05 Wed> I encountered this problem in my new MacBook Air. I have released v2.27 version to fix this problem. 

  9. Thanks for the fast reply! I should have been more precise. A picture is worth a thousand words: 

     

    https://www.dropbox.com/s/t600649i0drhzbi/Screenshot%202015-02-12%2010.14.41.png?dl=0

     

     

    Because alfred-pinboard search is case-insensitive, 'Reference', 'reference', and 'reference-data' are searched. 

     

    If it it case-sensitive, only 'Reference' will be searched. May I miss something?

     

    p.s. Do you want that 'Reference' and 'reference' category are merged in one category?

  10. Thank you for a wonderful workflow!

    On Pinboard, "tags are not case-sensitive, but they will display the way you entered them". Yet, your workflow seems to be case-sensitive (differentiating results for my bookmarks tagged 'Reference' from those tagged 'reference'. Is there a way to restore the Pinboard default setting?

    Thank you very much!

     

    All search of alfred-pinboard is case-insensitive. I tested it just ago, but I can't find any problem. Could you test again?

  11. Download

     

    https://dl.dropboxusercontent.com/u/4345768/markdown-toc.alfredworkflow

     

    Usage:

     

        Select markdown document, and select [Markdown TOC] then toc contents are copied to Clipboard. 

     

    Markdown:

     

     

    ## A

    ### Aa
    #### aa
    #### ab
    ### Ab
    ## B
    ### Ba
    #### ba
    #### bb
    ### Bb
    ### Bc
    ## C
    ### Ca
    #### ca

     

    Output

     

       Default depth of section is 2. 

     

    1 A

     1.1 Aa
      1.1.1 aa
      1.1.2 ab
     1.2 Ab
    2 B
     2.1 Ba
      2.1.1 ba
      2.1.2 bb
     2.2 Bb
     2.3 Bc
    3 C
     3.1 Ca
      3.1.1 ca

     

     
     

     

     

     

     

     

     

  12. ~/Dropbox/Apps/Alfred.alfredpreferences/workflows/user.workflow.BAF71062-A6BA-40A6-A1A0-09B8628D42E5 $ python update.py 

    Excludes setting - [u'tmp', u'bad/smell/*', u'old*']

    20:46:17 update.py:89 DEBUG    repo `alfred-extension` at `/Users/jmjeong/git/alfred-extension`

    20:46:17 update.py:89 DEBUG    repo `bobby` at `/Users/jmjeong/git/bobby`

    20:46:17 update.py:89 DEBUG    repo `CCMask` at `/Users/jmjeong/git/CCMask`

    20:46:17 update.py:89 DEBUG    repo `cocos-samples` at `/Users/jmjeong/git/cocos-samples`

    20:46:17 update.py:89 DEBUG    repo `django-appsales` at `/Users/jmjeong/git/django-appsales`

    20:46:17 update.py:89 DEBUG    repo `Hyde` at `/Users/jmjeong/git/Hyde`

    20:46:17 update.py:89 DEBUG    repo `ihd2` at `/Users/jmjeong/git/ihd2`

    20:46:17 update.py:89 DEBUG    repo `iLink` at `/Users/jmjeong/git/iLink`

    20:46:17 update.py:89 DEBUG    repo `jmjeong.com` at `/Users/jmjeong/git/jmjeong.com`

    20:46:17 update.py:89 DEBUG    repo `old.jmjeong.com` at `/Users/jmjeong/git/old.jmjeong.com`

    20:46:17 update.py:89 DEBUG    repo `old.jmjeong.github.com` at `/Users/jmjeong/git/old.jmjeong.github.com`

    20:46:17 update.py:89 DEBUG    repo `PlanBeQuickAdd` at `/Users/jmjeong/git/PlanBeQuickAdd`

    20:46:17 update.py:89 DEBUG    repo `todo.txt-ios` at `/Users/jmjeong/git/todo.txt-ios`

    20:46:17 update.py:89 DEBUG    repo `vitae` at `/Users/jmjeong/git/vitae`

    20:46:17 update.py:89 DEBUG    repo `weatherrecord.new` at `/Users/jmjeong/git/weatherrecord.new`

    20:46:17 update.py:94 DEBUG    15 repos found in `/Users/jmjeong/git` in 3.95 s

    20:46:17 workflow.py:970 DEBUG    Cached data saved at : /Users/jmjeong/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/net.deanishe.alfred-git-repos/repos.cache

    20:46:17 update.py:141 INFO     15 repos found in 4.03 s

    20:46:17 update.py:142 INFO     Update finished

     

    old.jmjeong.com and old.jmjeong.github.com is not symbolic link. 

    I thought these directories is not included in the result set because of 'excludes' setting. 

  13. Indeed, it didn't follow symlinks (which is find's default behaviour).

     

    I've added a new version (1.3) that does follow symlinks. Give that one a go.

     

    v1.3 follow symlinks, but global_exclude_pattern doesn't work. 

     

    I set 'global_exclude_patterns": ["old*"] '  in settings.json, but old.jmjeong.com repo still appears. In the previous version, it doesn't

  14. Very useful workflow. 

     

    - Search is not working when there is  "space" + "-" + "space" in the title of the workflow 

    - Search by author is not working for me when there is "space" + "-" + "space" in the tittle of a workflow.

     

    Will have to rename 100+ workflow  :D

    Your workflow is so worth it. 

     

    I updated the workflow just ago. 

     

    V2.8 now handles the title and author having space properly.

×
×
  • Create New...