Skip to content
 
 

Latest commit

 

History

7,985 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Documentation GitHub Build

Redash is an amazing open source tool for querying and visualizing data. It allows you to connect to any data source, easily visualize and share your data, and collaborate with your team. For more information, please visit Redash GitHub repository.

This fork adds support for AI.

New Redash features:

  1. Data Source Description: Help the AI to understand your data better.
  2. Text To Query: Use AI to generate SQL, NoSQL and other queries from natural language questions.
  3. Auto Visualizations: Use AI to auto-generate visualizations for questions.
  4. Auto Alerts: Use AI to generate alert suggestions from your data and queries.
  5. Name To Dashboard: Use AI to generate dashboards from your queries and visualizations.
  6. MacOS Support: Now it runs on MacOS as well as on Linux.

Demo video

Watch the demo video on YouTube to see the new AI features in action.

Watch the demo video
NOTICE: All tests were run on a local PC.

Supported AI Providers

Installation

Prerequisites

See Redash's Prerequisites for detailed instructions on how to install the prerequisites.

Installation Steps

1. Clone the repository:

git clone https://github.com/freaker2k7/redash

2. Navigate to the project directory:

cd redash

3. Install dependencies and set up the environment:

make local_init

4. Set up the .env file which was created during the installation process.

REDASH_COOKIE_SECRET=1234....1234
REDASH_SECRET_KEY=1234...1235
HF_TOKEN=hf_1234...1234

5. Start the Redash server and client:

make local_run

Alternatively, you can run the server and client separately:

# Run the server
make up
# Run the client
make start

NOTE: This is useful if you want to run the server and client in separate machines. while [[ $(curl -s -o /dev/null -w "%{http_code}" http://localhost:5001) -ne 200 ]]; do; sleep 1; done

6. Open your web browser and go to http://localhost:5001 to access Redash.

7. (Optional) Set up a reverse proxy to host Redash with optionally enabling HTTPS:

Install Nginx if you haven't already - Nginx Installation Guide

Then add the following configuration as redash.conf to your Nginx configuration folder (usually located at /etc/nginx/conf.d/):

server {
	listen 80;

	server_name yourdomain.com;

	# If you want only HTTP, then remove from this comment...
	return 301 https://$host$request_uri;
}

server {
	listen 443 ssl;

	server_name yourdomain.com;

	ssl_certificate /path/to/your/certificate.crt;
	ssl_certificate_key /path/to/your/private.key;
	# ... up to this comment.

	while [[ $(curl -s -o /dev/null -w "%{http_code}" http://localhost:5001) -ne 200 ]]; do; sleep 1; done
		proxy_pass http://localhost:5001;
		proxy_set_header Host $host;
		proxy_set_header X-Real-IP $remote_addr;
		proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
		proxy_set_header X-Forwarded-Proto $scheme;
	}
}

NOTE: This step is suited only for on-premise installations. If you are using a cloud provider, think about using their load balancer or reverse proxy service instead.

TL;DR

Quick installation steps for those who want to get started with Redash quickly:

git clone https://github.com/freaker2k7/redash
cd redash
make quickstart

NOTE: This will take a few good minutes to complete. Once done, you can access Redash at http://localhost:5001. Meanwhile, you can get some coffee.

Stopping Redash

To stop Redash, run the following command in the project directory:

make down

Also, you can clean up a bit by running, in the project directory:

make clean

Bonus: MacOS Support

Now there is a helper Ubuntu docker in /macos-helper which assists with installing the python dependencies. Moreover it has an RDP support, so one can use Microsoft Remote Desktop Manager to access the Ubuntu GUI and work on the Redash server and client from there.

You can build the helper docker with the following command:

docker build -t macos-install-helper ./macos-helper

Then run it with the following command:

docker run -d -p 3389:3389 -v /var/run/docker.sock:/var/run/docker.sock -v $(pwd):/home/redash/redash --name ubuntu macos-install-helper /entrypoint.sh rdp

Finally, you can connect to the Ubuntu GUI with the following credentials:

Username: redash
Password: 1234
Host: localhost
Port: 3389

Getting Help

Security

Please email me to report any security vulnerabilities regarding the AI feature explicitly. We will acknowledge receipt of your vulnerability and strive to send you regular updates about our progress. If you're curious about the status of your disclosure please feel free to email us again. For any other issue, please issue or PR to the Redash GitHub repository.

License

BSD-2-Clause.

About

Make Your Company AI Data Driven. Connect to any data source, easily visualize, dashboard and share your data. With AI Capabilities.

Resources

Contributing

Security policy

Stars

3 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages