Publish LFSA
This commit is contained in:
@@ -1,9 +1,11 @@
|
||||
Title: Index
|
||||
Date: 2019-05-30 00:00
|
||||
Date: 2019-06-26 00:00
|
||||
Category: Page
|
||||
Slug: index
|
||||
Lang: en
|
||||
|
||||
## Overview
|
||||
|
||||
**L**ocal **F**ile **S**ystem **A**ccess (**LFSA**) is:
|
||||
|
||||
* a tiny web server to allow client side JS access to local file system
|
||||
@@ -11,44 +13,59 @@ Lang: en
|
||||
* a single Python file
|
||||
* released under [CC0][cc0] license (public domain)
|
||||
|
||||
## CSWA
|
||||
|
||||
Client Side Web Apps run solely on your device, they are not related to cloud solutions in any way: nobody can pull the plug on you.
|
||||
CSWAs may use LFSA to keep data locally so that you could have complete control of your data.
|
||||
|
||||
[PSKOV][pskov] static site generator is the first CSWA to use LFSA.
|
||||
|
||||
## Install
|
||||
## Download LFSA
|
||||
|
||||
If you use Linux or macOS released after 2005 (yes, 2005), you only need to [download lfsa_1.0.0.py][lfsa-local].
|
||||
Download [lfsa_1.0.0.py][lfsa-local].
|
||||
|
||||
If you use Windows 2000 or newer (excluding Windows ME), you need to:
|
||||
If you use Linux or macOS, you're all set.
|
||||
|
||||
* [download][python] and install Python 2.3 or newer
|
||||
* [download lfsa_1.0.0.py][lfsa-local]
|
||||
## Install Python (Windows only)
|
||||
|
||||
## Run
|
||||
<video controls poster="../vid/download-install-python.poster.png">
|
||||
<source src="../vid/download-install-python.mp4" type ="video/mp4">
|
||||
<source src="../vid/download-install-python.webm" type ="video/webm">
|
||||
ERROR Your browser does not support HTML5 video
|
||||
</video>
|
||||
|
||||
If you use Linux or macOS, run LFSA in terminal this way:
|
||||
Windows doesn't have Python installed by default, you have to [install Python yourself][python] to be able to run LFSA.
|
||||
|
||||
**Note**: the video depicts Python 2.3.4 installation under Windows 2000, use the latest Python available for your version of Windows.
|
||||
|
||||
## Run LFSA
|
||||
|
||||
### Linux and macOS
|
||||
|
||||
<video controls poster="../vid/run-lfsa.macos.poster.png">
|
||||
<source src="../vid/run-lfsa.macos.mp4" type ="video/mp4">
|
||||
<source src="../vid/run-lfsa.macos.webm" type ="video/webm">
|
||||
ERROR Your browser does not support HTML5 video
|
||||
</video>
|
||||
|
||||
If you use Linux or macOS, run LFSA in terminal:
|
||||
|
||||
```
|
||||
/path/to/lfsa_1.0.0.py /path/to/dir
|
||||
```
|
||||
|
||||
Here's how it looks like on macOS Mojave:
|
||||
### Windows
|
||||
|
||||
![LFSA on macOS Mojave][lfsa-on-macos]
|
||||
<video controls poster="../vid/run-lfsa.w2k.poster.png">
|
||||
<source src="../vid/run-lfsa.w2k.mp4" type ="video/mp4">
|
||||
<source src="../vid/run-lfsa.w2k.webm" type ="video/webm">
|
||||
ERROR Your browser does not support HTML5 video
|
||||
</video>
|
||||
|
||||
If you use Windows, run LFSA in [CMD][cmd] this way:
|
||||
If you use Windows, run LFSA in [CMD][cmd]:
|
||||
|
||||
```
|
||||
C:/path/to/Python/installation/python.exe C:/path/to/lfsa_1.0.0.py C:/path/to/dir
|
||||
```
|
||||
|
||||
Here's how it looks like on Windows 2000:
|
||||
|
||||
![LFSA on Windows 2000][lfsa-on-windows]
|
||||
|
||||
## Durability
|
||||
|
||||
As you noticed, LFSA can run on really old operating systems dating back to 2000. That's intentional: we care about users, so we want to cover as many users as possible.
|
||||
@@ -57,6 +74,4 @@ As you noticed, LFSA can run on really old operating systems dating back to 2000
|
||||
[lfsa-local]: ../lfsa_1.0.0.py
|
||||
[python]: https://www.python.org/downloads/windows/
|
||||
[cmd]: https://en.wikipedia.org/wiki/Cmd.exe
|
||||
[lfsa-on-macos]: ../img/lfsa-on-macos.png
|
||||
[lfsa-on-windows]: ../img/lfsa-on-windows.png
|
||||
[cc0]: https://creativecommons.org/share-your-work/public-domain/cc0/
|
||||
|
||||
Reference in New Issue
Block a user