1time.io

1time.io
1time.io

1time.io - Zero-knowledge one-time secret sharing with AES-256-GCM browser-side encryption, HKDF key derivation, CLI tool, and Docker self-hosting.

Open Source

1time.io Source Code

Author

shingrus

Description

Zero-knowledge one-time secret and file sharing. End-to-end encrypted, self-hosted, open source.

#astro#cli#docker#encryption#file-sharing#golang#one-time#one-time-secret#password-generator#password-sharing#privacy#secret-sharing#security#security-tools#self-hosted#zero-knowledge#zero-knowledge-architecture

Homepage

https://1time.io

Repository

  • LicenseMIT
  • Created10 Mar 18
  • Primary languageAstro
  • Size7,599 KB
  • Stars90
  • Forks20
  • Watchers90

Language Usage

Language Usage

Project Health

  • Last commit1 day ago
  • Open issues2
  • Latest releasev1.0.0

Top Contributors

Recent Commits

  • Shingrus(10 Nov 26)

    i18n: de/pt copy and accuracy fixes (#111) * i18n: add de pt * i18n: add de pt

  • Shingrus(10 Nov 26)

    i18n: add de pt (#110)

  • Shingrus(07 Nov 26)

    i18n: add fr, jp, id (#109)

  • Shingrus(07 Nov 26)

    i18n test. added Spanish translation (#108) * i18n test. added Spanish translation * i18n: fix for default 1day

  • Shingrus(05 Nov 26)

    Update site icons and improve SEO with new titles and descriptions (#107) * Homepage title and description: lead with the searched phrases The title now names both main searches word for word, "one-time secret" and "one-time link". The description includes "one-time secret", so Google shows it instead of a sentence from the page body. * New site icon: saffron flame with a "1" on a dark square Update site icons

  • Shingrus(04 Nov 26)

    Feature/simple selfhosted (#106) * frontend: self-hosted edition (SELF_HOSTED=true) A self-hosted instance ships only the tool: header (logo, Password Generator, GitHub), the text and file forms, the password generator widget, the view pages and My Secrets, and a footer that reads "© 2026 1time.io" linking back to 1time.io. - isSelfHosted() in siteConfig.js replaces isBlogEnabled(); the full edition now always shows the blog (SHOW_BLOG is gone). - Every self-hosted page has one title. Link previews keep og:title and og:description but drop canonical, og:url, og:image and JSON-LD, which would all name 1time.io and make public instances duplicates of it. The /pv beacon is dropped (the docker nginx has no /pv). - SEO sections, FAQ and related-link cards are not rendered; the file page's "Text secret" tab points to / instead of the SEO landing page. - robots.txt keeps its rules but drops the Sitemap line. - scripts/prune-selfhosted.mjs deletes everything in build/ that is not on an allowlist, so new marketing pages stay out by default. - scripts/check-links.mjs fails the build when any page links to a same-origin path that is not in build/. It runs for both editions. * docker: build the self-hosted edition by default, drop the hostname rewrite Dockerfile.web takes SELF_HOSTED (default true) in place of SHOW_BLOG; the GHCR images and docker-compose.dev.yml build the self-hosted edition. SELF_HOSTED=false builds the full site. 40-rewrite-site-host.sh replaced every "1time.io" with APP_HOSTNAME at startup, which turned the brand into the instance's hostname and made "Powered by 1time.io" link to the instance itself. Links are built from window.location.origin, so nothing needs the rewrite; 1time.io is now the brand on every instance. APP_HOSTNAME is no longer read. * ci: build both frontend editions on every PR The self-hosted edition was only ever built by docker-publish.yml on a release tag, so a broken link or leftover marketing block surfaced after a release. The build now ends with check-links.mjs; running it for both editions on each PR catches those before merge. * docker: send the production security headers, minus HSTS The docker nginx sent none of them, so a self-hosted /v/ page could be framed by any site and had no CSP. The snippets mirror configs/nginx/snippets: X-Frame-Options, nosniff, Referrer-Policy, Permissions-Policy and the CSP, included at server level and again in each location with its own add_header. /v/ and /f/ send no Referer. HSTS is left out on purpose: TLS is the self-hoster's reverse proxy's job, and production's "includeSubDomains; preload" would pin HTTPS onto every subdomain of the instance's parent domain. /v/ and /f/ use `try_files /v/index.html`, not `$uri/`: the directory index does an internal redirect into `location /`, which silently replaced no-referrer with the default policy (checked with nginx 1.24). * docker: rate-limit per visitor behind a reverse proxy; limits from env Behind the reverse proxy the README asks for, nginx keyed every limit on the proxy's address, so a whole organisation shared one bucket: 45 secrets a minute in total, and a second concurrent 250 MB upload ran into 429s. 30-1time-config.sh now writes, at container start: - set_real_ip_from for TRUSTED_PROXIES (default: private ranges and loopback; "none" trusts nobody) with REAL_IP_HEADER (default X-Forwarded-For; CF-Connecting-IP behind Cloudflare); - the limit_req zones from RATE_LIMIT (on/off), RATE_LIMIT_WRITE, RATE_LIMIT_UPLOAD and RATE_LIMIT_READ, defaulting to today's rates. Bursts stay fixed because they follow the protocol. Invalid values stop the container with a message. Checked against nginx 1.24: two visitors behind a trusted proxy get separate buckets, a spoofed X-Forwarded-For from an untrusted client is ignored, and RATE_LIMIT=off never answers 429. * docs: self-hosted edition, proxy-aware rate limits, removed variables README: APP_HOSTNAME and SHOW_BLOG are gone (with an upgrade note), TRUSTED_PROXIES / REAL_IP_HEADER / RATE_LIMIT* and SELF_HOSTED are documented, HSTS is left to the self-hoster's proxy, and the rootless Docker / Docker Desktop caveat is spelled out. AGENTS.md describes the two editions, isSelfHosted(), the prune allowlist and the link check. * docker: trust only the container's own network for X-Forwarded-For The default TRUSTED_PROXIES trusted every private range. On a company instance on an internal network, every user has a private address, so any of them could put a fake IP in X-Forwarded-For. That bypassed the rate limits, including the 250 MB upload limit, and wrote the fake address to the access log. Reproduced on nginx 1.24: 20 requests with a rotating fake address, no 429. With TRUSTED_PROXIES empty, 30-1time-config.sh now trusts only the subnets the container is directly attached to, read from /proc/net/route and /proc/net/if_inet6. That still covers a proxy container on the same compose network and a proxy on the host (it arrives from the bridge gateway). If nothing can be read, it trusts nobody, the safe failure. The same attack now hits 429 after the burst and is logged with its real address. The awk avoids `^`: busybox builds without math support reject it (this showed up as a silently dropped IPv6 prefix), and a missing /proc file is skipped explicitly rather than by discarding stderr. Checked with busybox sh/awk and with mawk. * Add /self-hosted/: self-hosted one-time secret sharing for teams Nothing on 1time.io answered searches like "self-hosted one-time secret for teams"; self-hosting was only mentioned in passing in the comparison posts. The new page covers why teams self-host, why zero-knowledge still matters on your own server, the Docker Compose setup, HTTPS with Caddy, the proxy-aware rate limits and their env variables, the CLI (--host) and extension against your own instance, a self-hosted comparison (rows taken from the README table) and a FAQ with FAQPage JSON-LD. Linked from the footer, the sitemap, llms.txt (so llms-full.txt picks it up) and the README. Full edition only: it is not on the self-hosted allowlist, so prune-selfhosted.mjs drops it from self-hosted builds. * README: refresh and slim down; self-hosting gets its own section The README had grown into a mix of product page, ops runbook and outdated facts. Rewritten around what a visitor needs, in order: what you get, how it works, self-hosting, CLI, building a client, development, then the browser extension at the bottom. - Self-hosting is one section: Docker Compose, build from source, HTTPS with Caddy, the security headers, the .env table, the rate-limit and trusted-proxy guidance, the upgrade note and the comparison table, with a link to 1time.io/self-hosted. - Removed the feature table, the "Free Tools" link list (SEO pages), the tech-stack table and the Chrome badge at the top; the extension now sits at the end. The VM deployment notes (how 1time.io itself deploys) move to docs/vm-deployment.md unchanged. - Fixed outdated facts: repository links and badges use shingrus/1time.io; Go 1.25+ and Node.js 22.23+ (Astro) instead of 1.22 / 20. - Screenshots retaken from the current self-hosted build against a real backend: create, link ready, reveal, file sharing. The old ones showed the previous UI. - CONTRIBUTING.md and SECURITY.md: same version and repository fixes. * README and /self-hosted/: plainer, more natural wording Same facts, rewritten in a plainer voice: prose instead of bold-led bullet lists, fewer dashes and colons, contractions, varied sentence length, and concrete examples where a sentence was abstract. The README's self-hosting section gets real subheadings, and the comparison table drops its bold. The page's description and GitHub link use the 1time.io repository name, matching the README. * Self-hosted review fixes: accurate comparison, simpler README, fewer comments /self-hosted/: shorter title and description, comparison table corrected (OneTimeSecret has a CLI and a password generator, Password Pusher has a generator), competitor names in the heading, and the admin caveat instead of claiming whoever runs the server can't read secrets; the FAQ entry on that is removed. The OneTimeSecret and Password Pusher posts drop the same generator claim and link to /self-hosted/, as does /developers/. README keeps the quick start and configuration, without the comparison table and the long rate-limit section. Comments are cut to the real traps, and the unused ONETIME_NGINX_DIR variable is gone.

  • shingrus(03 Nov 26)

    Send no-referrer on /v/ and /f/ try_files $uri/ made the index module redirect internally to /v/index.html, which location / served with the site-wide Referrer-Policy. Serving the file directly keeps the request in the exact-match block and its headers. Co-Authored-By: Claude Opus 5.5 <[email protected]>

  • Shingrus(03 Nov 26)

    Feature/mobile reliability (#105) * Keep a secret locally for one more open on mobile Phones reload a tab after an app switch, so a reader returning to paste the password saw "already viewed". On touch devices, the last view of a link without a passphrase keeps the ciphertext in sessionStorage for one more open within 10 minutes; the key stays in the URL fragment. The copy button is full width on touch screens. Co-Authored-By: Claude Opus 5.5 <[email protected]> * Keep the burned copy in localStorage so a reopened tab finds it Phones often reopen a link from the chat app in a new tab, which starts with empty sessionStorage. Expired or damaged copies are swept on every /v/ load, and a copy dated in the future counts as expired. Co-Authored-By: Claude Opus 5.5 <[email protected]> * Don't keep the burned copy when the sender opens their own link A sender opening their link on the same phone is testing that it burns; a second open must show "gone". The link's id is checked against this browser's My Secrets list. The kept-copy code is also folded into one helper. Co-Authored-By: Claude Opus 5.5 <[email protected]> --------- Co-authored-by: Claude Opus 5.5 <[email protected]>

  • Shingrus(03 Nov 26)

    Feature/mobile reliability (#104) * Keep a burned secret for one more open on mobile Phones reload a tab after an app switch, so a reader returning to paste the password saw "already viewed". On touch devices, the last view of a link without a passphrase keeps the ciphertext in sessionStorage for one more open within 10 minutes; the key stays in the URL fragment. The copy button is full width on touch screens. Co-Authored-By: Claude Opus 5.5 <[email protected]> * Keep the burned copy in localStorage so a reopened tab finds it Phones often reopen a link from the chat app in a new tab, which starts with empty sessionStorage. Expired or damaged copies are swept on every /v/ load, and a copy dated in the future counts as expired. Co-Authored-By: Claude Opus 5.5 <[email protected]> --------- Co-authored-by: Claude Opus 5.5 <[email protected]>

  • Shingrus(03 Nov 26)

    Keep a burned secret for one more open on mobile (#103) Phones reload a tab after an app switch, so a reader returning to paste the password saw "already viewed". On touch devices, the last view of a link without a passphrase keeps the ciphertext in sessionStorage for one more open within 10 minutes; the key stays in the URL fragment. The copy button is full width on touch screens. Co-authored-by: Claude Opus 5.5 <[email protected]>

  • Igor Yermako(29 Oct 26)

    bump undici

  • Shingrus(27 Oct 26)

    Ask for confirmation before saving program files (#100) Downloads named .exe .msi .scr .bat .cmd .ps1 .vbs or .apk (last extension, case-insensitive) are not saved until the recipient confirms. The check runs in the browser after decryption; nothing is sent to the server.

  • Shingrus(24 Oct 26)

    Seo/20261024 (#98) * SEO: new homepage title, consolidate password-sharing pages - Homepage title and description: "One-Time Link: Share a One-Time Secret Our Server Can't Read"; JSON-LD description aligned. - Merge /blog/how-to-send-passwords-over-email/ and /blog/team-password-sharing/ into /share-password-securely/, and /blog/stop-sending-passwords-over-slack/ into /blog/is-slack-safe-for-passwords/; 301s in configs/nginx/1time.conf. - Refresh /share-password-securely/ and /share-passwords-microsoft-teams/ with direct answers and current facts (250 MB, AES-256-GCM + HKDF-SHA256, key only in the URL fragment); fix the stale "Read and consume" label. - Remove the merged posts from the sitemap, the blog index and internal links; bump dateModified and lastmod on the edited pages. * enable short CF 404 cache

  • Igor Y(21 Oct 26)

    npm audit fix

  • shingrus(17 Oct 26)

    Keep downloaded files on the page and fix the early blob revoke

  • shingrus(14 Oct 26)

    redis.conf tweaks

  • shingrus(14 Oct 26)

    sitemap update

  • shingrus(14 Oct 26)

    bump file size to 250mb

  • shingrus(11 Oct 26)

    Privacy update

  • shingrus(10 Oct 26)

    Remove the feedback feature

  • Igor Y(09 Oct 26)

    npm audit fix

  • Shingrus(09 Oct 26)

    Browser memory usage improvement (#97)

  • Shingrus(05 Oct 26)

    - add cf country code to logs (#96) - a pinch of IN seo

  • Igor Y(04 Oct 26)

    npm audit fix

  • shingrus(04 Oct 26)

    revert the /share-password-securely/ page title

  • Shingrus(30 Sept 26)

    Remove feedback link

  • Shingrus(29 Sept 26)

    Remove IP prefix and exact match definitions Removed WHALE_IP_PREFIXES and WHALE_IP_EXACT definitions.

  • shingrus(27 Sept 26)

    BCI WAF rule

  • shingrus(26 Sept 26)

    add an icon to support old ios versions

  • shingrus(26 Sept 26)

    add utf-8 encoding for text/plain

1time.io Website

Website

One-Time Link: Share a One-Time Secret, Password or File

Create a one-time link for any secret — passwords, API keys, files. Self-destructing, end-to-end encrypted in your browser. Free, open source, no signup.

Redirects

Does not redirect

Security Checks

All 65 security checks passed

Server Details

  • IP Address104.21.12.75
  • LocationSan Francisco,California,United States of America,NA
  • ISPCloudFlare Inc.
  • ASNAS13335

Associated Countries

  • USUS

Safety Score

Website marked as safe

100%

Trackers

No known trackers found

Blacklist Check

1time.io was found on 0 blacklists

  • AntiSocial Blacklist
  • Artists Against 419
  • Badbitcoin
  • Bambenek Consulting
  • CERT Polska
  • CoinBlockerLists
  • CRDF
  • CryptoScamDB
  • EtherAddressLookup
  • EtherScamDB
  • Fake Website Buster
  • MetaMask EthPhishing
  • NABP Not Recommended Sites
  • OpenPhish
  • PetScams
  • PhishFeed
  • PhishFort
  • Phishing.Database
  • PhishStats
  • PhishTank
  • Phishunt
  • RPiList Not Serious
  • Scam.Directory
  • SecureReload Phishing List
  • Spam404
  • StopGunScams
  • Suspicious Hosting IP
  • ThreatFox
  • ThreatLog
  • TweetFeed
  • URLhaus
  • ViriBack C2 Tracker

Website Preview

Website preview

1time.io Reviews

More Secret Sharing

  • crypt.fyi is an ephemeral zero-knowledge sensitive data sharing platform with web, cli, and chrome-extension clients. It offers a suite of configurations beyond the standard for comparable private pastebins, including max read count, IP/CIDR allow-listing, and webhooks.

  • Share end-to-end encrypted Markdown notes, files, code and passwords/keys, or request secrets from others. Set a password, expiration time and/or maximum views. No account necessary. Self-hostable and has a client and admin CLI.

About the Data: 1time.io

Change History

Edit 1time.io Data

You can edit 1time.io's entry in this section of awesome-privacy.yml by submitting a PR to our GitHub repo.
Note that some of the information shown above has been aggregated from external sources, a list of these can be found data documentation.

Origin Data

Modify Data

API

You can access 1time.io's data programmatically via our API. Simply make a GET request to:

https://api.awesome-privacy.xyz/v1/services/1time-io

The REST API is free, no-auth and CORS-enabled. To learn more, view the API Docs or read the API Usage Guide.

Share 1time.io

Help your friends compare Secret Sharing, and pick privacy-respecting software and services.
Share 1time.io and Awesome Privacy with your network!