Skip to content
/ papermark Public

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

License

Notifications You must be signed in to change notification settings

mfts/papermark

Folders and files

NameName
Last commit message
Last commit date

Latest commit

f4da1d0 · Mar 30, 2025
Feb 6, 2025
Mar 26, 2025
Mar 30, 2025
May 13, 2024
Mar 18, 2025
Mar 26, 2025
Mar 29, 2025
Feb 17, 2025
Nov 9, 2024
Feb 12, 2025
Sep 9, 2024
Feb 11, 2025
Jan 23, 2024
Feb 24, 2025
May 22, 2024
Oct 8, 2024
May 14, 2024
Feb 23, 2025
Mar 27, 2024
Jan 10, 2025
Mar 9, 2025
Jan 17, 2025
Mar 9, 2025
Mar 12, 2025
Mar 24, 2025
Mar 24, 2025
Feb 28, 2025
May 13, 2024
Feb 28, 2025
Jan 17, 2025
Feb 11, 2025
Sep 6, 2024
Jul 6, 2024

Repository files navigation

Papermark

The open-source DocSend alternative.

Papermark - The open-source DocSend alternative | Product Hunt


GitHub Repo stars Twitter Follow License

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

Papermark Welcome GIF

Tech Stack

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

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

2. Install npm dependencies

npm install

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

cp .env.example .env

4. Initialize the database

npm run dev:prisma

5. Run the dev server

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:
    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:
    cd lib/tinybird
  4. Push the necessary data sources using the following command:
    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

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 ✨