Imports are a powerful feature in Plucky configurations. This page shows a couple examples of how they might be used.
Example 1: Susan’s books
Susan likes to research books on the Internet. She also uses Plucky. Over time, Susan has added to her Plucky configuration a large number of links to children’s books on Goodreads that she thinks would be useful to other Plucky users who also like children’s books. To do this, she creates a new configuration of type “allowed urls”, and names it “Susan’s approved children’s books”. She then edits the configuration, copying in all the urls she has accumulated over her Plucky history, and saves the configuration. After saving it, she clicks “Share” and “Publish” to share the configuration with all Plucky users.
Peter, another Plucky user, sees Susan’s configuration in the list of public configurations. Peter views the configuration and clicks the import button. When prompted for which configuration to add it to, he selects his one and only configuration. After his delay elapses, Peter then inherits Susan’s list of approved books.
Later, Susan adds more books to her public configuration. These changes automatically propagate to Peter’s computer. If Peter decides he no longer wants to use Susan’s list, he can remove the import rule for “Susan’s approved children’s books”.
Example 2: A Reddit Subreddit blacklist
u/cocucu, a Reddit user, has written a program that crawls Reddit and identifies not-safe-for-work (NSFW) subreddits. He takes the output of his script and creates a new configuration of type “blocked urls”. He then makes public the configuration so that other Plucky users may import it into their configurations.
Example 3: Work/Play configurations
Edmund uses Plucky to keep himself from being distracted from schoolwork during certain hours of the day. But in the evenings, he likes to allow himself more liberal use of the Internet. So:
- He creates a new configuration of type “general” and gives it the name “work”.
- Edmund then uses the “Imports” tab on his original configuration (on https://u.pluckeye.net/) to import “work” into it. This adds the rule
import:70e27698-d8f0-11eb-834d-637d83413d98to his original configuration.
- Edmund then uses the “Raw edit” tab to add a when condition to this rule, changing it to
9representing 9 am and
17being the 24-hour representation of 5 pm).
- Edmund repeats step 1 - 3 to create another new configuration called “play” and import it into his original configuration, except that he uses
when:17-22to import the configuration from 5 pm to 10 pm (making the final rule
We (Jon and Garet) recognize that this method of adding and managing scheduled imports is a bit cumbersome. We have thought about possible improvements, and will hopefully implement one in the future.