Driver FixRecommendedSound, Wi-Fi or graphics acting up? Check drivers firstFind missing or outdated drivers fast.Check DriversOctober DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsWindows FixRecommendedWindows errors stealing your time? Find the fix fastScan stability, cleanup and performance issues.Fix Now×
Skip to content
World desk4 min

How to Build and Deploy an Interactive Streamlit Dashboard with Plotly and GitHub Actions

A practical path from a Python dashboard to a hosted app: connect Streamlit widgets to Plotly charts, automate checks with GitHub Actions, and deploy from GitHub.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Build the dashboard in Streamlit, use Plotly for interactive charts, and let GitHub Actions test repository changes. Then deploy the app from GitHub through a hosting provider such as Streamlit Community Cloud. These are separate jobs: GitHub Actions runs checks; the hosting service runs the live app.

What each part of the stack does

Streamlit is the Python framework for the app interface: it displays data, widgets, and results. Plotly creates chart objects, which Streamlit can render with st.plotly_chart. GitHub stores the project, while GitHub Actions automates checks when code changes. Hosting supplies the remote environment that runs the published app.

As an Amazon Associate I earn from qualifying purchases.

In practice, a user changes a Streamlit widget, the app uses that selection to prepare or filter data, and Plotly describes the resulting chart. Streamlit’s first-app tutorial covers data handling, charts, maps, and interactive widgets.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Build the app and add a Plotly chart

  1. Create an entrypoint. Start with a file such as streamlit_app.py. Load or prepare the data and render a basic view before adding extra features.
  2. Connect widgets to the data. Add controls for the choices users need, such as a date range or category. Use their selected values when preparing the data shown in the app.
  3. Create a Plotly figure. Build a Plotly Figure or use a supported Data object, then display it with st.plotly_chart(figure). The Streamlit API reference specifies Plotly version 4.0.0 or later for this integration; manage the version in the project’s dependency file rather than relying on whatever happens to be installed locally.
  4. Run the app locally. Confirm the entrypoint, widgets, data preparation, and chart work together before configuring deployment.

Declare dependencies and protect secrets

A hosted app runs in a remote environment, so packages installed only on a developer’s computer are not available there. Declare the app’s required packages in a dependency file, commonly a root-level requirements.txt, and include Plotly along with any other libraries the app imports. Streamlit Community Cloud provides Python and Streamlit, but the app must still declare its other dependencies. See Streamlit’s guidance on managing deployment dependencies.

#1 Best Overall
Sale
Elgato Stream Deck MK.2 Studio Controller, 15 Macro Keys
  • 15 Customizable LCD Keys: instantly control your apps, tools and platforms.
  • One-Touch Operation: trigger single or multiple actions, launch social posts, adjust audio, mute mic, turn on lights, and much more.
  • Visual Feedback: know that your command has been executed.
  • Powerful Plugins: Elgato 4KCU, OBS, Twitch, YouTube, Twitter, Discord, Spotify, Philips Hue, and many more.
  • Hotkey Actions: streamline your film editing, music production, photography workflow, etc.

Keep credentials and other private values out of source code and Git history. Configure them using the secret-management mechanism supported by the chosen host, and follow its current instructions. Streamlit describes dependency installation, secret handling, and starting the app remotely as core parts of deployment in its deployment concepts.

Run automated checks with GitHub Actions

Put workflow files in .github/workflows/. A useful workflow runs for pull requests and changes to the branch you intend to deploy, so it can catch problems before or while code is integrated. Streamlit’s documented example uses GitHub Actions to check out the repository, set up Python, and invoke streamlit/streamlit-app-action.

Rank #2
8Bitdo Ultimate 2 Wireless Controller for PC, Apple, Steam & Android, Black
  • TMR Joysticks - Offering higher sensitivity, greater precision, and enhanced durability.
  • 8BitDo Exclusive Wireless Technology - “8Speed”, it delivers an exceptionally stable 2.4G connection with ultra-low latency under 1ms. Engineered for rock-solid reliability, it features strong anti-interference and a 10m range with virtually no lag.
  • Trigger Mode Switch - Easily switch between linear Hall Effect triggers and non-linear tactile triggers for optimal control across different gaming scenarios.
  • 1000Hz Polling Rate (for 2.4G and wired connection). Customizable 6-Axis Motion Control. Turbo function. Rumble vibration. Support 8BitDo Ultimate Software V2.
  • 2 Pro back paddle buttons, extra R4/L4 bumpers, and tactile bumpers & D-pad for enhanced control and faster response. Includes a multifunctional charging dock and USB-C adapter for seamless connectivity.

The documented example specifies actions/checkout@v4, actions/setup-python@v5 with Python 3.11, and streamlit/[email protected], with app-path set to the app entrypoint. These are the versions shown in Streamlit’s example, not a guarantee that they are the newest releases. Check action releases and the Python versions supported by your project before adopting them.

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

According to Streamlit’s CI testing guide, the app action installs pytest and dependencies from a root requirements.txt, runs app smoke tests for the specified app and additional pages, and runs Python tests found in the repository. If your project installs dependencies another way, add the corresponding installation step. Ruff linting is available as an option. Adapt the branches, Python version, and test command to match your repository.

Rank #3
Sale
VSD M18 Macro Pad Programmable Keypad, Stream Controller Streaming Deck, Customizable LCD keys, Gaming shortcut keyboard, USB sound board, Trigger actions in OBS, Twitch, YouTube, Works with PC Mac
  • 18 Programmable Keys Macro Keypad: This stream controller deck comes with 18 customizable macro keys (15 LCD visual keys + 3 physical buttons). Users may program single actions or multi-step sequences for daily operation. The keys support in-game combos, app launch and media playback control for multiple usage scenarios. Each LCD key accepts JPG, PNG and GIF images and animations to mark separate functions
  • Single Tap Control: This USB macro keyboard pad supports single tap commands for quick operation. Users can trigger pre-set macros, input text, open files and web pages, adjust media playback, or switch OBS scenes with one tap. The straightforward layout fits gaming, live streaming and professional office task setup
  • One Tap Multi-Shortcut: This macro controller pad streaming deck supports multi-shortcut macro programming for gamers and content creators. Custom shortcuts simplify game combo inputs, video editing, music production and photography workflows. The Operation Follow function runs multiple macro steps in custom order or simultaneous execution for adjustable task control
  • Adjustable RGB Surround Light Ring - VSD M18 gaming streaming deck features an outer RGB light ring with auto color cycle mode. Custom RGB tones are available via device firmware upgrade. The light ring offers adjustable visual lighting for dim gaming, streaming and night work setups.
  • Wide System Compatibility: This VSDinside macro control board works with Windows 11 and newer, macOS 11.0 and newer systems. Connect via USB-C cable for immediate use. It is compatible with mainstream software including OBS, Streamlabs, YouTube, Twitter, Discord, Excel, Word and Photoshop for daily production work. Native Linux system plug-and-play support is not available, while SDK development documents are provided for custom secondary development

Choose where to host the app

Streamlit’s deployment overview lists Community Cloud, Snowflake, and tutorials for other providers. It presents Community Cloud for non-commercial, personal, and educational apps, and describes Snowflake as enterprise-grade; those broad descriptions are not a substitute for checking the requirements of a particular project. Compare hosting options against these practical questions:

  • Audience and use: Is the app personal, educational, public, or for business use?
  • Access: Who needs to view the app, and what repository permissions or private-repository authorization does deployment require?
  • Data and security: What credentials, sensitive data, or organizational controls are involved?
  • Operations: How does the provider install dependencies, start and restart the app, expose logs, and apply changes?
  • Cost and limits: Check each provider’s current pricing, quotas, and usage policies directly; comparable current figures are not established here.

For Community Cloud, connect a GitHub account, select the repository and app entrypoint, and deploy. The deploying account needs admin permissions on the repository; private repositories and organization-owned repositories may require additional authorization. Consult Streamlit’s instructions to connect your GitHub account before deployment.

Rank #4
Sale
Elgato Stream Deck +, Audio Mixer and Studio Controller
  • Tactile Control, Visual Feedback: LCD keys, touch strip, and dials for audio, video, lighting, and more. Know that your command has been executed.
  • Fully Customizable: Use as an audio mixer, studio controller, production console, etc.
  • Multi Actions, Smart Profiles: trigger multiple actions at once or sequentially, automatically switch between interface configurations for different apps.
  • Powerful Plugins: Elgato Wave Link, Camera Hub, Control Center, OBS, Twitch, YouTube, Twitter, Discord, Spotify, Philips Hue, and many more
  • Stream Deck App and Store: drag and drop setup, download plugins, icons, thousands of royalty-free tracks, SFX, and more. Regular updates and new plugins frequently added.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Keep CI and live deployment distinct

A passing GitHub Actions run means the configured checks passed; it does not mean GitHub Actions is hosting the app. In the Community Cloud workflow, the hosting service connects to the repository and reflects pushes in the app. Dependency changes can trigger a full redeployment, which takes longer. After a change, check the live app itself: confirm it starts, its data source is reachable, its chart renders, and its configured secrets work. Streamlit explains repository updates and app management in its app management guide.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Quick Recap

SaleBestseller No. 1
Elgato Stream Deck MK.2 Studio Controller, 15 Macro Keys
Elgato Stream Deck MK.2 Studio Controller, 15 Macro Keys
15 Customizable LCD Keys: instantly control your apps, tools and platforms.; Visual Feedback: know that your command has been executed.
$119.99
Bestseller No. 2
8Bitdo Ultimate 2 Wireless Controller for PC, Apple, Steam & Android, Black
8Bitdo Ultimate 2 Wireless Controller for PC, Apple, Steam & Android, Black
TMR Joysticks - Offering higher sensitivity, greater precision, and enhanced durability.
$59.99
SaleBestseller No. 4
Elgato Stream Deck +, Audio Mixer and Studio Controller
Elgato Stream Deck +, Audio Mixer and Studio Controller
Fully Customizable: Use as an audio mixer, studio controller, production console, etc.
$159.99
SaleBestseller No. 5
8Bitdo Ultimate 2C Wireless Controller for Windows PC and Android, with 1000 Hz Polling Rate, Hall Effect Joysticks and Triggers, and Remappable L4/R4 Bumpers (Purple)
8Bitdo Ultimate 2C Wireless Controller for Windows PC and Android, with 1000 Hz Polling Rate, Hall Effect Joysticks and Triggers, and Remappable L4/R4 Bumpers (Purple)
Compatible with Windows and Android.; 1000Hz Polling Rate (for 2.4G and wired connection); Hall Effect joysticks and Hall triggers. Wear-resistant metal joystick rings.
$22.99
Best Value
Sale
8Bitdo Ultimate 2C Wireless Controller for Windows PC and Android, with 1000 Hz Polling Rate, Hall Effect Joysticks and Triggers, and Remappable L4/R4 Bumpers (Purple)
  • Compatible with Windows and Android.
  • 1000Hz Polling Rate (for 2.4G and wired connection)
  • Hall Effect joysticks and Hall triggers. Wear-resistant metal joystick rings.
  • Extra R4/L4 bumpers. Custom button mapping without using software. Turbo function.
  • Refined bumpers and D-pad. Light but tactile.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from the Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Redmond desk20 min
    How to create a link to File or Folder in Windows 11Windows 11 gives you several ways to point to a file or folder without moving or duplicating it. You can create a desktop shortcut,…
Recommended PC Tool
Recommended PC Tool
Outdated Drivers Are Slowing You DownFree scan - exact matches
Windows Errors? Fix Them Before They SpreadFree repair scan

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.