Dashcam
HomeDashboard
  • Setup
    • đŸ–Ĩī¸Desktop App
    • 🌐Chrome Extension
    • âŒ¨ī¸CLI
    • 🐙GitHub Action
  • Manual Capture
    • đŸŽŦScreencast
    • âĒInstant Replay
    • 🐞Error Detection
  • Automated Test Recording
    • đŸĒŸWindows
  • Sharing
    • â˜‘ī¸Jira
    • 🐙GitHub
    • ⚡Zapier
    • đŸ’ŦSlack
  • đŸ•šī¸Configure
    • Display Selection
    • Storage
    • Logs
    • Other Settings
  • 💭FAQ
    • How Does Dashcam Work?
    • How can I tell what is recording and when?
    • Where are files saved on my machine?
    • How can I monitor Dashcam's internet activity?
    • How can I delete published clips?
    • Can I edit a published clip?
    • How long are published clips stored?
    • How can I share a clip?
    • How can I enable public links?
    • Is my screen being uploaded to the cloud in the background?
    • How do I update Dashcam?
    • I'm having problems streaming Netflix or Hulu
    • Archive
      • Piping to Files Directly
      • Log Files
      • đŸŽžī¸Trim
      • 😄Overview
      • Unity
      • Install the Chrome Extension
      • Install the CLI
      • Overview
      • Share
      • 😍Using the app
      • âš™ī¸Settings
      • 🧩Chromium
      • Live Demo!
      • Examples
      • Usage
      • Installation
      • GitHub Recipies
      • Embedding a Clip in a Readme
      • Embedding a playable clip in HTML
      • Embedding a Clip as GIF in HTML
      • Embedding a Clip as GIF in a Pull Request
      • đŸĒŖBitBucket
      • Add users to your team
      • 📂Your workspace
      • 🐙GitHub
      • ✅Jira Button
      • 🔧NodeJS
      • 🔗Web
        • Hotlinks
        • Javascript
      • đŸŽŦEditing a Dash
        • Creating a Dash
      • Uploading a Dash
      • đŸĒŸWindows Setup
      • 🍎Mac Setup
        • Install Dashcam on Mac
        • Enable Accessibility Features
      • Clip Expiration
      • đŸĨœNut.js
Powered by GitBook
On this page
  • Return a rich markdown link
  • Set a replay title
  • Attach the last 20 CLI commands to the replay body
  • Attach a logfile to the replay
  • Embed a replay in the body of a git commit

Was this helpful?

  1. FAQ
  2. Archive

Examples

Return a rich markdown link

This command will return a gif preview of your replay hotlinked to the full video along with the title.

dashcam --md

Here's an example of what it returns:

[![Dashcam - New Replay](https://replayable-api-production.herokuapp.com/replay/123/gif?shareKey=xyz)](https://dashcam.io/replay/123?share=xyz)

Watch [Dashcam - New Replay](https://dashcam.io/replay/123?share=xyz) on Dashcam

Set a replay title

This will set the title of the replay clip once published. Note that this is not shown in the local video editor before publish.

dashcam -t "My New Title"

Attach the last 20 CLI commands to the replay body

The replay body can be piped in! This command will use the unix history command to populate the replay body with the last 20 commands run in the terminal.

history -20 | dashcam

Attach a logfile to the replay

This will attach the mac system log to the replay. This probably won't be terribly useful, but you can imagine how helpful it would be to attach your own application logs!

cat /var/log/system.log | dashcam

Embed a replay in the body of a git commit

The command below will attach your replay to a git commit. The ticks (``) execute the Dashcam cli before the git commit command is run.

git commit -am "`dashcam`"
PreviousLive Demo!NextUsage

Last updated 1 year ago

Was this helpful?

💭