EtherPK is the same app however you run it. You can open it in a web browser, install it from the browser as an app, download the EtherPK app for Windows, Linux or Android, or run your own copy on this device with Node.js or Docker. What changes is what you install, which graphs it can open and how it updates. A folder graph is a folder of Markdown files on this device, and a synced graph is a graph that EtherPK stores on a Sync Server so that it can open on all your devices. See Choosing Where To Store Your Notes for more information on each kind. In a web browser Go to app.etherpk.com. There is nothing to install, and you have the newest EtherPK each time you open it. Synced graphs open in every current browser. A folder graph needs a browser that can open a folder: Chrome or Edge on Windows, macOS and Linux, Chrome on ChromeOS, and Chrome on Android. See Choosing Where To Store Your Notes for more information on browser support. Installed from your browser An installed app is EtherPK in its own window, started from an icon in the Start menu, Dock, taskbar, launcher or home screen. Some browsers call it a web app or a progressive web app (PWA). It is still the website at app.etherpk.com, so there is no separate download and nothing to update by hand. After your first visit, your browser keeps a copy, so the installed app also starts offline. Most browsers can install EtherPK, including Safari on a Mac and every browser on an iPhone or iPad. An installed app also brings some benefits: Your browser is less likely to clear EtherPK's data, which matters most on a phone. Chrome on a desktop or Chromebook keeps the access you give a folder graph's folder between visits. Chrome on Android and on ChromeOS put EtherPK on the share sheet, so you can share text and links into quick notes. To install EtherPK, select Install app in the header, or use your browser's menu. You can also use the Install area at the top of the Settings and Extensions dialog. See Installing EtherPK As An App for the steps for each browser. Windows, Linux and Android native apps The EtherPK app is EtherPK in its own window, with no browser around it, which you download and install from a file. It is free, and it is not in an app store. Unlike the website, it opens a notes folder without asking again each time, notices when another program changes a file in the folder, and opens Markdown files and etherpk: links from the rest of the device. On Android it is also on the share sheet, so text, links and pictures you share from another app become a quick note. The app opens folder graphs and synced graphs. Synced graphs need an EtherPK account with Sync+, as they do in a browser. The Windows installer is not signed by a certificate authority, so Windows shows Windows protected your PC the first time. Select More info, then Run anyway. On Android, allow your browser or file manager to install apps when Android asks. The app is a device of its own. Graphs you opened in a browser on the same device are not listed in it until you open them in the app too. See EtherPK Apps For Windows Linux And Android for the install steps on each device, and what the apps do not do yet. Node.js bundle You can run your own copy of EtherPK on this device instead of using app.etherpk.com. It is the same app, served to your browser by a Node.js program on this device. The Node.js bundle is an archive of program files that you start with Node.js. It is free, needs no account, no installer and no administrator rights. The program only serves the app. Your browser opens the notes folder and reads and writes its Markdown files, so the start command names no folder, and your notes stay in the folder after the program stops. Your own copy is for folder graphs. Synced graphs need EtherPK sign-in settings that the published bundle does not include, so open them at app.etherpk.com instead. See Synced Graphs for more information. Whether EtherPK can open a folder depends only on your browser, so check that before you download anything. Chrome and Edge on a desktop can open folders from a secure address (127.0.0.1, localhost or an HTTPS address), unless a workplace policy switches folder access off. The browser keeps a separate list of graphs for each address (host name and port), so start EtherPK on the same address and port every time. Spell check dictionaries, map tiles, postcode lookups and the Extension Directory come from EtherPK services by default. Each service has a setting that points it somewhere else or switches it off. Before you begin Node.js 24 or later. Chrome or Edge on a desktop that passes the folder access check below. Check folder access in the browser In the browser you plan to use, open any page with an https:// address. Open the developer tools, and select the Console tab. Type the call EtherPK makes to open a folder, and press Enter: window.showDirectoryPicker({ mode: 'readwrite' }) If a folder picker opens, EtherPK can open folders in this browser. If you get an error saying that showDirectoryPicker is not a function, it cannot. On a device your employer manages, a workplace policy can switch off folder access in Chrome or Edge, and only your organisation can change that policy. If it does, use a synced graph at app.etherpk.com instead. Synced graphs work in every browser and need an EtherPK account with Sync+. See Choosing Where To Store Your Notes for more information. Download and unpack the bundle The Node.js bundle is attached to each release on the etherpk-client Releases page on GitHub as etherpk-client-.tar.gz. Download etherpk-client-.tar.gz from the newest release. On Windows, unpack it into C:\etherpk from PowerShell: New-Item -ItemType Directory -Force C:\etherpk | Out-Null tar -xf "$HOME\Downloads\etherpk-client-.tar.gz" -C C:\etherpk On macOS or Linux, unpack it into ~/etherpk from a terminal: mkdir -p ~/etherpk && tar -xzf ~/Downloads/etherpk-client-.tar.gz -C ~/etherpk The archive unpacks to an etherpk-client folder that holds build, node_modules and package.json. The program in build loads its packages from node_modules beside it, so keep all three together. Start EtherPK Open PowerShell on Windows, or a terminal on macOS or Linux, in the etherpk-client folder. Start the program. In PowerShell: $env:HOST="127.0.0.1"; $env:PORT="3000"; node build On macOS or Linux: HOST=127.0.0.1 PORT=3000 node build You should see "Listening on http://127.0.0.1:3000" in the terminal. In Chrome or Edge, go to http://127.0.0.1:3000. From there, EtherPK works as it does at app.etherpk.com, for folder graphs. See Your First Graph for more information. To stop the program, press Ctrl+C in its terminal. Address and port With HOST=127.0.0.1, only this device can reach the program. Without HOST, it listens on every network connection (0.0.0.0), and other devices on your network can also reach it. They still cannot open a folder from it, because an address such as http://192.168.1.20:3000 is not a secure address. If you start EtherPK on another port or host name, even localhost instead of 127.0.0.1, the Graphs page shows the first-visit panels again. Your files are unchanged, and choosing the folder again opens them. Install your copy as an app You can install your own copy as an app in Chrome or Edge whenever the browser offers it, as you can install app.etherpk.com. In a wide window, Install app is a button in the header. In a narrow window, it is under the menu button in the header. The browser keeps the app files after your first visit, so the installed app starts even when the program is not running, and it opens the graph you used last. Update the bundle The bundle does not update itself. To update it, replace the bundle folder: Download the newer bundle from the same Releases page. Stop the program with Ctrl+C in its terminal. Remove the old etherpk-client folder. Unpack the newer bundle in the same place. Start EtherPK on the same address and port. Removing the old etherpk-client folder does not touch your notes, as long as your notes folder is outside it. Settings Each setting is an environment variable that you set in the start command, like HOST and PORT. The program reads its settings when it starts, so restart it after you change one. If you leave a service setting unset, your copy uses the EtherPK service. With an empty value, the service is off and your copy does not contact it. The .env.example file in the etherpk-client repository lists every setting except the EtherPK sign-in settings, with what each one does. Start-up errors "Cannot find package" or "Cannot find module" Node.js shows one of these errors when node_modules is missing or only partly unpacked, when build has been moved away from it, or when a file is missing from build. Keep build, node_modules and package.json together in the etherpk-client folder. "EADDRINUSE: address already in use" Another program is already using the port, so EtherPK exits. Start EtherPK on a different port and keep using that one, because a new port is a new address with its own graph list. No folder button on the Graphs page If the Graphs page shows neither Open folder nor Choose a folder, the browser cannot open a folder. Go back to Check folder access in the browser. Docker image The Docker image ghcr.io/appsoftwareltd/etherpk-client runs the same program as the Node.js bundle, and listens on port 3000 inside the container. Like the bundle, it is for folder graphs, and it takes the same settings. It is public, so pulling it needs no account. Your browser opens the notes folder on this device, outside the container, so the container needs no folder mount. To try it so that only this device can reach it: docker run --rm -p 127.0.0.1:3000:3000 ghcr.io/appsoftwareltd/etherpk-client:latest To keep it running, and start it again after a restart of this device, use Docker Compose. Save this as compose.yaml in a folder of its own: name: etherpk services: etherpk-client: # The public image, built from https://github.com/appsoftwareltd/etherpk-client. # Set ETHERPK_VERSION in .env to pin a release, for example 0.41.0. image: ghcr.io/appsoftwareltd/etherpk-client:${ETHERPK_VERSION:-latest} container_name: etherpk-client restart: unless-stopped # `latest` moves with each release, so fetch it on every `up`. pull_policy: always ports: # address:host port:container port. The image listens on 3000. # 127.0.0.1 lets only this device reach EtherPK. - "${ETHERPK_BIND_ADDRESS:-127.0.0.1}:${ETHERPK_PORT:-3000}:3000" # Settings go here, one per line. # environment: # PUBLIC_DICTIONARY_URL: "" healthcheck: # The image has BusyBox wget and no curl. test: ["CMD", "wget", "-q", "-O", "/dev/null", "http://127.0.0.1:3000/"] interval: 30s timeout: 5s retries: 3 start_period: 20s Then, in that folder: docker compose up -d Either way, go to http://127.0.0.1:3000 in Chrome or Edge. See Running EtherPK With Docker for more information on choosing a version, the address and port, settings and updates. iPhone, iPad and Mac There is no EtherPK app for iPhone, iPad or macOS yet. Apps for them are planned. Until then, use app.etherpk.com, and install it from your browser for an icon of its own: On a Mac, Chrome and Edge open both kinds of graph. Install EtherPK from the install icon at the right end of the address bar. Safari opens synced graphs, and installs EtherPK with File > Add to Dock. On an iPhone or iPad, every browser opens synced graphs. None can open a folder, because they all use Safari's engine. Install EtherPK with Share > Add to Home Screen, before you sign in, because the installed app keeps its storage separate from the browser's. See Installing EtherPK As An App for more information.
AI NEWS JOURNAL
Hacker News Show HNAI NEWS / JOURNAL
Show HN: EtherPK Markdown Notes now has native apps
EtherPK aims to make your notes / knowledge base available everywhere, on all platforms across desktop and mobile. This week we have released apps for Android, Windows and Linux, with Mac / iOS planned (currently supported by Web / PWA versions) Comments URL: https://news.ycombinator.com/item?id=50744326 Points: 1 # Comments: 0