Giter VIP home page Giter VIP logo

joffcom / input Goto Github PK

View Code? Open in Web Editor NEW

This project forked from deck9/input

0.0 1.0 0.0 2.81 MB

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.

Home Page: https://getinput.co

License: Other

Shell 0.04% PHP 52.22% TypeScript 8.73% Makefile 0.10% Vue 37.23% Blade 1.32% Dockerfile 0.37%

input's Introduction

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 watch
# or
npm run hot # 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

# Create the sqlite database on your host system
touch ~/.input/database.sqlite

docker run -d -p 8080:8080 \
    -v ~/.input/docker-data:/var/www/html/storage/app \
    -v ~/.input/database.sqlite:/var/www/html/storage/database.sqlite \
    ghcr.io/deck9/input:main

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.