slcl, a simple and lightweight cloud
- Inicie sesión ou rexístrese para enviar comentarios
Hi everyone,
I wrote this project around 3 years ago: https://gitea.privatedns.org/xavi/slcl
It was written out of frustration with Nextcloud Files and its perceived bloat, slowness and complexity. Instead, slcl is written in C under the AGPLv3-or-later, only relying on POSIX extensions and a handful of ubiquitous libraries like zlib.
Whereas Nextcloud would require 300 MiB minimum on my hardware and often turn the server unresponsive, slcl's memory consumption is measured in *KiB* and runs very fast, even on older hardware.
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
----- --------- -- - 460 316 268 S 0.0 0.0 -:--.-- slcl_0.4.1_linu
There are also Linux static binaries available, built with musl: https://gitea.privatedns.org/xavi/slcl/releases
This looks very interesting, how do you run the GUI I see on the page.
Also, how do I add nextcloud logins to it? or rclone for that matter.
> This looks very interesting, how do you run the GUI I see on the page.
Thank you for the kind words! To achieve this, run slcl with the database prefix. For example:
$ slcl $HOME/db
slcl shall create the `db` directory in your $HOME if it does not exist, populate it accordingly and start a HTTP server that listens on a random port number. The website should be accessible from any web browser, including Dillo or Lynx (if HTTP/1.1 is configured). To listen on a specific port number, use the -p command line argument:
$ slcl -p8080 $HOME/db
By default, slcl creates no users - they must be created with the usergen(1) tool, which is also provided by the same repository and Linux static binaries are also available for it. usergen(1) only takes one argument i.e., the same directory consumed by slcl. Following the example above:
$ usergen $HOME/db
usergen(1) is an interactive tool that asks for a few things, such as the user credentials, and then appends that information into the db.json file in your prefix ($HOME/db on the example above).
If you have any more questions, man pages are available:
https://gitea.privatedns.org/xavi/slcl/src/branch/master/doc/man1
> Also, how do I add nextcloud logins to it? or rclone for that matter.
It is not possible to import Nextcloud accounts, or at least directly. However, a recommended approach would be to create user accounts with usergen(1) and copy user files from Nextcloud to the prefix (e.g.: $HOME/db). I personally took that approach when migrating my data from Nextcloud to slcl.
I wouldn't even know how to use it as it is currently. I do like Keep it simple stupid applications like this usually, but the one thing I need is to know how to use it. :D
So... would it be possible to add support for converting nextcloud accounts or rclone accounts?
I have the latter at this moment already and it would help me alot if there were a step by step guide to do this.
> I wouldn't even know how to use it as it is currently. I do like Keep it simple stupid applications like this usually, but the one thing I need is to know how to use it. :D
Was there something unclear with the documentation I attached above? Otherwise, maybe you can use an existing instance instead. For example, the community behind https://tilde.green run their own instance at https://slcl.tilde.green . You might then be interested in joining their community.
> So... would it be possible to add support for converting nextcloud accounts or rclone accounts?
Sorry, that would be a complex task, and probably falls outside the scope for slcl.
> I have the latter at this moment already and it would help me alot if there were a step by step guide to do this.
I have no prior experience with rclone, I am afraid.
Well yeah, I just really don't know how to set it up, otherwise I would be very interested.
Like if I have the webdav, how do I set it up?
Does yours have support for webdav
Disroot is one of the providers I use btw.
If that helps.
I have prepared a video tutorial which shows how to download slcl(1), thumbnail(1) and how to set it up:
https://slcl.privatedns.org/public/86198dbf7536193e55b688eac0228065
> Does yours have support for webdav
WebDAV is not supported by slcl.
oof... no webdav...
well I guess I can try your video, but now I am curious how it operates and what makes it work with any website.
I will let you know if I can figure this out.

