Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vdegenne/serve-last-file
https://github.com/vdegenne/serve-last-file
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/vdegenne/serve-last-file
- Owner: vdegenne
- Created: 2020-05-05T19:31:24.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-04-12T23:47:56.000Z (over 2 years ago)
- Last Synced: 2023-03-02T00:42:05.015Z (almost 2 years ago)
- Language: JavaScript
- Size: 25.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# serve-last-file
As the name implies, this program serves the last file of a directory. It's useful when you just want to see the last file of a directory in your browser, for instance when you take a screenshot and want to copy the picture data or see the last recorded video without searching on your filesystem.
For now only pictures and videos are servable but if you have a request please send a PR or open a feature request in `issues` area.## Installation
```
sudo npm install -g serve-last-file
```## Usage
Go in the directory of your choice (e.g. `~/Videos`) and run
```
$ serve-last-file
```it will prompt a link, follow the link to see the file in your browswer.
Everytime you add a new file in the directory just refresh the page.