Skip to content

gitter-badger/hence-form

 
 

Repository files navigation

Code Climate Issue Count Test Coverage Build Status Open Source Love GPL Licence

Hexient Labs HenceForm

Overview

Have you ever needed to set up a PHP script to relay form submissions to your email? Well, you should use your HenceForm instead! No coding, no setup, just a simple way to relay form data into an email.

  1. Create a form on your site and set the action attribute on your form to https://henceform.hexientlabs.com/you@youremail.com.

  2. Whenever a user fills out and submits the form, we'll send you an email with that data.

Note The first time you submit a form, it will ask you to confirm your email. After that, you're good to go.

Example

A form could look like:

<form action="https://henceform.hexientlabs.com/you@youremail.com">
  <input type="text" name="first_name"/>
  <input type="text" name="last_name"/>
  <button type="submit">Submit</button>
</form>

You'll then get an email that looks like:

Deployment

Want to run your own copy of HenceForm? It's simple.

Use the Heroku Deploy button below and set the required configuration values on the next page

Deploy

Note: Even though we use the free Heroku Redis and Heroku Postgres addons, Heroku will require that the account you use has a credit card attached to it.

Running Locally

  1. Install the Ruby Version specified in the .ruby-version file via RVM or RBenv

  2. Install PostgreSQL and have it running

  3. Install Redis and have it running

  4. Clone the Repo and cd into it

  5. Install Ruby dependencies via bundle install

  6. Copy the .env.example file to .env

  7. Set all values in the .env file. This is already gitignored so don't worry about committing it.

  8. Setup the database using bundle exec rails db:setup

  9. Run the server using bundle exec rails server

  10. Run the worker using bundle exec sidekiq -c 5 -v -q default -q mailers

License

This project is licensed under the GPL v3 License

Contributions

Hexient Labs Logo

This project is heavily inspired by the amazing FormSpree project.

This project is lovingly maintained by the Hexient Labs Engineering Team. If you like this project, consider them for your your next project

About

Simple Form Submission Server Side

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 57.3%
  • CSS 30.1%
  • HTML 11.6%
  • JavaScript 1.0%