If you are new to Pluckeye or you are looking just for the most commonly used commands, see Command line basics.
If you are unfamiliar with running commands in a console you should not need to do so often, as most actions can also be performed by clicking buttons in the Pluckeye browser extension. (If you have the browser extension installed, click on the Pluckeye button in the top right of your browser to get started.) If you do want to use commands, see Notation for exactly how to type them in.
To search this page by keyword, use Ctrl + F on Windows & Linux or Command + F on Mac.
To add an allow rule:
pluck + allow wikipedia.org
pluck + block image/
To enable the system feature:
pluck + system
Adds a rule to your configuration or enables a feature.
pluck + [rule]
To remove an allow rule:
pluck - allow facebook.com
To remove a when rule:
pluck - when 8-9 allow youtube.com
To disable the nhb feature:
pluck - nhb
Removes a rule from your configuration or disables a feature. For example, if you delete a
block rule for a given site, Pluckeye reverts to the default setting of blocking images and video while allowing pages to otherwise load. (An exception to this rule occurs if you have changed the default `block image/`, `block video/`, or if you have conflicting rules already in place. For example, if you have
allow google.com and
block google.com, the block rule overrides the allow rule. If the block rule is deleted, the allow rule succeeds. If the allow rule is also deleted, the default rule succeeds and blocks images and video while allowing the site to otherwise load.)
If you attempt to remove a rule that is not in your configuration, this command does nothing.
pluck - [rule]
In all of the following examples a rule change is entered, but the rule never comes into effect if you have a non-zero delay, because the change is aborted.
pluck + allow wikipedia.org pluck abort
pluck + allow https://example.com/foo pluck abort example.com
pluck + allow example.com image/ pluck abort image
Aborts pending rule changes (those that will take effect once the delay has elapsed). By default all pending rule changes are removed. If a website, page, program, etc. is given, all pending changes that match that context are removed.
pluck abort [context]
Fetches expedite approvals from the users site. Currently it is necessary to run this after one of your supporters has approved one of your expedite requests, in order for the change to take effect on your device. Hopefully this will be automatic in the future.
Removes all Pluckeye rules, meaning you will have full Internet access after your delay elapses. It makes sense to run this once after you first install Pluckeye if you want Pluckeye to only block a few websites, and allow all access otherwise. There is no way to automatically go back to the configuration you had after running this. If you want to save your existing configuration so you can restore it later, you can use export to do this.
See also: allow everything
A maintenance command to shrink data.
Main article: Delay
Prints the current delay, and also non-standard delays that apply to specific websites, pages, programs, etc.
The output you see when you run this command will depend on your Pluckeye configuration; the default configuration produces outputs similar to the ones shown here.
Input (what you type):
pluck eval google.com
Output (what the computer adds):
allow because of rule 330: allow
eval says google.com is allowed, but this does not mean that all content (like images) will be visible on the website. All it means is that you should be able to visit the page. In order to determine if images will be shown, we must add
pluck eval google.com image/
block because of rule 420: block image/
Evaluates whether a given website, page, program, etc. is allowed according to your current configuration. It can be used to troubleshoot why something is or isn’t being displayed. Note that merely giving a website will tell you whether the website will load, not whether images or video on the website are allowed. (See the examples.)
By default, the command has an exit code of 0 unless an error occurs. If the
-x flag is used, the command will have an exit code of 0 if the result was
null, and a non-zero exit code if it was
block. (If you have no idea what this means, then you have no use for the
-x flag.) This is mainly useful in scripts.
pluck eval [-x] <context>
All of these examples demonstrate how to create a file on your Desktop that contains your Pluckeye configuration.
cd Desktop pluck export > pluckeye-configuration.txt
cd ~/Desktop pluck export > pluckeye-configuration.txt
Prints your Pluckeye configuration and any pending changes to it. (In technical terms, it prints all of the rules in your Pluckeye configuration and all pending rule changes to standard output.) You can also use it (as shown in the examples) to save your configuration in a file.
Resets Pluckeye to its “factory” settings (i.e., as if you had just installed for the first time). Your current configuration will be lost. If you plan to reuse or restore your current configuration, make sure you export and save it to a configuration file before performing the factory reset.
The output of this command will depend on your Pluckeye configuration; the default configuration produced the outputs shown here.
This example will give no output, since none of the rules in the default configuration contain “google.com”.
pluck find google.com
pluck find image/
allow image/svg+xml block image/
This feature was added to Pluckeye in versoin 1.0, so if you are using an older version of Pluckeye, this will not work for you.
Print rules in your configuration that match the given term(s). (In more technical terms, if any of the terms is a substring of a given rule, that rule is printed.)
pluck find <term(s)>
Prints all pending changes to your configuration.
Prints usage and examples for basic Pluckeye commands. In v1.0.23 it reads:
Usage: pluck [--help|--more-help] pluck [add|del|+|-] <rule> pluck export Examples: pluck + allow ok.com pluck + block http://no.com/something pluck - block um.com pluck export
See also: more-help
pluck --help or
Before running this command, first open the terminal in the directory (AKA folder) containing the pluckeye-configuration.txt file that you want to import.
pluck import pluckeye-configuration.txt
Overrides current configuration and imports a configuration file. The configuration file should contain a list of Pluckeye rules, with one rule per line. Lines starting with
# will be ignored, so it can be used to add comments.
pluck import [configuration file]
pluck import-allow good-websites.txt
In good-websites.txt, there could be:
google.com facebook.com https://youtube.com/watch
import, but the file should contain a list of websites, pages, programs, etc., and an `allow` rule will be added to your configuration for each one of these. This is equivalent to running
pluck + allow [line] for every line in the context file, except that lines starting with
# in the context file will be ignored.
pluck import-allow [context file]
pluck import-block bad-websites.txt
Similar to import-allow, but all of the websites, pages, programs, etc. in the context file will be blocked.
pluck import-block [context file]
Synonym for approved?.
pluck mety .css
In this case, the output would be:
.css -> text/css
which tells you that the media type of CSS files is
See also: Media types
Prints the media type for the specified extension.
pluck mety .<extension>
Prints usage and examples for many Pluckeye commands.
See also: help
pluck --more-help or
See also: sync
Attempts to repair Internet access.
This pipeline finds all rules in your configuration that contain “example.com”, replaces “allow” with “when now+5m block” in all of the rules, and then imports these new rules into your configuration. The point is to cause all content on example.com that was allowed by
allow rules before to be blocked for the next five minutes.
pluck find example.com | pluck replace allow "when now+5m block" | pluck import -
This more technically advanced command reads standard input, replaces all instances of string0 with string 1, and prints the result on standard output. This is useful when pipelining.
pluck replace <string0> <string1>
Sends expedite requests to the users site so that someone else can approve them.
See also: refresh
A maintenance command to shrink data.
Similar to import, except that it removes all of the rules in the configuration file instead of adding them.
pluck unimport [configuration file]
Similar to import-allow, except that it removes
allow rules for each of the websites, pages, programs, etc. in the context file instead of adding them.
pluck unimport-allow [context file]
Similar to import-block, except that it removes
block rules for each of the websites, pages, programs, etc. in the context file instead of adding them.
pluck unimport-block [context file]
Uninstalls Pluckeye. The delay must be 0 before you do this.
Print recent Internet connection attempts and whether Pluckeye allowed or blocked them.
Print the version of Pluckeye that is installed.
These commands are outdated, but were used in older versions of Pluckeye.
Replaced by + (add), which works the same way.
Replaced by - (minus), which works the same way.
Sets the level. Replaced by the system feature.
pluck level [new level]
Replaced by - (minus), which works the same way.
Sets the delay. Replaced by delay.
Usage: pluck set “delay <new delay>”
Replaced by repair.