LinkDing on Cloudron - Bookmarks Manage and Search
-
@plusone-nick said in LinkDing on Cloudron - Bookmarks Manage and Search:
@Kubernetes I am willing and able! I've yet to officially package an app on my own but I am eager to learn and feel I know enough to where I can help, plus I have the summer off coming up so plenty of time for projects =]
Fantastic! I hope you end up loving packaging Cloudron applications and manage to do loads of them. Thank you!
-
@LoudLemur I did already many investigation today, but I still have problems to configure the path for database... if we can fix that, the rest should be easy.
-
Not sure if you're already aware of it, but Floccus does a decent job of this with Nextcloud Bookmarks app as the bridge between multiple browsers syncing:
-
-
After many hours I got a running package of linkding now.
It is still a mess, but it can be deployed and application is running.
If someone want to give it a try, have a look at the gitlab repo
As alway, use on your own risk - linkding database might be lost for whatever reason.There is still a lot of cleanup to do, but the hardest part (from my point of view) is done.
-
@Kubernetes said in LinkDing on Cloudron - Bookmarks Manage and Search:
After many hours I got a running package of linkding now.
It is still a mess, but it can be deployed and application is running.
If someone want to give it a try, have a look at the gitlab repo
As alway, use on your own risk - linkding database might be lost for whatever reason.There is still a lot of cleanup to do, but the hardest part (from my point of view) is done.
Well done! You are doing so much and you have only just started here. I hope that it is becoming easier to accomplish with each application and that somebody with experience can help make it a more polished job.
Not many people have your skills or the desire to help.
-
@LoudLemur thank you, your appreciation is really motivating me.
In fact the packaging process is becoming more and more clear to me and I already learned some patterns for a better process. I think that my results are still far from perfect, but at least they are working -
@Kubernetes Well, thank you very much for saying so. There are so many applications I would love to be packaged. Have you looked through the AppWishList section of the forum? You might find some ideas.
I am glad it is becoming easier for you.
-
@Kubernetes looking good! Are you able to remove the multi-build from the Dockerfile? I can look into publishing this afterwards.
-
-
I have to say, that I don't like uwsgi. The build of it did break the single stage image all the time. Finally I found a way to fix it by installing the latest uwsgi version, but not the one specified in the requirements.txt of the linkding project.
@girish please have a look at my repo. it seems to run fine on cloudron now, is single stage and after creating a user in terminal, the linkding app is usable.
-
@LoudLemur For sure there are some Apps in the Wish List that I may pickup to package. But first I want to see the current work to get done. I usually don't want to have to many parallel streams at once.
-
@Kubernetes said in LinkDing on Cloudron - Bookmarks Manage and Search:
@LoudLemur For sure there are some Apps in the Wish List that I may pickup to package. But first I want to see the current work to get done. I usually don't want to have to many parallel streams at once.
Excellent and good discipline. I am curious which Wish List Applications you might like.
-
@Kubernetes You might find some of the AI tools interesting:
- https://forum.cloudron.io/topic/8938/chatbot-ui-for-chatgpt
- https://forum.cloudron.io/topic/9130/flowise-ui-for-langchain
- https://forum.cloudron.io/topic/8988/langflow-ui-for-langchain
- https://forum.cloudron.io/topic/8997/weaviate-open-source-vector-database-for-ai-long-term-memory-and-local-data-alternative-to-pinecone
- https://forum.cloudron.io/topic/9078/chroma-open-source-vector-database-for-ai-long-term-memory-and-local-data-alternative-to-pinecone
- https://forum.cloudron.io/topic/9002/agentgpt-web-ui-for-autogpt
-
@marcusquinn he has packaged ChatPad which I think is better than chatbot-ui
Thanks for the posts on pinecone alternatives.
I can't get flowise working (even as standalone deployment), so maybe they will provide a solution. -
@girish just to let you know that Linkding is running without any problems since I packaged it...
-
@Kubernetes said in LinkDing on Cloudron - Bookmarks Manage and Search:
@girish just to let you know that Linkding is running without any problems since I packaged it...
Excellent! Well done! I hope it wasn't too troublesome to accomplish and that it was satisfying.
Do you still have the desire to package? I hope so!
-
@Kubernetes I forked the app to https://git.cloudron.io/cloudron/linkding-app . You should have permissions.
I thought I will fix it but then thought I can help you along instead
-
First off, the app doesn't build. For example, it does
COPY linkding/package.json linkding/package-lock.json ./
. Where are these files in the repo? I am guessing you had linkding checked out locally when building the app maybe. Instead you should do something like https://git.cloudron.io/cloudron/changedetection-app/-/blob/master/Dockerfile#L9 . Also, see how the VERSION is pinned to a specific version of linkding. -
Next, in bootstrap.sh , you have
cp -nr /app/code/linkding/* /app/data/
. This is copying the code into data directory and now the code is also part of your backup. You should be able to run all the commands out of/app/code
itself (which is readonly filesystem). -
The apt is most likely redundant. The base image has all the libraries
-
There are actually two CMD . We can remove the HEALTHCHECK and the CMD immediately after, Cloudron does not use it.
-
You can rename bootstrap.sh to start.sh . This is just Cloudron convention
-