A Plain Folder is an ordinary folder of Markdown files that EtherPK opens and edits where it is, such as a code repository's docs folder or a folder of notes written in another editor. It is not a graph. It has a file tree in place of the Graph Sidebar, standard Markdown links between files in place of wikilinks, and no journal, backlinks or tasks view.

EtherPK adds nothing to the folder when you open it. A save changes only the lines you edited, and keeps each file's line endings and encoding, so a change shows in Git as the lines you typed. Other programs, such as a code editor, Git or a coding agent, can work on the same files at the same time.

Use a Plain Folder when the files belong to something else and must stay as they are. Use a folder graph when you want journal entries, wikilinks, backlinks and search over your notes. See Folder Graphs for more information.

Before you begin

You need Chrome or Edge on a computer, or Chrome on Android. See Choosing Where To Store Your Notes for more information.

Open a folder as a Plain Folder

To open a folder:

  1. On the Graphs page, select Open folder. If your browser has no graphs apart from the demo graph, select Choose a folder in the Create a Folder Graph panel.
  2. In the folder picker, choose the folder.
  3. When asked, allow EtherPK to view and edit the files.
  4. In the dialog that names the folder, select Open as a Plain Folder, then select Open.

EtherPK looks inside the folder before it asks. A folder that already holds a graph opens as that graph without the question. For any other folder, the dialog says what it found and offers three choices:

Choice What it does
Open as a Plain Folder Edits the files where they are.
Create a graph in this folder Adds the journals, pages, assets and etherpk folders and an AGENTS.md file, and opens the folder as a folder graph.
Import into a new graph Copies the files into a new graph and leaves the folder as it is. See Importing A Knowledge Base for more information.

The folder opens at its README.md if it has one. Plain Folders are listed under Plain Folders on the Graphs page, apart from your graphs, and in a Plain Folders group at the end of the Graphs menu in the header. Select a folder in the menu to open it. To remove one from the list, select the cross button on its card on the Graphs page. Your files stay on disk.

The Graphs page marks Plain Folders and Folder graphs (not synced). EtherPK does not copy either to another device.

You can also drag a folder from your file manager onto the Graphs page.

Find and open files

The file tree on the left lists the folder's files and folders. Hidden entries, whose names start with a dot, are left out.

To Do this
Open a file Select it in the tree.
Go to a file by name Select Go to file, or press Ctrl+P or Ctrl+K (Cmd on a Mac), and type part of its name or path.
Search the text of every file Select Search, or press Ctrl+Shift+F. EtherPK reads the files as you search, because a Plain Folder has no search index.
Jump to a heading Open the outline with the button at the right of the toolbar, and select a heading.
Keep a file at the top of the tree Right-click the file and select Add to favourites.

The address in the browser names the folder and the file, so you can bookmark a file or go back to the one before with the browser's Back button.

Create, rename, move and delete

Right-click a file or folder in the tree, or use the buttons above it:

  • New file and New folder create an entry in the folder you selected. Type a file's name with its extension, such as soil.md.
  • Rename changes a name. You can also press F2.
  • Move takes a path inside the folder, such as notes/soil.md, and moves the entry there.
  • Delete removes the entry from the disk after you confirm. EtherPK has no bin for a Plain Folder, so use Git or your file manager to get a file back.

When a rename or a move breaks links between files, EtherPK asks whether to update them. Update links rewrites each link so that it leads to the same file as before. A file that another program changed while the question was open is left as it is, and the message names it.

The editor is the same one a graph uses, with the graph's own syntax left out:

  • [[double brackets]] are plain text. Link to another file with a Markdown link, [soil](guide/soil.md). Type ]( after the link text and EtherPK suggests the files in the folder.
  • A link to a heading, [beds](watering.md#beds), opens the file at that heading.
  • Lists written with -, *, + or numbers all take the outliner keys: Tab nests an item under the one above it, Shift+Tab lifts it, and Enter starts the next item with the same marker. A numbered list counts on.
  • Tab on a paragraph does nothing. It does not turn the paragraph into a bullet.
  • A picture you paste or drop is saved in an assets folder beside the file, and linked with a relative path. Folder settings on the toolbar changes where pasted files go.

Files that are not Markdown open too. A text file, such as a script or a .yaml file, opens in a plain editor with its own syntax colours, in the same font and size as a code block in a document. A PDF, an EPUB EBook, a picture or a recording opens in the same reader a graph uses. Other EBook formats, such as .mobi, show the file's name and a Save a copy button. A file that is not UTF-8 text opens read-only. A file over 2 MB opens read-only too, with an Open it anyway button.

Pictures from the internet

A Markdown file can show a picture from another website, and loading it tells that website your IP address. So EtherPK does not load remote pictures in a Plain Folder until you select Load remote images in this folder where one would be shown. The choice is kept in this browser for that folder. It is never read from the folder itself.

When another program changes a file

EtherPK reads a file again just before it saves, and checks the folder when you return to the tab.

  • A file you have not edited shows the new text.
  • A file you have edited is not overwritten. A dialog asks whether to keep your text or take the text on disk.
  • A file that was deleted keeps its text in the tab, under a notice with a Restore the file button. EtherPK does not write the file back unless you ask.

What EtherPK adds to the folder

Nothing, until you add something that is not part of a file: a highlight or a note on a PDF or an EBook, a bookmark, a favourite, a word in the spelling dictionary, or a change in Folder settings. The first time, EtherPK creates a hidden .etherpk folder at the top of the Plain Folder and tells you. Each item is a small file of its own, so two people who each add a bookmark do not get a conflict in Git.

Commit .etherpk to share these with other people, or add it to .gitignore to keep them to yourself. Your place in a PDF or an EBook, the layout of your tabs and your folded bullets stay in this browser.

A graph inside a Plain Folder

A folder inside a Plain Folder can hold an EtherPK graph, such as a repository's documentation. The tree marks it with graph. Its files open read-only here, because the graph looks after its own links and names. Select Open as a graph on the notice above the file, or right-click the folder, to open it as the graph it is.

Open one file from your file manager

With EtherPK installed as an app, your file manager offers it for .md files. See Installing EtherPK As An App for more information. A file opened this way is shown on its own, and you can edit and save it. The browser gives EtherPK that one file and not its folder, so its pictures, its links to other files and bookmarks do not work until you select Open the folder and choose the folder the file is in.

Limits

  • A Plain Folder cannot be synced or shared through EtherPK. Use Git, Syncthing or a file copy.
  • There is no version history. Use Git.
  • Folding, the guide lines and the block menu work on - bullets only.
  • Safari and Firefox cannot open a folder on your device.