LinkStack (was Littlelink-Custom)
-
@timbo This should play nicely in the LAMP app (see discussions for Littlelink here: https://forum.cloudron.io/topic/2965/littlelink/1) or even the Surfer App(?)
-
@necrevistonnezr it does, i am already running it using LAMP.
Still would be nice to have it as one-click app -
See also https://forum.cloudron.io/post/46479
-
I would love to have it 1-clickable. I just did not get it running in LAMP stack (and I am too tired to search for my mistake)
-
@timbo said in Littlelink-Custom:
i am already running it using LAMP.
Care to share how you did it?
I noticed it's now on 3.0.1 and so I figured I'd give it a go, but I failed
https://github.com/JulianPrieber/littlelink-custom/releases/tag/v3.0.1
There is also an official docker
https://littlelink-custom.com/docker
I just had a little play around with the live demo:
https://demo.littlelink-custom.com/@uniteddiversity
Really nice. Be great to have this on Cloudron! (And I guess for an @appdev it'd be pretty easy to package?)
-
-
-
I think this needs a bump. High value to all Cloudroners for low app packaging effort.
Anyone wanna give it a try using GPT-4 (paid, but 10x better quality output)?
Here's an idea for a one-shot prompt and it's response. It might need some sanity-checking and testing, but GPT can help you with that, too:
Prompt
You are an expert developer and systems administrator for dev-ops setup and maintenance and security best-practice. We are coding Cloudron Apps, using open-source repositories for public open-source web applications. Advise the latest version of Cloudron documentation and code examples you have for reference in this Cloudron app packaging coding task. I will provide you with the Git repository URL for the application we are going to package. Please detail instructions to package this as a Cloudron App, including all folders, files and code. The Cloudron app needs to be Dockerized, and include all necessary dependencies and minimum add-on application versions. The app packaging code should follow the best practices and coding standard conventions of other popular and current apps packaged for Cloudron. Double check to make sure your answer doesn't have any functional errors, test failures, syntax errors, or omissions. I will be creating the folders, files and adding code to our repository following your guidance, and you will ask me all necessary questions to give me all necessary steps and guidance, in both using my operating system GUI and command line tools, detailed as codeblocks, that I can copy/paste into the command line to execute or into files to save. Lots of people will benefit from our work on this open-source app packaging and sharing. Here's the repo: https://github.com/JulianPrieber/littlelink-custom
Response (GPT-4)
Try different temperatures, but this is what I get with 0.5:
To package the LittleLink Custom application as a Cloudron app, follow the steps below. This guide assumes you have basic knowledge of Cloudron, Docker, and command-line tools.
- Clone the LittleLink Custom repository:
git clone https://github.com/JulianPrieber/littlelink-custom.git cd littlelink-custom
- Create a Cloudron app folder structure:
mkdir -p cloudron/app cp -r * cloudron/app/
- Create a Dockerfile:
Create a new file
cloudron/Dockerfile
with the following content:FROM node:14 # Set work directory WORKDIR /app # Copy package.json and package-lock.json COPY package*.json ./ # Install dependencies RUN npm ci # Copy app source COPY . . # Build the app RUN npm run build # Expose the port EXPOSE 3000 # Start the app CMD ["npm", "start"]
- Create a Cloudron manifest:
Create a new file
cloudron/CloudronManifest.json
with the following content:{ "id": "littlelink-custom", "title": "LittleLink Custom", "author": "Your Name", "description": "A Cloudron app package for LittleLink Custom", "version": "1.0.0", "tags": ["link", "profile"], "website": "https://github.com/JulianPrieber/littlelink-custom", "repository": { "type": "git", "url": "https://github.com/YourUsername/littlelink-custom-cloudron.git" }, "healthCheckPath": "/", "httpPort": 3000, "addons": { "localstorage": {} }, "manifestVersion": 2 }
- Test the app locally:
Before pushing the changes, test the app locally using Docker:
cd cloudron docker build -t littlelink-custom . docker run -p 3000:3000 littlelink-custom
Visit
http://localhost:3000
in your browser to verify the app is running correctly.- Create a new repository for the Cloudron app:
Create a new Git repository on a platform like GitHub or GitLab, and name it
littlelink-custom-cloudron
.- Push the changes to the new repository:
git init git add . git commit -m "Initial Cloudron app package for LittleLink Custom" git remote add origin https://github.com/YourUsername/littlelink-custom-cloudron.git git push -u origin master
- Install the Cloudron CLI:
Follow the instructions in the Cloudron CLI documentation to install the Cloudron CLI tool.
- Deploy the app on Cloudron:
Log in to your Cloudron account using the CLI and deploy the app:
cloudron login my.example.com cloudron install --appstore-id littlelink-custom --location littlelink-custom
Now, the LittleLink Custom app should be packaged and deployed on your Cloudron instance. Make sure to replace
Your Name
,YourUsername
, and other placeholders with appropriate values.
End of response
Lemme know if this works?
Push your work to your account on git.cloudron.io if it does.
-
Followup prompt
Does this use the official Littlelink Custom Docker image? https://littlelink-custom.com/blog/official-docker-image/ https://github.com/JulianPrieber/llc-docker#readme
Followup response
My apologies for the oversight. To use the official Littlelink Custom Docker image, follow the steps below:
- Create a Cloudron app folder structure:
mkdir -p cloudron/app
- Create a Dockerfile:
Create a new file
cloudron/Dockerfile
with the following content:FROM ghcr.io/julianprieber/llc-docker:latest # Set environment variables ENV PORT=3000 # Expose the port EXPOSE 3000
- Create a Cloudron manifest:
Create a new file
cloudron/CloudronManifest.json
with the following content:{ "id": "littlelink-custom", "title": "LittleLink Custom", "author": "Your Name", "description": "A Cloudron app package for LittleLink Custom", "version": "1.0.0", "tags": ["link", "profile"], "website": "https://github.com/JulianPrieber/littlelink-custom", "repository": { "type": "git", "url": "https://github.com/YourUsername/littlelink-custom-cloudron.git" }, "healthCheckPath": "/", "httpPort": 3000, "addons": { "localstorage": {} }, "manifestVersion": 2 }
- Test the app locally:
Before pushing the changes, test the app locally using Docker:
cd cloudron docker build -t littlelink-custom . docker run -p 3000:3000 littlelink-custom
Visit
http://localhost:3000
in your browser to verify the app is running correctly.- Create a new repository for the Cloudron app:
Create a new Git repository on a platform like GitHub or GitLab, and name it
littlelink-custom-cloudron
.- Push the changes to the new repository:
git init git add . git commit -m "Initial Cloudron app package for LittleLink Custom using official Docker image" git remote add origin https://github.com/YourUsername/littlelink-custom-cloudron.git git push -u origin master
- Install the Cloudron CLI:
Follow the instructions in the Cloudron CLI documentation to install the Cloudron CLI tool.
- Deploy the app on Cloudron:
Log in to your Cloudron account using the CLI and deploy the app:
cloudron login my.example.com cloudron install --appstore-id littlelink-custom --location littlelink-custom
Now, the LittleLink Custom app should be packaged and deployed on your Cloudron instance using the official Docker image. Make sure to replace
Your Name
,YourUsername
, and other placeholders with appropriate values.
End of followup response
-
@marcusquinn said in Littlelink-Custom:
Anyone wanna give it a try using GPT-4
Still waiting for mine
Thank you for joining the waitlist to build with GPT-4!
Since April 2nd
-
@marcusquinn said in Littlelink-Custom:
Create a Cloudron manifest:
The GPT4 output looks better than the GPT3 output for Cloudron Manifest.json, which I was finding needs hacking to install correctly.
-
@timconsidine This alleges to be free GPT-4 access:
Seem to be down at the mo. You can get GPT-4 straight away for the $20/month Pro account. Not an unreasonable expense, considering. Although, of course I hope the long term will be more affordable and accessible.
-
@marcusquinn oh, I didn't know you could jump the queue by paying !
I have been working through my free credits, but was about to subscribe as yes, it is a great resource.
Thank you !EDIT :
ChatGPT Plus subscribers will get GPT-4 access on chat.openai.com with a usage cap. We will adjust the exact usage cap depending on demand and system performance in practice, but we expect to be severely capacity constrained (though we will scale up and optimize over upcoming months).
Depending on the traffic patterns we see, we may introduce a new subscription level for higher-volume GPT-4 usage; we also hope at some point to offer some amount of free GPT-4 queries so those without a subscription can try it too. -
@timconsidine Usage cap is $120/month. Most I've spend in a day is $1.75, but $20/month should be ample budget.
IMHO it's worth it. Like having a personal expert assistant. Eve if it doesn't get something right first time, it is tireless and will keep[ iterating as long as you give it feedback.
-
-
This is still being very actively developed/ maintained and has been renamed to LinkStack (perhaps @staff could edit the title)
https://linkstack.org/
https://github.com/LinkStackOrg/LinkStackNow on version 4.1.3 https://github.com/LinkStackOrg/LinkStack/releases/tag/v4.1.3
I wonder if it's another possible one for @Kubernetes given he's on such a roll!
-
Great themes! https://linkstack.org/themes/
How does this only have 8 votes? Come on Cloudroners, make yourself known!
This would be a great win to have for everyone and every business that wants just one link in their social media profiles to link to all of their online spaces.
-
@Kubernetes what does the apache log say?
Looks like it's being run from /app/data/html
-
Just chiming in to say I really want this app right now