Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vityok/ambar
A primitive read-only file server for Raspberry Pi
https://github.com/vityok/ambar
common-lisp commonlisp fileserver raspberry-pi raspberry-pi-3 raspberrypi
Last synced: about 1 month ago
JSON representation
A primitive read-only file server for Raspberry Pi
- Host: GitHub
- URL: https://github.com/vityok/ambar
- Owner: vityok
- License: mit
- Created: 2020-11-26T17:31:37.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2020-12-02T08:39:29.000Z (about 4 years ago)
- Last Synced: 2024-11-06T07:37:24.294Z (3 months ago)
- Topics: common-lisp, commonlisp, fileserver, raspberry-pi, raspberry-pi-3, raspberrypi
- Language: Common Lisp
- Homepage:
- Size: 357 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Ambar
A primitive file server with a very simple Web UI meant to run in a
local network and serve files from a Raspberry Pi (or any other
Linux-based computer).Written in Common Lisp, served by Hunchentoot, HTML is generated using
CL-WHO, filesystem is traversed using CL-FAD.## License
MIT
## Running
Either clone repository or download a snapshot.
Then make it available for Quicklisp by following the ["local projects" mechanism](http://blog.quicklisp.org/2018/01/the-quicklisp-local-projects-mechanism.html). Or create a symlink to `ambar.asd` from the local-projects `directory`.
Launch your favorite Common Lisp (tested to work with SBCL and ECL,
but there is hardly a reason it won't work on CCL) and execute:```lisp
;; load the package
(ql:quickload :ambar);; start Hunchentoot easy acceptor on default port 4242 and serve
;; files from the given directory
(ambar:run #"/home/user/Downloads/")
```Now visit http://localhost:4242/dir (substitute for the real host name
or IP address).