Skip to content

PostDropcom/Postdrop-cdn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

PostDrop CDN Integration 🚀

The official lightweight JavaScript client for PostDrop — a headless form backend for modern websites.

WebsiteDocumentationGet Started

PostDrop lets you receive form submissions directly in your inbox without building backend APIs or configuring SMTP servers.

Perfect for:

  • Static websites
  • Portfolio websites
  • Landing pages
  • Frontend applications
  • Indie projects

How It Works

  1. Add the PostDrop CDN script
  2. Create a form with id postdrop-form
  3. Add your data-public-id
  4. Submit your form

PostDrop automatically handles:

  • form submission
  • spam filtering
  • validation
  • email delivery
  • managing entries in dashboard

Features

  • Zero dependencies
  • AJAX form submissions
  • No page reloads
  • Automatic loading state handling
  • Spam protection support
  • Works with any HTML form

Installation

Latest Version

<script src="https://cdn.jsdelivr.net/gh/PostDropcom/postdrop-cdn@main/js/script.js"></script>

Specific Version

<script src="https://cdn.jsdelivr.net/gh/PostDropcom/postdrop-cdn@1.0.0/js/script.js"></script>

Quick Start

<script src="https://cdn.jsdelivr.net/gh/PostDropcom/postdrop-cdn@main/js/script.js" defer></script>

<form id="postdrop-form" data-public-id="YOUR_PUBLIC_ID">

  <input
    type="text"
    name="name"
    placeholder="Your Name"
    required
  />

  <input
    type="email"
    name="email"
    placeholder="Your Email"
    required
  />

  <button type="submit">
    Send Message
  </button>

</form>

That’s it — submissions will now be sent directly to PostDrop.

Spam Protection

PostDrop supports honeypot-based spam protection out of the box.

<input
  type="text"
  name="postdrop_honeypot"
  style="display:none"
  tabindex="-1"
  autocomplete="off"
/>

Documentation

Full documentation is available at:

👉 https://postdrop.online/docs


License

MIT © PostDrop

About

The easiest headless form backend API for frontend devs. Receive form submissions directly in your inbox without building backend APIs.

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors