Skip to content

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

triggerdotdev/papermark

This branch is 1550 commits behind mfts/papermark:main.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

c596508 · Mar 20, 2024
Dec 1, 2023
Mar 20, 2024
Mar 19, 2024
Nov 25, 2023
Mar 11, 2024
Mar 18, 2024
Mar 19, 2024
Mar 15, 2024
Feb 29, 2024
Aug 7, 2023
Feb 23, 2024
Jan 23, 2024
Dec 20, 2023
Nov 12, 2023
Jun 9, 2023
Feb 28, 2024
Feb 28, 2024
Feb 28, 2024
Aug 7, 2023
Mar 19, 2024
Mar 13, 2024
Mar 17, 2024
Mar 17, 2024
Oct 14, 2023
May 27, 2023
Nov 12, 2023
Mar 12, 2024
Mar 12, 2024
Nov 26, 2023
Mar 9, 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 with built-in analytics and custom domains.

Features

  • Shareable Links: Share your document securely by sending a custom link
  • Custom Branding: Add a custom domain and your own branding
  • Analytics: Get insights via document tracking and soon page-by-page analytics
  • Self-hosted, open-source: Host it yourself and hack on it

Demo

Papermark Welcome GIF

Tech Stack

Getting Started

Prerequisites

Here's what you need to be able to run Papermark:

  • Node.js (version >= 18)
  • 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

npx prisma generate
npx prisma migrate deploy

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 my 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 datasources 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 changes as you'd like. Pull requests are warmly welcome.

Our Contributors ✨

About

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

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 98.6%
  • Other 1.4%