Giter VIP home page Giter VIP logo

reiniiriarios / squirrel-table Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 0.0 83.74 MB

Desktop application to run MySQL queries over SSH and generate CSV and XLSX files. Useful for QA where queries need to be run repeatedly and files handed off.

License: GNU General Public License v3.0

JavaScript 53.30% HTML 17.01% SCSS 29.69%
sql mysql mariadb csv qa electron nodejs csv-files desktop-application xlsx excel quality-assurance quality-control quality-control-assurance data-analysis

squirrel-table's Introduction

SquirrelTable

SquirrelTable is a desktop application that can run MySQL queries over SSH and generate CSV and XLSX files. Useful for QA where queries need to be run repeatedly and files handed off. Typical usage within a team might be to have a directory of SQL files syncing over cloud storage that one person can update and other people can simply open SquirrelTable and run as they need.

Latest Release

Getting Started

After installing, select a directory of SQL files and configure your database connection and SSH settings if connecting through a tunnel.

Any commented lines in SQL files will appear at the bottom of the screen under Comments rather than in-line.

After running a query, results will be displayed. You can then save the results as a CSV or XLSX.

Importing and Exporting Settings

If you want to copy your settings to another device or want to quickly set up other users, you can export your settings as a .json file. Your login information and SSH key will be encrypted. Upon importing, the SSH key is decrypted and stored alongside the imported preferences file. If you change the key file after importing, the imported key will be deleted.

Why SquirrelTable?

Finding myself writing query after query for data analysis and QA, I was using HeidiSQL, but wanted a simpler solution for myself and needed a simpler solution to distribute to other employees. My primary use for the app is in an ecommerce environment, but the app could be useful wherever there's a regular and evolving need for data analysis and/or QA.

Specific Use Cases

  • Generating statistics on how often different shipping methods are used.
  • Finding user errors that aren't caught, such as setting incorrect product visibility settings. Not specifically an error, but incorrect nonetheless.
  • Finding users who have tried to add a third party connection, such as a shipping integration, but never finished setting it up (maybe they used the wrong account ID).
  • Pulling a list of users who have been inactive but have added products. Or who haven't.
  • Finding out how long, on average, it takes between users signing up for an account and adding their first product, then their third, split by user demographics.

Why "SquirrelTable?"

SQL...SQuirreL :3

To Do

  • Auto-refresh when files in directory change
  • Ctrl+F Find in results

Running & Making from Source

SquirrelTable is built on Node.js with Electron using Electron Forge.

After installing Node.js, if not already installed:

git clone https://github.com/reiniiriarios/squirrel-table.git

cd squirrel-table

npm install

npm run scss

See forge.config.js for settings. You'll need to edit as needed.

To Run

npm start

To Make

npm run make

squirrel-table's People

Contributors

reiniiriarios avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

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.