Repository navigation
Releases
NoPostNow 0.2.4
Security, reliability and accessibility fixes, plus a new option for what happens to deleted photos. Updating is recommended. No data migration is needed.
Security
- Push notifications are only sent to the browsers' own push services. Before this, a member could register any address as their device, and the server would send requests to it, including to machines on the host's home network. Saved devices that don't match are removed the next time a push goes out.
- Likes can't be stacked, and profile timestamps can only be set by the server.
- Notifications must point at a real post, and a "liked your photo" notification needs a real like.
- In message threads and admin chats, each person can only update their own read marker and their own message preview.
- A "just posted" push goes out once per post, only within 10 minutes of posting.
- Announcement links and notification taps can't send people to another site.
New: keep deleted photos
Admin → System → Deleted photos, off by default. When it's on, photos from deleted posts, replaced profile pictures and closed accounts are moved to a deleted/ folder in the data folder instead of being erased. Each deleted post photo gets a small note next to it saying who posted it and when.
Fixes
- An error page with "Try again" replaces the blank screen when something breaks.
- The feed shows "Try again" when posts fail to load, and picks up new posts after the app has been in the background.
- Blocked people's posts no longer flash on screen while the page loads.
- Messages and comments:
- Enter no longer sends half a word on Japanese, Chinese and Korean keyboards.
- Text typed while a message is sending is kept.
- New messages only scroll the view down when you're already at the bottom.
- "Load earlier messages" works past the newest 200.
- "Yesterday" labels stay right across daylight-saving changes, and streak flames update at midnight.
- Pushes expire: 30 minutes for the daily reminder, a day for everything else.
- Uploads:
- Size and type are checked before uploading, and errors are in plain words.
- HEIC photos always get a copy that other browsers can show.
- A failed post no longer leaves its photo behind on disk.
- Admin console:
- Bulk deletes keep going past a failed item and say how many failed.
- Pages step back when the last one empties.
- The announcement editor keeps its confirmation after saving.
- The two-factor screen has a "Back to password" link.
- On phones, tapping a recent photo no longer starts a delete.
- The offline cache has size limits.
- Tapping the logo on the feed scrolls to the top instead of reloading.
Accessibility
- Sheets and pop-ups work with the keyboard and screen readers.
- Settings switches are named.
- Grey text has enough contrast.
- Phones can be used in landscape.
Updating
Get the new code (git pull, or download and replace the files, keeping your data folder) and start it again. The launcher installs anything new and the site rebuilds itself on first start.
NoPostNow 0.2.3
A housekeeping release. Nothing in the app itself has changed since 0.2.2, so there is no need to update a running site for this one. No data migration is needed.
Maintenance
- The CodeQL security scan that runs on every change is updated to 4.38.3.
- Automated dependency updates now bump the two CodeQL steps together. Previously they arrived as two separate updates that could not pass on their own.
- Automated updates hold TypeScript at version 5 until the linting tools support TypeScript 7.
Updating
Get the new code (git pull, or download and replace the files, keeping your data folder) and start it again. The launcher installs anything new and the site rebuilds itself on first start.
NoPostNow 0.2.2
A maintenance release from a full audit of the code: security and reliability fixes, and a good deal of leftover code removed. No data migration is needed.
Security
- Writes can no longer slip past the access rules. A request using a
__proto__field name could pass the checks while saving a document without the checked fields. Such names are now refused. - Blocks are enforced by the server. Blocked members can no longer message or notify each other by calling the API directly; previously blocks were only hidden in the app.
- Two-factor attempt limit. Wrong authenticator codes when turning 2FA off now count against the limit, and entering the correct password no longer resets it.
- Shared devices. Signing out now stops that device receiving the previous member's notifications, and the next member to sign in on it can turn notifications on.
- Push notification text for a new post is read from the post itself rather than from the request.
Fixed
- Windows launcher: an installed or already-downloaded Node.js was never recognised under Windows PowerShell 5.1, so every start downloaded it again.
- Updating: the site now rebuilds whenever the code has changed, not only when the version number does, and the launcher reinstalls dependencies when they change.
- Moving to a new machine: pointing setup at a copied data folder keeps its push keys instead of replacing them, which silently broke everyone's notifications.
- Control panel: switching to a new, empty data folder now asks for its admin account instead of dead-ending.
- Feed:
- A failed page load no longer freezes scrolling.
- Deleting a post no longer cuts the feed short.
- Likes and caption edits no longer revert when you leave and come back.
- Offline cache: the app no longer keeps error pages or private photos in its offline cache.
- Live updates reconnect after a restart or proxy hiccup instead of dropping to once-a-minute polling.
- Daily reminder still goes out if the server was busy or asleep during the exact minute.
- Sessions stay signed in while you keep using the site, rather than ending 90 days after sign-in regardless.
- The OPEN button on the install page went to a page that does not exist.
- A malformed notification address could crash the admin console's System tab.
- Windows auto-start instructions now start the site rather than the control panel.
Removed
- The "claim a post" button and the admin Approvals tab. They were for posts without an owner, which this version cannot create.
- Recovery tools in the admin console for account data that can no longer go missing.
- An unused component, an unreferenced image, and other dead code.
Updating
Get the new code (git pull, or download and replace the files, keeping your data folder) and start it again. The launcher installs anything new and the site rebuilds itself on first start.
- Linux / macOS:
sh nopostnow.sh - Windows: double-click
nopostnow.cmd
Members' installed apps pick up the new offline cache on their next visit.
NoPostNow 0.2.1
Changed
- The relay is removed. 0.2.0 included a relay option for getting a site online without a domain, but there is no public relay to connect to, so the choice led nowhere. It is gone from setup, from Options, and from the launcher.
To put a site online, give it an address of your own: a domain with a free Cloudflare Tunnel is the simplest route, and a reverse proxy works too. GOING-ONLINE.md has the steps. Enter the address under Options → Getting online.
If you set a site up on 0.2.0 without using the relay, nothing changes for you. Update the code, run npm ci, and start it again; the site rebuilds itself on first start.
Getting started
Download the source below, unpack it, and run the launcher from that folder:
- Linux / macOS:
sh nopostnow.sh - Windows: double-click
nopostnow.cmd
NoPostNow 0.2.0 — self-hosted
NoPostNow now runs entirely on a computer you own. No cloud account, no outside services — your photos stay in a folder you choose.
Getting started
Download the source below, unpack it, and run the launcher from that folder:
- Linux / macOS:
sh nopostnow.sh - Windows: double-click
nopostnow.cmd
A control panel opens and walks you through setup, then starts your site. If Node.js is not installed, the launcher downloads an official copy into the folder for its own use. See the README for details and GOING-ONLINE.md for sharing it with friends.
What's new
- Local backend. One data folder holds everything: a SQLite database, the photos, and the settings. Back up the folder and you have backed up the site.
- Control panel. Your site's addresses on the left, the live console on the right, and an Options window for the name, colour, address, port, public hostname, sign-up policy and data folder. It also makes invite and password-reset links.
- Terminal setup for machines with no screen (
sh nopostnow.sh start). - Relay. A small server anyone can run (
sh nopostnow.sh relay) that gives home-hosted sites a public address with no domain and no open ports. - Features: mascots, posting streaks, like totals and a podium, a rebuilt admin console, a private line between members and admins, per-person conversation delete, and infinite scroll.
- Your own branding: site name, tagline, accent colour, time zone, and an optional daily moment with a badge for photos posted on the minute.
Upgrading from 0.1
This release replaces the Firebase backend. It needs a long-running process and a writable disk, so it does not run on serverless hosts such as Vercel, and data from a Firebase-backed install is not migrated.
Notes
- Sign-up is by invite link. The site sends no email; password resets are links the host hands out.
- The Windows launcher and push notifications on phones have had limited testing. Please open an issue if something does not work.
- There is no official public relay yet. To use the relay option you need the address of one that someone runs.