Skip to content

compose-us/flottform

Repository files navigation

flottform

A better UX for file uploads #build-in-public

License

Why no license (yet)? We want to share our progress, but we are not sure about the business model. We allow you to see our theories and learn from how we build it, but it's not allowed to use the produced code (yet). Please wait for the next updates for more information about how we want to handle this. If you have questions or feedback, feel free to reach out to us through our GitHub discussions board.

Prototype solution

We are about to explore ideas how we can solve the issue we described in detail about UX challenges in web forms if you have a file on another device.

Todos

  • Build a server that allows file uploads from a form
    • Build a server that accepts files
    • Build a web form with an input field for files
  • Let device A create a URL that allows connecting another device through WebRTC
    • Allow only one connection per URL
    • Establish a WebRTC connection between devices
    • Have an upload field on that URL for device B
    • Uploading to that URL populates the file field on device A

Roadmap

  • Make it easier to use by creating QR codes
  • Make it possible for form developers to add our feature with a single script
  • Find a business model that works for everybody
  • Find a license that fits our needs
  • Create a logo
  • Build a website

Update Instructions for Remote Server Deployment

These are the necessary steps to update the code on the remote server to the latest version.

  1. Connect to the remote server:
ssh <email@remote.server>
  1. Navigate to the Target Repository:
cd /path/to/your/repository/in/remote/server
  1. Check the Current Branch Used for Production:
git status

Ensure you are on the correct branch used for production. If not, switch to the appropriate branch:

git checkout <production-branch>
  1. Fetch all of the new changes:
git fetch --all
  1. [Optional] Update the Environment Variables:

If there are changes required in the environment variables, update the .env file accordingly.

nano .env
  1. Stop & re-run the containers:
docker compose down && git pull && docker compose build && docker compose up -d && docker volume prune —-filter all=1 —-force && docker compose logs -f