Skip to content
forked from deck9/input

A privacy-focused, no-code, open-source form builder designed for simplicity and brand consistency.

License

Notifications You must be signed in to change notification settings

matejmajzel/input

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Input is a no-code application to create simple & clean forms.
With our customization options, you can let the forms shine in your brands colors.

Why Input?

Input aims to be an alternative to proven tools like TypeForm, with the added benefit of self-hosting and having brandable forms out of the box.

We started Input out of a previous project called BotReach, which was already a conversational form tool, but closed-source. We plan to release a feature complete first MVP of Input in Q2 2022.

We are in an early stage of developing and some of our planned features are currently not in the codebase. You can contact us via [email protected] to get on the waitlist or if you want to contribute to the development.

Development

We are using Laravel Sail to develop Input. You need Docker already installed on your machine to run the entire app. We also recommend installing Node.JS and NPM directly on your host machine to make working with frontend assets more convenient.

Download

Clone the source of this repository with the following command:

git clone [email protected]:deck9/input.git

Configuration

Copy the .env.dev.example file to .env - the contents for the file should, in most cases, work out of the box. You may later generate and set the APP_KEY with the sail artisan key:generate command.

cp .env.example .env

Running

Make sure that your Docker agent is running. There are several steps necessary to build the app for the first time. To simplify these tasks, we have a Makefile in place. Just run the following command, and all build steps will run automatically:

make up

Webpack (Mix)

To compile the frontend assets, we use Laravel Mix. You can use watch mode to rerun Webpack each time a file changes. We also have a hot-reload enabled mode. Please note that this mode currently has a bug since we have defined multiple entry files for Webpack.

npm run dev
# or
npm run dev # hot reload enabled

Sail Bash Alias

It is recommended to create a bash alias, to make working with Laravel Sail simple as possible. To do this, you can check out the Laravel docs on this topic or just add the following alias to your .bashrc or .zshrc:

alias sail='[ -f sail ] && bash sail || bash vendor/bin/sail'

With the alias, you can quickly perform tasks on the App Docker Container:

sail up -d # start container
sail artisan tinker # use laravel artisan commands
sail artisan db:migrate # run database migrations
sail artisan test # run phpunit
sail composer {args} # use composer

Production Deployment

Quick Start

# Create Docker Volume
docker volume create input-data

# Run the container using port 8080 on the host
docker run -d -p 8080:8080 --name input \
    -v input-data:/var/www/html/storage \
    ghcr.io/deck9/input:main

Behind a Proxy

Make sure to set the APP_URL env to the domain you want to use for your proxy.

docker run -d -p 8080:8080 --name input \
    -v input-data:/var/www/html/storage \
    -e APP_URL=https://domain.tld \
    ghcr.io/deck9/input:main

With MySQL

docker run -d -p 8080:8080 --name input \
    -e DB_CONNECTION=mysql \
    -e DB_DATABASE=input \
    -e DB_HOST=<MySQL-Host> \
    -e DB_USERNAME=<MySQL-User> \
    -e DB_PASSWORD=<MySQL-Password> \
    ghcr.io/deck9/input:main

About

A privacy-focused, no-code, open-source form builder designed for simplicity and brand consistency.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 46.2%
  • Vue 40.8%
  • TypeScript 11.2%
  • Blade 1.4%
  • Dockerfile 0.3%
  • Makefile 0.1%