Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
P

papermark

> 前端框架
Open source

Papermark is the open-source DocSend alternative with built-in analytics and custom domains.

8.9K stars0 likes0 views
WebsiteGitHub

About

Papermark is the open-source DocSend alternative with built-in analytics and custom domains.



Papermark is the open-source document-sharing alternative to DocSend, featuring built-in analytics and custom domains.

Features

  • Shareable Links: Share your documents securely by sending a custom link.
  • Custom Branding: Add a custom domain and your own branding.
  • Analytics: Gain insights through document tracking and soon page-by-page analytics.
  • Self-hosted, Open-source: Host it yourself and customize it as needed.

Demo

Tech Stack

  • Next.js – Framework
  • TypeScript – Language
  • Tailwind – CSS
  • shadcn/ui - UI Components
  • Prisma - ORM
  • PostgreSQL - Database
  • NextAuth.js – Authentication
  • Tinybird – Analytics
  • Resend – Email
  • Stripe – Payments
  • Vercel – Hosting

Getting Started

Prerequisites

Here's what you need to run Papermark:

  • Node.js (version >= 18.17.0)
  • PostgreSQL Database
  • Blob storage (currently AWS S3 or Vercel Blob)
  • Resend (for sending emails)

1. Clone the repository

bash
git clone https://github.com/mfts/papermark.git
cd papermark

2. Install npm dependencies

bash
npm install

3. Copy the environment variables to .env and change the values

bash
cp .env.example .env

4. Initialize the database

bash
npm run dev:prisma

5. Run the dev server

bash
npm run dev

6. Open the app in your browser

Visit http://localhost:3000 in your browser.

Tinybird Instructions

To prepare the Tinybird database, follow these steps:

  1. We use pipenv to manage our Python dependencies. If you don't have it installed, you can install it using the following command:
    bash
    pkgx pipenv
  2. Download the Tinybird CLI from here and install it on your system.
  3. After authenticating with the Tinybird CLI, navigate to the lib/tinybird directory:
    bash
    cd lib/tinybird
  4. Push the necessary data sources using the following command:
    bash
    tb push datasources/*
    tb push endpoints/get_*
  5. Don't forget to set the TINYBIRD_TOKEN with the appropriate rights in your .env file.

Updating Tinybird

bash
pipenv shell
## start: pkgx-specific
cd ..
cd papermark
## end: pkgx-specific
pipenv update tinybird-cli

Contributing

Papermark is an open-source project, and we welcome contributions from the community.

If you'd like to contribute, please fork the repository and make any changes you'd like. Pull requests are warmly welcome.

Our Contributors ✨

Issues· 240 open

View all issuesOpen on GitHub
  • #2195

    Title: Restore missing modules causing build failures

    Updated Sep 10, 2026
  • #2209

    Cannot scope API key to data room

    Updated Sep 9, 2026
  • #1465

    Bug: Dark Mode CSS Issues on Tokens and Incoming Webhooks tab

    Updated Sep 6, 2026
  • #2194

    feat: Add "Rename" option to document list view

    Updated Sep 6, 2026
  • #1649

    [Bug] Footer component is displayed twice in the router: https://www.papermark.com/customers

    Updated Sep 6, 2026
  • #1905

    Route /api/faqs couldn't be rendered statically because it used nextUrl.searchParams

    Updated Sep 6, 2026
  • #2173

    UI: Fix squashed icons in Help Center dialog

    Updated Sep 6, 2026
  • #2175

    Title: returning same fields three times document overview API

    Updated Sep 6, 2026
  • #2201

    Revalidate cache button calls a nonexistent route, always fails

    Updated Sep 6, 2026
  • #2078

    Security: Cross-Team Folder IDOR in folder management endpoints

    Updated Aug 24, 2026

> Tags

TypeScriptdataroomnext-authnextjsopen-source

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 29, 2026
Category前端框架
PricingOpen source

> Related tools

R
React
用于构建用户界面的 JavaScript 库
V
Vue.js
渐进式 JavaScript 框架
N
Next.js
基于 React 的全栈 Web 框架