LN Filestore is a webserver that provides a pay to download feature based onto the lightnint network.
Its primary use is made for umbrel
The current repo provides the API server part. If you want more information about the API and its routes see the extended documentation
A NextJS front-end app for Umbrel is available here
In order to run the webserver you will have to provide access to a postgresql database and a LND node synced with Bitcoin's timechain.
See configuration documentation for more details.
If you want to run it on a docker-compose you can find an example in my umbrel-apps fork.
- x86 processors
docker run akbarworld/lnfilestoreapi
- arm64 processors
docker run akbarworld/lnfilestoreapi:umbrel
An extended documentation is provided in the docs
folder to help you understand how to configure, build and run the server :
The project relies on many dependencies to build and distribute the API.
In order to understand how it is built and works, you can check the documentations of those dependencies :
- Rocket : Provides the web server (documentation)
- Juniper : Provides the GraphQL engine (documentation)
- Diesel : Provides the ORM engine (documentation)
- tonic_lnd : Provides the lightning network client based on the gRPC proto (documentation)
- lightning-invoice : Provides utilities that allows to deserialize an invoice from a payment request (documentation)
MIT Licence.
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
The Software is provided “as is”, without warranty of any kind, express or implied, including but not limited to the warranties of merchantability, fitness for a particular purpose and noninfringement. In no event shall the authors or copyright holders be liable for any claim, damages or other liability, whether in an action of contract, tort or otherwise, arising from, out of or in connection with the software or the use or other dealings in the Software.