Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Jan 6, 2025. It is now read-only.
/ EasyForm Public archive

A free and easy, self-hosted form backend solution. No installation required.

License

Notifications You must be signed in to change notification settings

SomajitDey/EasyForm

Repository files navigation

⚠️ This project have matured into Formonit. Easyform, therefore, is no more maintained actively, although https://somajitdey.github.io/EasyForm/ still exists.

EasyForm

EasyForm gives you a free and easy, self-hosted form backend solution for adding (contact) forms to your static website(s). You don't, however, need to configure any server or install anything. Your browser becomes your server!

Your smartphone or PC is perhaps always connected to the internet, even on the move. So, if you keep your browser open there, and a very light-weight JavaScript server runs in it, you are essentially "self-hosting" for free. EasyForm capitalizes on this. Also, the ability to run in a browser makes EasyForm platform-independent!

Working with EasyForm is dead simple. All you need to do is the following:

  • Create a Telegram Bot and store its API token. This is easy. Just open a chat with @BotFather in Telegram and send: /newbot
  • Follow instructions in the Config: section below. You will be required to choose a Form Action URL (API endpoint) there
  • Use your chosen Form Action URL in your (contact) form

Whenever your users submit the form, you will get a Telegram text containing the users' form data from the Telegram Bot you created.

Here is an HTML code snippet you can readily embed as a basic contact form in your website. Just replace FormActionURL with the actual URL.

<form accept-charset="UTF-8" action="FormActionURL" method="POST" enctype="text/plain">
 <input type="hidden" name="formID" value="sample">
 <input type="email" name="email" placeholder="Your Email">
 <input type="text" name="name" placeholder="Your Name">
 <input type="text" name="message" placeholder="Your Message">
 <input type="submit" value="Submit">
 <input type="reset" value="Reset">
</form>

AltStyle によって変換されたページ (->オリジナル) /