Show HN: Tab-pal, a command-line app for creating colour palettes in Tableau

https://github.com/ben-n93/tab-pal

tab-pal

tab-pal is a TUI that makes it easier to add and edit custom colour palettes in Tableau.

tab-pal-demo

Installation

You can install via pip although I suggest using pipx so you can use it regardless of which virtual environmental you have (or don't have) activated:

Configuration

tab-pal will automatically search for your Preferences.tsp file on launch however if it can't be found you'll be prompted for the file path.

Alternatively, and what is recommended, is to create an enviromental variable called TAB_PAL_FILE, which tab-pal will search for on launch. This will ensure you don't need to keep supplying the file path every time you launch tab-pal.

Usage

Add, edit and delete palettes to your heart's content!

You might need to restart Tableau if you're using tab-pal concurrently to add/edit palettes in order to see the changes applied in Tableau.

Note that if you're using Terminal on Macbook some palette colour previews might not render correctly, as Terminal is limited to 256 colors. Instead, use iTerm2 or kitty.

{
"by": "ben-n933",
"descendants": 2,
"id": 40219399,
"kids": [
40219961
],
"score": 2,
"text": "A command-line app that makes it easier to add and edit custom colour palettes in Tableau.",
"time": 1714536347,
"title": "Show HN: Tab-pal, a command-line app for creating colour palettes in Tableau",
"type": "story",
"url": "https://github.com/ben-n93/tab-pal"
}
{
"author": "ben-nour",
"date": null,
"description": "A terminal app that makes it easier to add and edit custom colour palettes in Tableau. - ben-nour/tab-pal",
"image": "https://opengraph.githubassets.com/564dbf8e7927392cb70f4e59bde071d31a2ec426d524f2db8ac9ce93542b24ba/ben-nour/tab-pal",
"logo": "https://logo.clearbit.com/github.com",
"publisher": "GitHub",
"title": "GitHub - ben-nour/tab-pal: A terminal app that makes it easier to add and edit custom colour palettes in Tableau.",
"url": "https://github.com/ben-nour/tab-pal"
}
{
"url": "https://github.com/ben-nour/tab-pal",
"title": "GitHub - ben-nour/tab-pal: A terminal app that makes it easier to add and edit custom colour palettes in Tableau.",
"description": "tab-pal tab-pal is a TUI that makes it easier to add and edit custom colour palettes in Tableau. Installation You can install via pip although I suggest using pipx so you can use it...",
"links": [
"https://github.com/ben-nour/tab-pal",
"https://github.com/ben-n93/tab-pal"
],
"image": "https://opengraph.githubassets.com/564dbf8e7927392cb70f4e59bde071d31a2ec426d524f2db8ac9ce93542b24ba/ben-nour/tab-pal",
"content": "<div><article><p></p><h2>tab-pal</h2><a target=\"_blank\" href=\"https://github.com/ben-nour/tab-pal#tab-pal\"></a><p></p>\n<p><code>tab-pal</code> is a TUI that makes it easier to add and edit custom colour palettes in Tableau.</p>\n<p>\n <a target=\"_blank\" href=\"https://pypi.python.org/\">\n <img src=\"https://private-user-images.githubusercontent.com/84557025/326360617-d26de9c5-434e-4299-a35d-e97cb46ae57d.gif?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzQ4MDEyMjgsIm5iZiI6MTczNDgwMDkyOCwicGF0aCI6Ii84NDU1NzAyNS8zMjYzNjA2MTctZDI2ZGU5YzUtNDM0ZS00Mjk5LWEzNWQtZTk3Y2I0NmFlNTdkLmdpZj9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDEyMjElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQxMjIxVDE3MDg0OFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTUwZWNmZTU5OTMwM2RmZTQ5YmIzZGM2ODU0Zjk3ZGUyYWEyMjI2ODJlMTZiMDczOGEyYjI1MDU2N2VlYmQzZjUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.QQjfsg08xCgvHjCj5B8Rmr1mzfVRMGSyvZdUusLtPEY\" alt=\"tab-pal-demo\" />\n </a>\n</p>\n<p></p><h2>Installation</h2><a target=\"_blank\" href=\"https://github.com/ben-nour/tab-pal#installation\"></a><p></p>\n<p>You can install via <code>pip</code> although I suggest using <a target=\"_blank\" href=\"https://pipx.pypa.io/stable/\"><code>pipx</code></a> so you can use it regardless of which virtual environmental you have (or don't have) activated:</p>\n<p></p><h2>Configuration</h2><a target=\"_blank\" href=\"https://github.com/ben-nour/tab-pal#configuration\"></a><p></p>\n<p><code>tab-pal</code> will automatically search for your <code>Preferences.tsp</code> file on launch however if it can't be found you'll be prompted for the file path.</p>\n<p>Alternatively, and what is recommended, is to create an enviromental variable called <code>TAB_PAL_FILE</code>, which <code>tab-pal</code> will search for on launch. This will ensure you don't need to keep supplying the file path every time you launch <code>tab-pal</code>.</p>\n<p></p><h2>Usage</h2><a target=\"_blank\" href=\"https://github.com/ben-nour/tab-pal#usage\"></a><p></p>\n<p>Add, edit and delete palettes to your heart's content!</p>\n<p>You might need to restart Tableau if you're using <code>tab-pal</code> concurrently to add/edit palettes in order to see the changes applied in Tableau.</p>\n<p>Note that if you're using Terminal on Macbook some palette colour previews might not render correctly, as Terminal is limited to 256 colors. Instead, use <a target=\"_blank\" href=\"https://iterm2.com/\">iTerm2</a> or <a target=\"_blank\" href=\"https://sw.kovidgoyal.net/kitty/\">kitty</a>.</p>\n</article></div>",
"author": "",
"favicon": "https://github.githubassets.com/favicons/favicon.svg",
"source": "github.com",
"published": "",
"ttr": 34,
"type": "object"
}