Linkwarden: How to Deploy a Self-Hosted Collaborative Bookmark Manager in Docker

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
hey guys how's it going I hope everybody's doing well out there today in this video we're going to take a look at a self-hosted open-source collaborative bookmark manager called link warten that allows you to collect organize and archive web pages so the objective of link warten is to organize useful web pages and articles that you find across the web into one place and since useful web pages can go away link Wen also saves a copy of each web page as a PNG screenshot as well as a PDF ensuring accessibility even if the original content is no longer available additionally link Wen is designed with collaboration and mind and this means that sharing links with the public and or allowing multiple users to work together seamlessly is super easy you can even group bookmarks into collections and share those collections with friends and colleagues or again to the public hey while I've got you here do me a favor and don't forget to like And subscribe if you enjoy this video also be sure to let me know what your thoughts are on this video in the comment section down below installing link Wen is pretty straightforward so let's go ahead and take a look at that the first thing that we're going to want to do is SSH into our Docker server and clone the link Warden GitHub repository by typing get clone and then the uh GitHub repository and then we're going to head a space and then type in link Warden and that will allow us to clone that repository into a folder called link Warden once that's done we'll want to CD into the link Warden directory that we just cloned into and now we we're going to run a command that is ls- a and that's going to show us all of the files and folders including files and folders that start with a DOT those are usually hidden and adding the- a will make sure that we can see those now what we're going to see is all of the files and folders that we've just downloaded and the first thing we want to do is rename the env. sample file to just be EnV and we can do that by typing MV space. env. samples space. EnV that's just moving the file from one file name to another now we'll want to edit the EnV file with VI or Nano or whatever your editor of choice is now the only thing that you must change here is the postgres password and the Very Sensitive secret both of those should be different secret phrases now there are other settings in here that you can change if you want to but most of them won't have any impact on our installation the pagination unor tore count is for pagination on your dashboard so you can adjust that however you want you can enable or disable registration via this file as well there's a section for awss 3 but those are up to you if you want to use those and you'll also see the SMTP settings in this file but those aren't going to work unless you recompile the image yourself this particular image was compiled without the SMTP settings enabled and there will be a link in the description with more information about how to compile this yourself to get those sntp settings as noted in this file the stripe settings don't apply to us so we can skip those again be sure to change the postres password line to have your desired database password in it now you can save and exit the file next we're going to take a look at the docker composed. yml file uh just by doing VI or Nano and then the docker compost. yml uh and so this is a very standard configuration with just a couple of services in it the first service is the postgres database it tells us what Docker image to use and in this case it's going to be the official postgres database and it's got a reference to the EnV file that we just looked at as well as a restart policy of always now below that is where the data will be stored basically where on your system will the database reside and you will probably want to change that to wherever you store your data the other service in this doer compos is the link Warden app itself now it also references the file that we modified earlier and the environment variable that we see here is for the connection to the database there is no need to modify this line at all so just leave it as it is next we've got a restart policy of always just like we saw earlier and then we've got our link Warden image listed now there's nothing here that you need to change unless there's a specific version of Link Wen that you need otherwise just leave this alone now the app will be available on Port 3000 by default but if you've already got an app using Port 3000 then you can change the first uh 3,000 that's here to something else but don't change the 3,000 after the col and that's what the container is looking for again we've got a volume where your files will be stored so map this to wherever you need to map your storage the last line just tells the system that the database needs to be up and running before the link Warden app tries to start up and that's it once you've got things set up the way you need them you can save and exit the file now we'll just need to deploy the containers with a simple command of Docker compose up- D if you get an error saying that that doesn't work you can also try running Docker Das compose up- D um this just has to do with which version of Docker compos you have on your system if one doesn't work the other will also the- D is just to make sure that the containers um being up and available isn't dependent on our terminal window remaining open after a couple of uh moments the containers will be up and running so we can head over to our browser and put in our server's IP address into the uh URL bar as well as the port on the end of that IP address now once the page loads you'll just want to create an account and then log in with your new account of course the first time you log in there won't be much going on so let's fix that by adding a link click the new link button near the top and now enter the URL that you want to save currently there are no collections just yet so we can skip that but if you click more options you'll see that you can add a name tags and a description and something that I noticed is that you can add tags on the Fly here but for some reason you can't add collections the same way I'm not sure if this is an oversight or limitation of the software but I would love to have the ability to add collection as easily as I'm able to add tags next you can put in a custom description if you want and once you're happy with everything here you can click add the system will add your URL and then the page will reload now you can head over to the unorganized folder unless you've actually added a uh a category here and then you can head to that folder um over on the left side of the page and then you should see your link in the main body of the page across the top of the page we'll see either unorganized or whatever uh category that you put in there across the top of the page page we'll see in our case unorganized or whatever category title you have with a double arrow that we can use to sort our links and next to that is an icon of three dots when you click those three dots you'll see the option to edit the collection info share or collaborate or delete the collection if you click the edit option you can change the name the icon color and the collection description if you click the share and collaborate option you'll see an option to make the collection public and if you click that and then click save you'll get a URL that you can share with anyone and they'll be able to see your links now at this time the public share Pages aren't great they're very Bland and only share the link so they don't share the screenshot or the PDF at this time but I've talked to the developer and those things will be addressed in upcoming releases so now let's go back to the collection page with our link on it so now let's click that three dot icon near the top again and Click Share SLC collaborate below the public URL that we just enabled we'll see a spot for member Management in the text box below that we can share the collection with other members of the site and even change their ability to create update or delete items in the collection be sure to only give the permissions necessary for whoever will be accessing these collections so now let's go back to the collection page with our link on it again we'll see the link and some other information as well as that same three dot icon that we saw earlier go ahead and click the icon and from here we can pin the link to our dashboard for quicker and easier access we can also edit or delete the link from there and if you click the link that we just created you'll see see link details and edit link across the top those are pretty self-explanatory next you'll see the link the description of the link and a couple of archived formats as well as the date the link was saved now depending on the link that you're saving and your system and and all kinds of different factors the page might take a moment to generate the screenshot and the PDF so just give it a minute if it's not ready yet to view either of those files you can click the Box Arrow icon thing that's over there and one thing that I can say is I've noticed that the PNG screenshots are usually more accurate than the PDF Shares are at this point but that can always be updated in an upcoming release so that is the core functionality of Link Warden at the time of making this video anyway but there is one thing that we didn't look at just yet and that's how to update your account so going back to the dashboard there's an account icon in the top right hand corner of the page and if you click that you can edit your account settings switch to light mode or log out so let's do the only thing that makes sense here and click settings on the first page you you can update your profile image display name and username and on the privacy settings link you can make your account private or import your browser bookmarks via an HTML file which I think is kind of cool and of course on the password page you can update your password very very simple to use here so that's how to install and use Link Warden now I've chatted with the developer via email and they seemed very open to my thoughts and ideas so if you have some thoughts or ideas of your own be sure to head over to their GitHub page and let them know what you're thinking as always everything will be linked in the video description and again don't forget to like And subscribe and maybe leave a comment down below to let me know what you think of Link Wen or maybe you've got a video idea uh that you could leave down there as well in any case I'm going to go ahead and wrap this up I do want to thank you guys for spending a few minutes of your day with me today and I'll talk to you in the next video
Info
Channel: DB Tech
Views: 12,055
Rating: undefined out of 5
Keywords: Linkwarden Docker deployment, Deploying Linkwarden in Docker, Self-hosted bookmark manager in Docker, Docker tutorial for Linkwarden, Dockerize Linkwarden, Linkwarden Docker setup, Step-by-step Docker deployment, Dockerized Linkwarden installation, Docker deployment guide for Linkwarden, Docker container for web bookmark manager, Linkwarden on Docker, Docker Compose for Linkwarden, Containerization of Linkwarden, Linkwarden Docker installation tutorial
Id: 91zwHPmoX6c
Channel Id: undefined
Length: 9min 48sec (588 seconds)
Published: Sat Oct 21 2023
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.