Guidefox helps app owners build knowledge and user-experience oriented apps. It includes the following features:
- Welcome tours
- Popups
- Banners
- Helper links
- Hints
It also provides an extension to easily fill target elements for hints and tours.
To see a demo, click here. If you have any questions, you can use the Guidefox forum.
The source code is available under GNU AGPLv3. If you would like to support us, please consider giving it a ⭐ and click on "watch" so you can latest news from us.
guidefox-script-demo.mp4Make sure docker and git is installed
- Clone the project
git clone https://github.com/bluewave-labs/guidefox.git
- Navigate to the project directory
cd guidefox
- Run docker
docker compose -f docker-compose.prod.yml build or npm run docker-build:prod
then
docker compose -f docker-compose.prod.yml up or npm run docker-up:prod
-
Make sure Docker is installed to your machine where the server will run.
-
Make sure git is installed to your machine.
-
Make sure nginx is installed.
-
Clone GitHub Repository
- Configure Nginx
Open the Nginx configuration file:
sudo nano /etc/nginx/sites-available/guidefox
Add the following configuration. Change YOUR_DOMAIN_NAME with your domain name:
- [Optional] Create a symbolic link to enable the configuration:
sudo ln -s /etc/nginx/sites-available/guidefox /etc/nginx/sites-enabled/
- [Optional] Install Certbot and its Nginx plugin:
sudo apt install certbot python3-certbot-nginx
Make sure you have /etc/letsencrypt/options-ssl-nginx.conf If not you can get it from https://raw.githubusercontent.com/certbot/certbot/master/certbot-nginx/certbot_nginx/_internal/tls_configs/options-ssl-nginx.conf
- Obtain SSL Certificate. Run Certbot to obtain a certificate for your domain:
sudo certbot --nginx
- Verify the Nginx configuration:
sudo nginx -t
- Restart Nginx to apply the changes:
sudo systemctl restart nginx
- Start the project
cd ~/guidefox docker compose up -d
In order to the project to run safely and correctly, the user should add their own environment variables. They can be added to the .env file in the backend directory of the project. The following is the list of environment variables that should be added and its description:
- Node Env
It is set from the .env file in the root directory
- Backend Url
It is set from ./frontend/src/utils/constant.js
- Database credentials
In the root folder
In the backend folder
- Email service configuration For the email service to run correctly, the user should add their own email credentials
Example configuration:
Note: When using Gmail, you'll need to enable 2-factor authentication and generate an App Password.
- JWT Secret Key
- Use a strong, random secret key (minimum 32 characters)
- Enable IP check for the API If the ENABLE_IP_CHECK is set to true, but the ALLOWED_IP_RANGE and ALLOWED_IPS are not set, the API will work for all IP addresses.
Example configuration:
Note: For security reasons, it's recommended to always set either ALLOWED_IP_RANGE or ALLOWED_IPS when ENABLE_IP_CHECK is true.
- In .env.test file, the user should have the following environment variables, so the postgres container can run correctly:
For running tests in windows installing win-node-env module is recommended
After setting up the project, copy and paste the script that can be found in the Code tab of the Settings. Modify Api Base URL to point out to the url of tour backend server. The code snippet can also be found here:
We are working on a browser extention to move this code there to improve the user experience.
Our extension will be available on the Chrome Web Store soon. In the meantime, developers can manually load the extension by navigating to Extensions → Manage Extensions → Load unpacked and selecting the extension folder.
We pride ourselves on building strong connections with contributors at every level. Don’t hold back — jump in, contribute and learn with us!
- Star this repo :)
- Check Contributor's guideline
- Have a look at our Figma designs here. We encourage you to copy to your own Figma page, then work on it as it is read-only.
- Open an issue if you believe you've encountered a bug
- Make a pull request to add new features/make quality-of-life improvements/fix bugs.
- Make sure your send your PRs to develop branch.
Also check other developer and contributor-friendly projects of BlueWave:
- Checkmate, a server and infrastructure monitoring tool
- DataHall, an secure file sharing application, aka dataroom.
- Headcount, a complete Human Resource Management platform.
- VerifyWise, the first open source AI governance platform.