added fileviewer page

This commit is contained in:
Knox Lively
2024-03-19 11:54:47 -06:00
parent 827077f223
commit ec2848810e
8 changed files with 82 additions and 14 deletions
+81
View File
@@ -0,0 +1,81 @@
---
title: 'File Viewers'
description: 'View various file types directly in the terminal'
icon: 'file-magnifying-glass'
---
## What Are File Viewer Plugins?
File viewer plugins are file integrations that allow you to render various file types inline, directly within the terminal. These plugins provide a convenient way to view and interact with different file formats without the need to switch to external applications.
### Imageview
Imageview lets you view and inspect image files directly within the terminal. With support for a wide range of formats, including *PNG*, *JPG*, *SVG*, *BMP*, and *GIF*, imageview provides a quick and convenient way to visualize your images without the need for external applications.
<img height="200" src="/images/fileViewers/imageview.gif" />
#### Using Imageview
Imageview requires only one option, `filename`.
```
Usage:
/imageview [filename]
```
### Csvview
Csvview is a powerful utility that allows you to view and manipulate CSV files effortlessly within the terminal. With its intuitive interface and sortable columns, csvview makes it a breeze to explore and analyze your CSV data.
<img height="200" src="/images/fileViewers/csvview.gif" />
#### Using csvview
Csvview requires only one option, `filename`.
```
/csvview [filename]
```
### Mediaview
Mediaview is a versatile command that allows you to view and play audio and video files seamlessly within the terminal. With support for a wide range of popular media formats, including *MP4*, *WebM*, *Ogg*, *MP3*, *WAV*, *Ogg Vorbis*, *AAC*, and *FLAC*, mediaview provides a convenient and efficient way to view media without leaving the command-line interface.
<img height="200" src="/images/fileViewers/mediaview.gif" />
#### Using mediaview
Mediaview requires only one option, `filename`.
```
Usage:
/mediaview [filename]
```
### Mdview
Mdview is a handy utility that enables you to view and render Markdown files directly within the terminal. It provides a convenient way to read and preview Markdown-formatted content without the need for external applications or leaving the command-line interface.
<img height="200" src="/images/fileViewers/mdview.gif" />
#### Using mdview
Mdview requires only one option, `filename`.
```
Usage:
/mdviewer [filename]
```
<Tip>
A live preview of Markdown files can also be found in [codeedit](/reference/slashcommands#codeedit) by clicking the “show preview” button in the top right of the editor. This allows you to edit and render Markdown content in real-time, displaying the output adjacent to the code editor for convenient and immediate visual feedback.
</Tip>
### PDFView
Pdfview is a practical utility that allows you to view and navigate PDF files effortlessly within the terminal. It provides a convenient way to access and read PDF documents without the need for external applications, making it a useful tool for developers, system administrators, and anyone who frequently works with PDF files in a command-line environment.
<img height="200" src="/images/fileViewers/pdfview.gif" />
#### Using pdfview
Pdfview requires only one option, `filename`.
```
Usage:
/pdfview [filename]
```
## The Future of Plugins
Wave's file viewer plugins are just the beginning of our journey to revolutionize the way you interact with files in the terminal.
In the future, we plan to introduce a simple alias like `/view` that will intelligently render any supported file type, eliminating the need to memorize individual commands for each file format and providing a more intuitive and streamlined experience.
Stay tuned for more updates and plugins that will further empower your workflow and boost your productivity within the command-line environment.
-13
View File
@@ -1,13 +0,0 @@
---
title: 'Image Viewer'
description: 'View images directly in the terminal'
icon: 'image'
---
Quickly preview image files on a local or remote machine with the `imageview` command
### Example
```
imageview logo.jpg
```
Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 733 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 MiB

+1 -1
View File
@@ -59,8 +59,8 @@
"pages":[
"features/waveAI",
"features/codeedit",
"features/fileViewers",
"features/history",
"features/images",
"features/connections",
"features/appearance"
]