littlefs wrapped in javascript... for some reason...
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
littlefs Merge commit 'be96fd6f60c9e3231e5025ca14b5d9bb558db8ba' Jan 23, 2018
LICENSE.md Added documentation blurbs and license Nov 12, 2017
Makefile Initial commit Nov 12, 2017
README.md Added documentation blurbs and license Nov 12, 2017
demo.html More margin things Nov 12, 2017
lfs_js.c Initial commit Nov 12, 2017
lfs_js.js Added support for lfs_file_truncate Jan 23, 2018
lfs_js_bd.js Initial commit Nov 12, 2017

README.md

A javascript wrapper for the little filesystem

This project puts together two things that should probably never go together:
embedded system filesystems, and web-side javascript.

The result is a fully functional javascript API for littlefs, complete with simulated block devices. This was all built using emscripten, a backend for the LLVM that can compile C to javascript. There's no smoke and mirrors here, this is actually running littlefs in your browser.

littlefs - https://github.com/geky/littlefs
emscripten - https://github.com/kripken/emscripten

So you want to see littlefs running in your browser? Just follow this link to the demo!
http://littlefs.geky.net/demo.html

You can find the full implementation of the demo in demo.html.