Features in detail
Everything Stashly can do with a stash, in one place, grouped by what you want to do. For the short version, see the README.
🚀 The basics
What a stash is and how you open one.
🔗 A stash
A stash is one shared link: /s/<name>. The name is always required: type your own (letters, numbers, - and _), or leave the box empty and press Create to get a random 12-character one.
🏠 Home
- Home is My stashes.
- At the top, Open a stash takes a name, or a link you were given (a read-only or drop-box link keeps the access it gives); a name that is not a stash yet opens the Add stash popup with that name filled in.
- Add stash (top right) makes a new stash: a name (or press Use a random name), an optional password and how long it lives.
- Below, signed in, are the stashes you follow or made; signed out, the stashes opened on this device.
- When creating is limited to admins or signed-in users, Add stash is switched off and opening still works.
📱 QR code
- The “QR code” button in a stash’s header shows a code that opens the stash on a phone or another device.
- It is made in the browser from the address you are using, so open Stashly by its network address or domain (not
localhost) for a code a phone can reach; the page says so when the address is localhost.
- A stash password is not part of the code.
⚡ Live updates
Items appear on every open page without a refresh (Server-Sent Events).
📝 Notes, files and images
What goes in a stash and how it looks.
📎 Items
- Items are notes, images and files.
- The new-note box sits above the list and stays small; the expand button opens a bigger box with a title and a drop zone.
- Add files with the paperclip, by dragging them onto the page, or by pasting a screenshot (Ctrl+V).
🔤 Titles
- A note can have an optional title (up to 150 characters).
- Without one, the first 40 characters of the note are used.
- The list shows the title and two lines of the note (Stash Settings > This device > Show note lines under each title hides the note lines; the choice is kept per device); search matches titles too.
🔥 Note options
Expand the new-note box.
- Burn after reading keeps the text on the server, out of the list and live updates and out of search, until someone clicks “Reveal and delete”; it is shown once and deleted for everyone.
- Secret masks the text as dots in the page until you click Show (Copy still works; this hides it from a glance, it is not encryption).
- Auto-delete (in the expanded form; Off, or 5 minutes, 1 hour, 8 hours or 1 day) removes just that note after that time, and never later than its stash.
- From curl use the headers
X-Burn-After-Read: 1, X-Secret: 1 and X-Expires: 5m; a plain GET of .../latest leaves a burn note alone (409); curl -X POST .../latest reads it and uses it up.
🔗 Links, Markdown and code
- Web addresses (http and https only) in a note are clickable and open in a new tab.
- A note that looks like Markdown is rendered in the open clip (headings, bold/italic/strike, inline code, links, bullet/numbered/task lists with nesting, quotes, tables, rules and fenced code blocks, which are coloured by their language).
- A note pasted from a chat app (Slack, Teams, Discord) is recognised separately and rendered as that app writes it, where one asterisk is bold and a dot is a bullet.
- Emoji written as names —
:rocket:, :one:, :+1: — become the emoji themselves in the note and in a clip’s title, from a built-in table of the common names; an unknown name stays as it was typed, and names inside code are never touched.
- Code and data are coloured when recognised: JSON, JavaScript/TypeScript, Python, shell, SQL, CSS, HTML/XML, YAML, Go, Rust, Java, C#, C/C++, PHP, Ruby, PowerShell, INI/TOML, Dockerfile and diffs.
- The detection is cautious, and Plain text in the open clip switches it off (the stored text is never changed; Copy always copies the original, and a search uses what was typed).
- Both are small built-in tools, not full parsers, and they only ever build text and a fixed set of elements, so a note can never inject markup: raw HTML is shown as text, only http and https links work, and images are shown as links (nothing is loaded from a note).
🖼️ Image thumbnails
- The list shows a small picture (at most 256 px, WebP or JPEG, a few KB) for each image instead of loading the whole file, which can be up to 25 MB.
- The server has no image library, so the browser makes the thumbnail: after an image upload succeeds the page shrinks it on a canvas (an animated GIF keeps its first frame; a file the browser cannot decode simply gets none) and sends it to
PUT /api/stashes/NAME/files/ID/thumb.
- Other open pages get the item again with its
thumbUrl through the live stream (item-updated).
- An image with no thumbnail yet (sent from curl or the
stashly command, or older than this feature) shows the file icon when it is over 1 MB and itself when it is smaller; the first time a page with full access shows it, that page makes and uploads the thumbnail (one at a time, only for rows that scroll into view, and silently skipped on any failure).
- The open clip always shows the full image.
- A drop-box link may attach a thumbnail only to an image that has none and was added in the last 5 minutes, so it can give its own upload a thumbnail but cannot replace anything; full access may attach or replace any time; a read-only link can only read them.
- The server checks every thumbnail: at most
MAX_THUMB_KB (default 200 KB, 413 above that) and content that really is a JPEG, PNG or WebP by its first bytes, whatever the name or Content-Type says (an SVG is always refused, 415).
- A thumbnail is stored beside its image as
files/<id>.thumb, goes with it when the item is deleted, trimmed or expires or its stash goes (and, for an undoable delete, when the trash is purged), does not count towards the file or space limits, is included in the admin backup and left out of the export.
- Without JavaScript or canvas support nothing breaks: images just have no thumbnail.
📜 Long lists load in pages
- The page loads the first 100 clips and ends the list with Show more (N left), which also loads the next 100 by itself when it scrolls into view.
- Search and date filters apply to all pages (changing them starts again at the first page), clips added by other devices still join the top, deleted ones disappear, and the count reads “100 of 250 clips” until everything is loaded.
- A background refresh (after a dropped live connection) keeps as many clips on the page as were there.
- Pages are added at the end, so the clips already on screen are never rebuilt or reordered.
🗂️ Organise
Keep the clips you care about easy to find.
↕️ Clip order
- Drag a clip by the handle on its left to move it (mouse or finger), or press Alt+Up / Alt+Down on a selected clip.
- Sort (the small up-and-down arrows icon in the list’s toolbar, beside Filter and Refresh; the current choice is ticked, and the icon is lit when it is not My order): My order (the saved order that dragging changes), or by name, date added, date modified (the last edit, else when it was added) or tag (the first tag in the alphabet, clips without a tag last), in either direction. Pinned clips always stay on top. It works with search, tags and dates, and a clip that arrives or changes while you watch goes where the order puts it. The choice is kept on this device only, and dragging is off while a sort other than My order is chosen.
- My stashes has the same icon, in the heading row of the first list (usually “Created by You”), for the stash lists: pinned first, then by name, date added (to your list) or last activity (a new item). Kept on this device.
- Add a clip form: it is kept out of the way, so the list gets the whole height (most of all on a phone). The Add clip button, first in the stash’s header row (the first entry of the three-dot menu on a phone), opens and closes it, and the choice is kept on this device. It opens as one small row; Expand adds the title, a bigger note box, the note options and a slim line for dropping or choosing files. Pasting or dropping a file opens it so the upload progress shows. A drop-box link always shows it, and a read-only link has none.
- Start page: Stash Settings > This device > Open this stash when I start Stashly on this device makes this stash the one the installed app opens when launched, and a new tab on the home page. Home in the menu (and Back) still shows the home page, and
/account (My stashes) is never redirected. It is kept in this browser only, so each device has its own (or none); it follows a rename and is forgotten when the stash is deleted or expires. It replaces “reopen the last stash” for the installed app while it is set.
- The order is saved and other open pages follow.
- New clips still arrive on top, and pinned clips stay above the rest.
Full access to change, read-only links can see them.
- Organise clips with short tags.
- Open a clip and type in its Tags line (Enter, comma or space adds one, × removes one, Backspace on an empty box removes the last; tags already used in the stash are suggested).
- A tag is lowercase letters, numbers,
- and _ up to 24 characters, and a clip holds at most 8; a leading # is ignored.
- The list stays compact: a tagged clip shows its first tags (two on a phone, then
+N) on one small line under its title, and an untagged clip has no extra line.
- A scrolling strip of every tag in the stash (with how many clips carry it) sits above the list when there are any: press a tag to show only clips that have it, press more to narrow further (a clip must carry all of them), press again to drop one; pressing a tag on a row does the same.
- Typing
#work in the search box filters by that tag too and can be mixed with words (invoice #work).
- Tagging is not an edit, so the clip keeps its edited time.
- Tags are kept by Undo and included in the export (
stash.json).
Stash settings > Organize > Tags.
- Every tag in the stash with how many clips carry it.
- Rename changes it on every clip (to a name that already exists, and the two merge); Delete removes it from every clip and leaves the clips.
- The tag list, the strip above the list and open pages follow, and a deleted clip waiting in the trash comes back with the new tag name.
☑️ Select several clips
Full access.
- The check button above the list turns on a tick box on every clip.
- Tap rows to tick them (Shift-click ticks a range), then open the Actions menu to Pin, Unpin, Move to…, Add tag…, Remove tag…, Make secret or Delete them together (a tag action asks for one tag; Make secret masks the ticked notes, files are left alone, and it cannot be undone from here); Select all ticks every clip loaded so far.
- Deleting pinned clips asks first, and one Undo brings back everything a bulk delete removed.
- Escape or Done leaves select mode.
📌 Pin, edit and keep the last N
- Pin a note or file to keep it at the top (pinned items are never removed by “keep the last N”; the choices are 50, 100, 200, 500, 1,000, 2,000 and 5,000 items, up to the server’s items-per-stash limit).
- Click the title above an open clip to change just the title right there (Enter or clicking away saves, Escape goes back, empty brings back the first words of a note or the file’s name; with full access only).
- Edit changes a note’s title and text in place (its date and options stay; burn-after-reading notes cannot be edited), or gives a file a title of its own, so a file called
IMG_20261122_104512.jpg can show as “Receipt”.
- The download keeps the real name, and the list shows it under the title.
- A title typed in the composer before dropping a single file becomes that file’s title.
- Stash Settings > Keep only the last deletes the oldest unpinned items as new ones arrive, so a stash can behave like a rolling clipboard; lowering it deletes straight away, after a confirmation.
📦 Move or copy clips to another stash
Full access, signed in.
- Stash Settings > Organize > Select clips (or the select button above the list), tick clips, then Move to…; for just one clip, open it and press its Move button (next to Share and Pin).
- Pick one of your other stashes (a stash you own; a guest has none, so this needs an account) and Move or Copy.
- A moved clip keeps its id, title, tags, pin and expiry, takes the top places in the target in the same order, a file keeps its bytes, and a link made to the clip ends; a copy is a new item (a file’s bytes and thumbnail are copied; the pin, edit time and links stay with the original).
- Clips that cannot go are left out and named: no longer there, a burn-after-reading note being copied, or a kind the target does not take (notes only / files only).
- If the target would pass a limit (items, files, space) nothing is moved.
🔍 Search and date range
Search and date range inside every stash, matching note text and file names. The page sends the search words in the request body (POST /api/stashes/NAME/query), so they never appear in an address that a proxy logs; GET /api/stashes/NAME?search=... still works for scripts.
↩️ Undo a delete
- When someone with full access deletes a note or file, a toast with an Undo button appears and stays for up to 10 seconds.
- The item is not destroyed at once: it waits in a trash for
UNDO_SECONDS (default 120, or Admin > Server Settings; 0 turns undo off, and deletes are immediate and final, as in earlier versions), and Undo (POST /api/stashes/NAME/items/ID/restore) puts it back with the same id, place in the list and pin.
- While it waits it is invisible everywhere (list, counts, search,
latest, export, downloads) and does not count towards the limits; bringing it back checks the limits again (items, files, space) and is refused with the usual 413 or 507 if there is no room, leaving it in the trash until the time is up.
- An uploaded file’s bytes stay on disk in the
files folder during that time and are wiped when the entry is purged (the cleanup job runs every minute, so removal can lag the deadline by up to a minute; a restore after the deadline is refused even before that).
- Never undoable, because their point is that they cannot be read back or because nobody asked for them: burn-after-reading and secret notes, “keep the last N” trimming, a note’s own expiry, and a stash that is deleted or expires (which also removes its trash).
- Deleting a stash while its items are in the trash removes them with it.
- Only full access can delete or restore.
✍️ Edit conflicts
- If two people edit the same note (or file title) at once, the second save is no longer a silent last-write-wins.
- The page remembers the version it started from and sends it as
baseEditedAt; if the item was changed since, the server saves nothing and answers 409 with { error, conflict: true, item } (the current item, with its full text).
- The page keeps the form and what you typed and offers Overwrite with mine or Use theirs.
- A live update arriving for the note you are editing leaves your form alone and does not change what it compares against.
- API users can opt in by sending
baseEditedAt (the item’s editedAt, or null if it has never been edited); a request that leaves it out is not checked and works as before (last write wins).
⚡ Share and copy fast
Get things to the other machine in a click.
📋 Copy fast
- “Copy latest” in a stash’s header (or Alt+C) copies the newest note.
- Each note row has its own copy button (shown on hover, always visible on touch screens).
- A burn-after-reading note has none, since copying it would mean revealing it.
🔔 Auto-copy, notifications and who is here
Stash settings > This device, both off by default and kept for this tab only.
- Copy from stash to clipboard puts a note that arrives from another device on this computer’s clipboard (browsers only allow this while the tab is in front, so otherwise it is copied when you come back).
- Secret and burn-after-reading notes are never copied automatically, so they don’t end up in the system’s clipboard history or its cloud sync.
- The other direction, Copy from clipboard to stash (signed in, if the admin allows it; also in each stash’s menu on My stashes), adds what you copy to this stash when you come back to Stashly; it is per browser rather than per tab, and the same two switches are in the three-dot menu on a phone.
- Notify me shows a desktop notification for a new item while the tab is in the background (needs https or localhost and your permission; secret and burn notes show no text).
- The header shows N connected, the number of pages open on the stash right now; a device with two tabs counts twice.
📲 Share from your phone (PWA)
- Stashly can be installed as an app, and then appears in the phone’s share sheet.
- Share text or a link from any app, and the “Share to a stash” page opens with it filled in; tick one or more stashes (those you opened on this device are listed, and your own when you are signed in; type any other name and press Add) and tap Send.
- The same note and files go to each stash in turn, and a summary then shows what reached which stash, with an Open link for each.
- What you shared stays on the page, so Send to another stash sends it to more (the stashes it already reached are marked Sent), and Try again resends only what did not arrive, to only the stashes it did not reach, so a note never lands twice.
- The share sheet sends what you shared with a POST, which the app’s service worker takes itself: it keeps the title, text, link and files in the browser’s own storage (IndexedDB, nothing goes to the server yet) and opens the “Share to a stash” page, which reads them back once and removes them, so they never appear in an address, a proxy log or the browser’s history.
- A share that was never picked up is dropped after an hour, and the page cleans its address at once.
- Without the service worker (or if the browser cannot store the share) the POST reaches the server as before and the text is handed to the page after a
#.
- Browsers only offer install and sharing over HTTPS (or
localhost), so put Stashly behind a TLS reverse proxy.
- On Android open the site in Chrome and choose “Install app”; files work too: share one or several photos, documents or any other files and they appear on that page as a list (remove any you do not want), and Send uploads them to the stash with the same uploader as the stash page, so a big file goes up in pieces and is retried, each with a progress bar.
- With a note and files, the note is sent first and its files follow; a file that fails keeps its row, under the name of the stash it was going to.
- The stash’s rules still apply (what it can hold, file size and space limits, blocked file types).
- A phone lists an app in the share sheet for files only if the installed copy’s manifest says it takes them, so an app installed before files were supported has to be reinstalled (or wait for the browser to refresh the manifest, which can take a day) before it shows up for photos and other files.
- Safari on iPhone and iPad does not offer web apps in the share sheet at all.
- The installed app reopens the last stash you used when you launch it from its icon (it starts at
/?source=pwa, which only the icon uses, so visiting the home page in a browser is unaffected).
- Close, or a stash that has expired or been deleted, clears that memory so the next launch starts at the home page.
- Only the stash’s name is remembered, in the browser’s local storage; if you installed the app before this change, reinstall it (or wait for the browser to refresh the manifest) so the new start address takes effect.
- A password-protected stash must be opened once on that device first, so its unlock cookie exists.
- The service worker caches nothing.
✂️ Share one clip by link
Full access to make it; works on any stash, with or without a password.
- Open a note or file and press Share (next to Pin).
- Pick how long the link lasts (1 hour, 1 day, 7 days by default, 30 days or never) and press Create link.
- The link (
/c/<token>) opens a plain page with just that note (rendered like the stash page: Markdown, code, links, Copy) or file (image preview, audio and video player, Download), for anyone, with no sign-in and no access to anything else: it does not name the stash and cannot list, search or reach other clips.
- It is shown once when made (only its hash is stored); the panel afterwards says whether a link is active, until when and how many times it was opened, and offers Make a new link (which cancels the old one: a clip has at most one) and Stop sharing.
- A link also ends when its time is up (never later than a note’s own expiry), when the clip is deleted (an undo does not bring the link back), when the stash is deleted or expires, and when the stash’s password is changed; renaming the stash keeps it working, since it does not carry the name.
- A burn-after-reading note cannot be shared (opening the link would use it up); a Secret note can, after a confirmation, and the link shows its text in full.
- The page asks search engines not to index it and never sends the address on as a referrer, the server’s access log records only the route (never the token), and guessing is limited per address to the same rate as other not-found stash lookups.
🔗 Share links
Password-protected stashes.
- The “Share links” button makes a read-only link (read and copy, nothing else) and a drop-box link (add notes and files, see nothing).
- Each is shown once when made; only its hash is stored, and the key sits after a
# so it never reaches the server or its logs.
- Making a new link, or cancelling one, ends the old one at once.
- Revealing a burn-after-reading note needs full access, since it deletes the note.
- Without a password the name already gives full access, so these links need one.
🔒 Privacy and access
Who can open a stash, and for how long.
🔑 Password
Optional, per stash.
At least 10 characters (MIN_PASSWORD_LENGTH, or Admin > Server Settings; passwords set before the rule keep working), stored as a salted scrypt hash; unlocking sets an HttpOnly cookie for that stash only.
🔐 Vault stashes
End-to-end encrypted, for notes and files that even whoever runs the server must not read. Optional, per stash, and most stashes do not need it.
Tick Vault: end-to-end encrypted in Add stash. You choose a passphrase (at least 12 characters, nothing else is asked of it) and get a recovery code, shown once: keep it apart from the passphrase.
- What it protects. Titles, note text, file names and file contents are encrypted in your browser (AES-256-GCM, with a key made from the passphrase by PBKDF2 and wrapped by it) before they are sent. The server, its admin, its backups and anyone who copies the database hold only scrambled text. The passphrase and the key never leave the browser; the stash password the server checks is a different key made from the passphrase.
- What it does not. The server still sees that the stash exists, its name, its size, when notes are added and how often, and who connects. And the server sends the page’s own JavaScript, so a server owner willing to tamper with that code could capture a passphrase the next time it is typed. A Vault protects against a server that is read, copied or breached, not against one that is actively rewritten against you.
- Opening it. Every visit asks for the passphrase (unlocking is a few tenths of a second of deliberate work). “Keep it open on this device” (ticked by default; untick it on a shared computer) keeps the key in this browser for as long as you chose to stay signed in, from 30 minutes to 30 days, so reloading does not ask; anyone using that browser can then open the vault. Close forgets it.
- Forgotten passphrase. On the lock screen, Forgot the passphrase? takes the recovery code and a new passphrase; the notes stay. Without the passphrase and the recovery code nothing can open the notes: the admin cannot reset it, and a lost pair means the notes are gone.
- Tags work as in any stash, and are encrypted too: the server stores each note’s tags as one sealed text and cannot see a tag name. Adding, filtering by tag or
#tag, renaming and removing a tag, and tagging several notes at once are all done in your browser (renaming a tag re-saves each note that has it, one at a time).
- Files. Attach or drop files as in any stash. Each file is encrypted in your browser in 64 KiB blocks with a key of its own (wrapped by the stash key), and its name, type and size are sealed with it. Images get a thumbnail made in the page and sealed too. The server holds scrambled bytes and cannot tell a photo from a PDF.
- Opening a file downloads and decrypts it first, so it shows after a moment, and a big file needs that much memory in the browser (keep files to a few hundred MB). A file cut short, changed or moved to another place does not decrypt.
- What a file may show as. Images, audio, video, PDF and plain text only; anything else (an SVG, a web page) is offered as a download, so a Vault file never runs as a page.
- Export. Stash Settings > Import / Export > Export notes (.json) decrypts in your browser and saves every note (text, title, tags, pinned, time) as an unencrypted file the importer reads, so the notes can be moved into a normal stash.
- Export with files. When the Vault holds files the export is a .zip instead, with
notes.json and a files folder of the opened files. Vault stashes are left out of “Export my stashes” and of the server’s own export, which cannot read them.
- Import. Stash Settings > Import / Export > Choose a file works in a Vault too, for notes: the file is read in your browser and each note’s text, title and tags are sealed there before they are sent, so the server never sees them. A Vault export (
.json), a Clipper backup or Stashly’s simple format all work; folders can become tags as usual. This is how a normal stash is moved into a Vault: export it, make a Vault stash, import the file. (A .zip with files is not read: unzip it and import notes.json; files are added by hand.) Each folder in its own new stash is not offered, and the file itself is not encrypted, so delete it afterwards.
- What is left out, because the server cannot read the stash: share links, drop-box and read-only links, search on the server (the page searches and sorts what it has opened), burn-after-reading, secret and auto-delete notes, moving clips, AI assistant (MCP) access, other people’s access by account, and the admin’s password reset. Zip contents and server-made previews of files are not shown either.
- A normal stash and a Vault stash can sit side by side; nothing changes for stashes that are not Vaults.
🤖 AI assistants (MCP)
Let an AI assistant keep notes in your stashes, only where you allow it.
If the admin switched MCP on, each signed-in user makes named access tokens under User Settings > MCP, and connects Claude Code, Codex, opencode, VS Code, Antigravity or another MCP client with them.
An assistant acts as you, and only in stashes you switched on: Stash Settings > Access > “Let AI assistants use this stash”, or the stash’s menu in My stashes.
To switch on every stash you make from now on, tick the option in User Settings > MCP.
It can add notes, read them, edit their text, titles and tags, and see when a stash and its notes expire. It cannot delete anything.
Secret and burn-after-reading notes are kept from it unless you allow them for that stash.
Setup, the tools and the safety notes are in the MCP docs.
🏷️ Names are the lock
- Names are the lock on a stash without a password, so such a name must be at least 10 characters (
MIN_OPEN_NAME_LENGTH, or Admin > Server Settings; 0 turns it off).
- Shorter names need a password.
- Existing stashes are not changed.
🚫 Reserved names
When a stash is deleted, expires or is renamed, its old name can’t be used by a new stash for 30 days (RESERVE_OLD_NAMES_DAYS, or Admin > Server Settings; 0 turns it off). A phone, bookmark or curl script still using the old name then gets “not found” instead of quietly sending to whoever took the name next.
🚪 Sessions and logging out
- When you unlock a stash you choose how long to stay signed in in that browser (30 minutes, 2 hours, 12 hours, 24 hours, 7 days or 30 days; 24 hours by default; never longer than the stash itself, so a 30 day sign-in needs a stash that lives that long).
- Longer sign-ins are convenient on your own computer; pick a short one on a shared machine or log out when you are done.
- Stash Settings > Sign-in shows when it ends and lets you change that from now, but never to more than 30 days after you signed in (unlock again to start a new 30 days), so a copied sign-in cannot be kept alive forever.
- Log out in the stash header (Exit on a stash with no password) clears the sign-in and goes home.
- Other browsers are not affected.
- Sign out other devices (Stash Settings > Sign-in) ends every other sign-in to the stash at once, such as a browser you left signed in somewhere or a copied cookie, plus the sessions opened from read-only and drop-box links, and keeps you signed in.
- The password and the share links still work for new sign-ins; cancel the links under Share links if needed.
- If the stash’s password is changed, every open page is asked for the new one.
🔄 Changing a stash’s password
- A stash made by a guest has no owner, so whoever knows the current password is in charge of it.
- A stash made by a signed-in user is owned by them (see Owners under Accounts), and the owner may set a new password without typing the old one.
- Stash Settings > Sign-in > Change password asks for the current password again (so a browser someone walked away from cannot be used to take the stash over), then the new one twice.
- Everyone else is signed out and the read-only and drop-box links are cancelled; the person who changed it stays signed in for the time they had left.
- Wrong current passwords count towards the same lockout as unlocking.
- A stash with no password cannot get one this way, because anyone with its name could then lock everyone else out; only the admin can do that.
- If nobody knows the password any more, the admin can set a new one.
⏳ Lifetime and settings
How long a stash lives, and what it is set up to hold.
⏳ Auto-expiry
- Pick 1 hour to 1 year (and “Never” when the admin allows it).
- The box starts on 1 day, or on 30 days when you are signed in; the admin can change both in Admin > Server Settings > Stash rules.
- A stash is deleted with everything in it when its time is up.
- “Extend” restarts the timer.
⏰ Extend a stash
- The clock chip in the header (the time left) is a button when you may extend the stash, and so are Extend (in the three-dot menu on a phone) and Stash Settings > Stash > Expires.
- They open one dialog: pick how long the stash should live from now (1 hour, 1 day, 7 days, 30 days, and Never when the server allows stashes that never expire).
- Only lengths that end later than the stash does now are offered, the stash’s usual length is marked as the way to restart its timer, and a message says which stash was extended and when it now ends.
- Who may: for a stash with an owner, only the owner (a person who merely knows its password cannot, and neither can an admin); for a guest’s stash, anyone with full access, as before.
- A stash that never expires has nothing to extend.
- Open pages follow the new time at once.
✏️ Renaming a stash
- Stash Settings > General > Stash name (the field is always there: change it and press Rename; its owner, or anyone with full access on a guest’s stash).
- The note count, pins, expiry and password stay.
- The old address stops working at once and the old name stays reserved (see Reserved names below), read-only and drop-box links are cancelled (they carry the old name), and on a password-protected stash everyone else has to sign in again while the person who renamed it stays signed in.
- Open pages on other devices follow the new address.
🧰 What a stash can hold
- Stash Settings > Organize sets it to notes and files (the default), notes only or files only.
- It applies to everyone who can add, drop-box links and the API too; the page hides what cannot be added, and the server refuses it (403) before reading an upload.
- What is already in the stash stays.
📥 Import and export
Bring clips in from another app, or take them out.
📥 Import from a file
- Stash Settings > Import / Export > Choose a file reads a Clipper for Android backup (
.json), or Stashly’s own simple format. Download a sample file shows that format, so clips from any other app can be moved in by writing them in it. Whoever has full access can import, into a stash that takes notes.
- Each Clipper folder is a tick box, so some can be left out (Select all and Select none help with a long list). Make folders into tags turns each folder into a tag on its clips: a folder called “Work notes” becomes
work-notes.
- Clips keep the date they were made and whether they were pinned. Empty clips, and ones bigger than a note can be on this server, are left out and counted.
- A lone carriage return in a clip (some Android apps write one) becomes a normal line break. A tag from the file is made to fit: lower case,
- for other characters, 24 characters, 8 per clip.
- Stash size: when the stash keeps only the last N clips, a popup says how many older ones the import would delete and offers to raise it to the next size that holds everything (or keep everything), or to import anyway. Only the owner can raise it. The server’s own limit on clips in a stash (1000 by default) can not be raised from here: when a file has more, the newest that fit are imported and the popup says so.
- Each folder in its own stash (signed in only, with more than one folder): choose it at the top of the import window. Each ticked folder becomes a new stash that you own, named after the folder with random letters on the end (the name is the lock on a stash without a password; you can edit it). An optional password goes on all of them. They never expire when the server allows that, otherwise they last the usual time. The window ends with a link to each new stash, and says which folders could not be made.
- A big file is read in the page and sent in pieces, with a progress bar. An empty stash also has an Or import clips from a file link.
- The simple format is a JSON object with an
items list (or just a list). Each item needs text; title, folder, tags, pinned and createdAt (a date, or milliseconds since 1970) are optional.
📤 Export
- Clipper backup (.json) (or
GET /api/stashes/NAME/export/clipper) writes the notes in the format Clipper for Android reads. Each tag is a folder; a clip goes in the folder of its first tag, and a clip with no tag in a folder named after the stash. Files and burn-after-reading notes are left out. A backup made here can be imported again, and the folders come back as tags.
- Everything (.zip) (or
GET /api/stashes/NAME/export, or stashly export NAME) downloads the whole stash as NAME.zip for full and read-only access (a drop-box link cannot read, so it cannot export).
- The zip holds
stash.json (the stash and a list of its items, each with its id, kind, title, dates, pin and the path of its entry), notes/<id>-<title>.txt for every note and files/<id>-<file name> for every file, exactly as uploaded (image thumbnails are not exported: they are only small copies of images the zip holds in full).
- Burn-after-reading notes are never exported, because reading one uses it up;
stash.json only says that one was skipped.
- Secret notes are exported.
- The zip is built while it is sent (nothing is held in memory or written to disk), names are made safe (no folders, control characters or
..), and a stash that would not fit in a plain zip (4 GB or 65535 entries) is refused with a 413 before anything is sent.
- It uses the same rate limit as other reads.
- All your stashes at once. Signed in, the home page (My stashes) has an Export button: tick the stashes you want (all are ticked to start, with Select all and Clear) and Download one zip,
stashly-export-DATE.zip. Each stash is a folder holding what the single export holds, and stashly-export.json at the top lists them.
- It offers the stashes you can read: your own, the ones shared with you by name (read only too), and followed ones you still have the password for. The same rules apply (no burn-after-reading notes).
- The same from a script:
GET /api/me/export (every stash) or GET /api/me/export?stash=a&stash=b (some). At most 500 stashes and the same 4 GB limit; 10 exports per 15 minutes.
📦 Restore
- Restore (home page, next to Export) reads a zip made by Export, a whole backup or a single stash’s Everything (.zip). Choose the file and you see every stash in it, with its notes and files, before anything is added.
- A stash whose name is free is created for you. If the name exists you choose: add what is missing (only into a stash you can change; notes and files already there are not repeated) or restore as a copy under another name (one is suggested). Untick a stash to skip it.
- Restored stashes are private to you and expire like a new stash of yours; titles, pins, tags, secret flags and dates come back. Burn-after-reading notes were never in the zip. Size, type and count limits apply as for an upload; what does not fit is listed afterwards.
- The zip waits on the server for 30 minutes at most (one per person), then is deleted; a damaged zip or file fails only that stash. The upload is capped by
MAX_TOTAL_MB; 40 requests per 15 minutes.
- Scripts:
POST /api/me/restore (the zip as the body), then POST /api/me/restore/ID with the choices.
🖥️ The page itself
Layout, header and navigation.
↔️ Resizable panes
Drag the divider between the clip list and the open clip to make the list wider or narrower (double-click it, or press Home, to reset; the arrow keys work when it is focused). The width is remembered in your browser.
🧭 The header and Stash Settings
- On a phone the header is one row under the top bar: the stash name (cut with “…” when it is long), the padlock, the clip count, a green Live dot, the time left and the pages open, as on a wide screen.
- The buttons (Copy latest, Copy link, QR code, Share links, Extend, and Follow and Pin when you are signed in) are in a three-dot menu in the top bar, next to Close and Stash Settings, with their words.
- The menu lists only the buttons that apply to you, shows Follow and Pin as on or off, and works with the keyboard (arrows, Escape); it is hidden while a clip is open, where the clip’s own buttons take over. the header keeps the everyday buttons (QR code, Copy latest, Copy link, Share links, Extend, Log out or Exit).
- Everything rarely needed is behind the gear icon at its right end. The groups are down the left side (tabs across the top on a phone), one group at a time, with a short hint on each setting and the detail in its tooltip (or under it from the small i):
- General: the stash’s name, as a field you change and press Rename on; Expires with Extend; Owner, to pass it on.
- Organize: Tags to rename or delete across the stash, Move or copy clips, what the stash can hold, keep the last N.
- Access: sign-in length, change password, sign out other devices (password-protected stashes only).
- This device: the list’s note lines, the start page for this device, auto-copy and notifications for this tab.
- Danger zone: delete, which only works after you type the stash’s name.
- Who sees what: the General, Organize and Danger zone groups are the stash’s own settings, so they are shown to its owner (and, for a guest’s stash that has no owner, to anyone with full access); someone who merely knows an owned stash’s password sees Access and This device.
- The server applies the same rule: renaming, deleting, changing what a stash holds, keep-the-last, tags and moving clips out are refused (
403) for anyone else.
- A read-only or drop-box link only sees the tabs that apply to it.
The Android back gesture, a browser’s Back, in the installed app too.
- It closes what is open on top of the page before it leaves the page.
- Opening a dialog (Stash Settings, QR code, Share links and the rest), the phone’s side menu, the three-dot menu, or a clip on a phone (where it fills the screen) adds one step to the history, so Back closes that and nothing else; Back again, with nothing open, goes to the page before, and from the first page of the installed app it closes the app as any app does.
- Closing something with its own button, Escape or a tap outside takes its step away again, so Back never lands on a screen that is already closed.
- The stash’s own address does not change.