• Stars
    star
    127
  • Rank 274,000 (Top 6 %)
  • Language
    JavaScript
  • License
    MIT License
  • Created about 2 years ago
  • Updated 3 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Citation picker & lightweight reference manager for BibTeX files, via Alfred.

Supercharged Citation Picker

Download Count Last Release

A citation picker and lightweight reference manager for Alfred. Uses BibTeX Files and supports Pandoc Markdown, Multi-Markdown, LaTeX, Org Mode, any various more formats.

showcase

Feature Overview

Core Features

  • Inserts Pandoc Citation Syntax ([@citekey]), supporting page numbers & multiple citations ([@citekey, p. 23; @citekey, p. 42]). Can also be configured to use LaTeX, Multi-Markdown, eta templates, Org Mode, [[wikilinks]], #tags, or bare citkeys as citation format.
  • App-independent: Works system-wide, in every text field of every app.
  • Smart Search: Search for citekeys, authors, title, publication, keywords (tags), include or exclude authors in et al., tab-completion, short queries, sorting recently used entries to the top, …
  • Simple Installation: Just enter the path to your .bib file, and you are ready to go.
  • Blazingly Fast: Considerably quicker than any other citation picker (~200 ms to fully reload a library with ~4000 entries).

Advanced Features

  • Citation Actions: Paste single-entry bibliographies, open URLs, open or create literature notes, attach PDFs, search for .csl files online, and more.
  • Lightweight Reference Management: Automatically rename and file PDFs, add or remove entries.
  • Quickly Add New Entries: Select a DOI or ISBN and add them directly to your BibTeX library via hotkey.
  • Support for two libraries: You can pick citations from two BibTeX Library files at the same time.
  • Obsidian Integration: When located in your Obsidian Vault, literature notes are automatically opened/created in Obsidian instead of the default markdown app.

Table of Contents

Installation

  1. Download the latest release.
  2. Enter the BibTeX Library path.
  3. Use the citation picker via the Alfred keyword ct, or set a hotkey for the citation picker by double-clicking the respective field in the workflow window.

Basic Usage

Press the hotkey in any text field to start the citation picker. Alternatively, use the ct keyword.

Search

  • You can search for the title, author/editor (last name), year, collection, or journal name.
  • Prepend @ to a word to search for a citekey, for example @Grieser2020.
  • Prepend # to search for keywords (tags), for example #sociology.
  • Smart Queries: You can search for any combination of the above. For example, the query 2020 #cognition grieser searches for entries published in 2020, with the tag "cognition," and with "Grieser" as author/editor.
  • Short Queries: You do not need to fully spell out every item. grie #cogn 2020 gives you the same result as above, if no other author begins with grie and no other tag starts with cogn.

Citation Actions

  • ⏎: Paste the citekey of the selected citation.
  • βŒ₯⏎: Add another citation.
  • β‡§βŒ˜βŽ: Paste an inline-citation (citation without surrounding formatting, for example @Grieser2022 instead of [@Grieser2022])
  • ⌘⏎: Add page numbers before pasting the selected citekey.
    • Confirm the page number with βŒ₯⏎ or ⌘⏎ to add another citation afterward.
    • Confirm with β‡§βŒ˜βŽ for an inline-citation with page number (@Grieser2022 [p. 42]).

URL Actions

  • βŒƒβŽ: Open the URL in the browser.
  • ⌘C: Copy the URL to the clipboard.
  • In both cases, if the entry has a DOI but not a URL, the citation picker uses the DOI-URL (https://doi.org/…) instead.

Icon Meanings

Icon Entry has
🌐 URL or DOI
πŸ“„ Abstract
n 🏷 n Keywords
πŸ““ Literature Note
πŸ“• PDF
2️⃣ entry is from 2nd library

Changing the Citation Format

Available Formats

You can use the scp and select Change Citation Format to change the format of the citations:

  • Pandoc (default)
  • Org Mode
  • Multi-Markdown (MMD)
  • LaTeX
  • eta template
  • iA Writer
  • [[wikilink]]
  • #tag
  • bare citekey
  • bracketed citekey

Note

Not all formats support all citation-related features. For example, adding Page numbers as well as inline-citations are not supported for Latex, Wikilinks, and Tags.

Other Format Customizations

If you want to use a format that is not available, you can customize the format yourself by changing the workflow environment variables starting with _format. (Tutorial: How to set environment variables in Alfred)

If there is a citation syntax that is commonly used, or if you want to improve support for an existing format, feel free to open a Feature Request.

You can also make a PR to this file which defines the citation formats.

Advanced Usage

Bibliography Actions

  • β‡§βŽ: Reveal the entry in Zotero, neovim, BibDesk, VS Code, or Sublime Text, depending on the setting in the workflow configuration. (Note that this does not work for the secondary library.)
  • ⌘βŒ₯⏎: Paste the full bibliographic entry.
    • Requires Pandoc.
    • The used citation style can be customized in the settings. By default, the APA 7th Style is used.
  • ⌘L: Preview the unabridged title, abstract, and list of all keywords (tags).
  • ⌘fn⏎: Delete the entry from the BibTeX library. (⚠️ This cannot be undone.)
  • ⌘Y: Preview the URL of entry in a QuickLook window.

Add New Entries

  • Universal Action or Hotkey: Uses the selected DOI, ISBN, or URL containing a DOI to add a new entry to the library.

Note

Adding or removing entries does not work with the BetterBibTeX Zotero Plugin since the plugin only does a one-way-sync (Zotero ➞ BibTeX file), meaning any changes to the .bib file are not reflected in Zotero.

Literature Note Actions

  • The citation picker looks in the folder specified in the workflow settings for files that are exactly named like the citekey, optionally followed by an underscore _ and some text, for example: {citekey}.md or {citekey}_{title}.md. The citekey itself must not contain underscores, and the filename must not include the @.
  • Entries that have such a literature note is indicated by a πŸ““.
  • βŒƒβŒ₯⏎: Open the literature note.
    • If the file is in your Obsidian Vault, it is opened directly in Obsidian instead of the default text editor.
    • If there is no literature note, a new one is created.
  • Add * to any search query to filter only for entries with literature notes, for example * grieser searches for entries matching "Grieser" which also have a literature notes. Can be combined with other queries (see: smart queries).

PDF Management Actions

The following features require that all your PDFs are located in the folder specified in your workflow settings.

  • The πŸ“• indicates that the entry already has an associated PDF at that location.
  • Hyper⏎1: If the entry has an associated PDF file, open it with the default PDF reader. The citekey must not contain an underscore (_). If the PDF folder setting is left empty, tries to open a PDF file listed under the file key in the BibTeX file.
  • Add pdf to any search query to filter only for entries with PDFs that have been added by the auto-file feature. pdf grieser, for example, displays only entries from the author "Grieser" with PDFs. Can be combined with other queries (see: smart queries).

Link Preview

Auxiliary Features

Triggered via the Alfred Keyword scp (mnemonic: Supercharged Citation Picker).

  • Cheatsheet: Open a cheat sheet of the available actions of the Supercharged Citation Picker.
  • Citation Style Search: Search for a citation style (.csl file), which is downloaded to the location specified in your workflow settings (default: ~/.pandoc/csl/).
  • Force Buffer Reload: Force a reload of the citation picker. Mostly for debugging purposes.

Cite this software project

If you want to mention this software project in an academic publication, please cite it as:

Grieser, C. (2023). Supercharged Citation Picker [Computer software]. 
https://github.com/chrisgrieser/alfred-bibtex-citation-picker

For other citation styles, use the following metadata:

About the Developer

In my day job, I am a sociologist studying the social mechanisms underlying the digital economy. For my PhD project, I investigate the governance of the app economy and how software ecosystems manage the tension between innovation and compatibility. If you are interested in this subject, feel free to get in touch.

For bug reports and features requests, please use the GitHub issue tracker.

Donate

Buy Me a Coffee at ko-fi.com

Credits

Icons created by Freepik (Flaticon)

Footnotes

  1. Hyper is an artificial "fifth" modifier key equal to ⌘βŒ₯βŒƒβ‡§, and can be created using apps like Karabiner Elements, BetterTouchTool, or Hyperkey. ↩

More Repositories

1

shimmering-obsidian

Alfred Workflow with dozens of features for controlling your Obsidian vault.
JavaScript
735
star
2

nvim-spider

Use the w, e, b motions like a spider. Move by subwords and skip insignificant punctuation.
Lua
427
star
3

shimmering-focus

Minimalistic Obsidian Theme for keyboard-centric users.
CSS
421
star
4

nvim-various-textobjs

Bundle of more than 30 new text objects for Neovim.
Lua
412
star
5

nvim-scissors

Automagical editing and creation of snippets.
Lua
219
star
6

nvim-genghis

Convenience file operations for neovim, written in lua.
Lua
179
star
7

nvim-recorder

Enhance the usage of macros in Neovim.
Lua
168
star
8

nvim-early-retirement

Send buffers into early retirement by automatically closing them after x minutes of inactivity.
Lua
154
star
9

obsidian-smarter-md-hotkeys

A plugin for Obsidian providing hotkeys that select words and lines in a smart way before applying markup. Multiple cursors are supported as well.
TypeScript
131
star
10

nvim-origami

Fold with relentless elegance.
Lua
98
star
11

pandoc_alfred

Pandoc-Suite for Academic Writing in Markdown
JavaScript
96
star
12

nvim-tinygit

Lightweight and nimble git client for nvim.
Lua
93
star
13

nvim-kickstart-python

A launch point for your nvim configuration for Python
Lua
84
star
14

obsidian-theme-design-utilities

Some Utilities and Quality-of-Life Features for Designers of Obsidian Themes
TypeScript
83
star
15

pdf-annotation-extractor-alfred

Alfred Workflow to extract annotations from PDF files.
JavaScript
71
star
16

nvim-chainsaw

Speed up log creation. Create various kinds of language-specific log statements, such as logs of variables, assertions, or time-measuring.
Lua
65
star
17

finder-vim-mode

Feature-rich mouseless control of macOS Finder, inspired by vim/ranger.
Makefile
62
star
18

nvim-rulebook

Add inline-comments to ignore rules, or lookup rule documentation online.
Lua
61
star
19

obsidian-divide-and-conquer

An Obsidian plugin that provides commands for bulk enabling/disabling of plugins. Useful for debugging when you have many plugins.
TypeScript
50
star
20

nvim-puppeteer

Automatically convert strings to f-strings or template strings and back.
Lua
48
star
21

.config

My personal dotfiles
Lua
41
star
22

nvim-alt-substitute

A substitute of vim's :substitute that uses lua patterns instead of vim regex. Supports incremental preview.
Lua
40
star
23

grappling-hook

Obsidian Plugin for blazingly fast file switching. For those who find the Quick Switcher still too slow.
TypeScript
39
star
24

new-tab-default-page

Obsidian plugin to open a note of your choice when creating a new tab, like in the browser.
TypeScript
39
star
25

zsh-magic-dashboard

Pressing "enter" on an empty buffer displays an information-rich and pretty dashboard.
Shell
29
star
26

cmp-nerdfont

nvim-cmp source for nerdfont icons
Lua
29
star
27

alfred-neovim-utilities

Search neovim plugins and online :help via Alfred
JavaScript
26
star
28

twitter-workspace-for-drafts

Various capabilities for composing tweets in the Drafts app.
22
star
29

nvim-dr-lsp

Status line component showing the number of LSP definition and reference of the token under the cursor.
Lua
22
star
30

obsidian-sembr

Obsidian Plugin for Semantic Line Breaks
TypeScript
21
star
31

cmp_yanky

cmp-source for clipboard history from yanky.nvim
Lua
20
star
32

obsidian-footnote-indicator

Indicates the presence of footnotes in the gutter and the Status bar
Shell
19
star
33

obsidian-quadro

Obsidian Plugin for social-scientific Qualitative Data Analysis (QDA). An open alternative to MAXQDA and atlas.ti, using Markdown to store data and research codes.
TypeScript
18
star
34

alfred-reddit-browser

Browse your favorite subreddits (and hackernews) via Alfred.
JavaScript
17
star
35

nvim-pseudometa-plugin-template

A template for new nvim plugins
Shell
16
star
36

alfred-atop

System Monitoring and Process Management via Alfred
JavaScript
15
star
37

alfred-docs-searches

Search more than two dozen official documentation sites via Alfred
JavaScript
14
star
38

pdf-summarizer-alfred

Get summaries of your PDFs via ChatPDF.
Shell
11
star
39

obsidian-extra-md-commands

Obsidian plugin that adds various commands, e.g. for __bold__ or <cite>.
TypeScript
11
star
40

wrench-knife

Collection of useful snippets for Hammerspoon
Lua
11
star
41

hyper-seek

Alfred workflow that shows inline search results, without a keyword.
JavaScript
10
star
42

obsidian-sidebar-toggler

Finer control of the Obsidian sidebars. To be used with an external window manager.
TypeScript
10
star
43

pseudometa-obsidian-plugin-template

A description for the plugin
Shell
9
star
44

pdf-annotation-extractor

Extracts Annotations from PDFs as well-formatted markdown
JavaScript
9
star
45

gitfred

Helpful GitHub Assistant for Alfred.
JavaScript
9
star
46

alfred-homebrew

Search, install, or uninstall homebrew packages conveniently via Alfred.
JavaScript
9
star
47

alfred-themes

A small collection of Alfred Themes I designed
8
star
48

obsidian-nothing

An Obsidian plugin that adds a no-op command.
Shell
8
star
49

dotfiles-old

pseudometa's dotfiles
TeX
7
star
50

obsidian-smarter-paste

Improvements for when you paste things into Obsidian
TypeScript
6
star
51

alfred-pass

Alfred Client for the pass-cli
JavaScript
6
star
52

alfred-steam-companion

Alfred Workflow that interacts with Steam. Launches games directly, creates aliases, uninstalls games, and searches the Steam Store
6
star
53

drafts-snooze

Combination of settings, draft actions and shortcuts to enable the snoozing of drafts.
5
star
54

alfred-read-later

Simple standalone read-later-app for Alfred. Saves the items in plaintext on your device.
JavaScript
5
star
55

portfolio-performance-alfred

Searches your watchlists in the Portfolio Performance App for securities. Select one to copy its Name, Symbol, ISIN, or WKN to the clipboard.
JavaScript
4
star
56

alfred-workflow-template

Shell
4
star
57

alfred-writing-assistant

Autocorrection and synonym suggestions for the word under the cursor. Rephrasing of the selected text. All with one key press.
Shell
4
star
58

obsidian-task-statusbar

Obsidian plugin that displays the number of completed and total tasks in the status bar.
Shell
3
star
59

axelrod-prisoner-dilemma

Recreation of the prisoner's dilemma model from Axelrod's "Evolution of Cooperation" in Python
Python
2
star
60

obsidian-personal-plugin

Personal Obsidian plugin, containing features customized to my workflow.
TypeScript
2
star
61

tot-alfred

Tot.app Integration for Alfred.
JavaScript
2
star
62

apuz-gender-analyzer

Analysis of the genders of the authors at the German journal "Aus Politik und Zeitgeschichte" (APuZ)
Python
2
star
63

alfred-wikipedia-suggest

Get in-line Wikipedia search suggestions
JavaScript
2
star
64

quadro-example-vault

Example vault for Quadro, the QDA Plugin for Obsidian.
Makefile
2
star
65

name-gender-analyzer

Makefile
1
star
66

test-repo

This repo is currently only used for testing GitHub Release Actions
Shell
1
star