Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. App Wishlist
  3. LinkStack (was Littlelink-Custom)

LinkStack (was Littlelink-Custom)

Scheduled Pinned Locked Moved App Wishlist
41 Posts 17 Posters 5.2k Views 22 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • marcusquinnM marcusquinn

    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.

    1. Clone the LittleLink Custom repository:
    git clone https://github.com/JulianPrieber/littlelink-custom.git
    cd littlelink-custom
    
    1. Create a Cloudron app folder structure:
    mkdir -p cloudron/app
    cp -r * cloudron/app/
    
    1. 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"]
    
    1. 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
    }
    
    1. 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.

    1. 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.

    1. 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
    
    1. Install the Cloudron CLI:

    Follow the instructions in the Cloudron CLI documentation to install the Cloudron CLI tool.

    1. 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.

    timconsidineT Offline
    timconsidineT Offline
    timconsidine
    App Dev
    wrote on last edited by
    #12

    @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.

    marcusquinnM 1 Reply Last reply
    0
    • timconsidineT timconsidine

      @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.

      marcusquinnM Offline
      marcusquinnM Offline
      marcusquinn
      wrote on last edited by
      #13

      @timconsidine This alleges to be free GPT-4 access:

      • https://chat.forefront.ai
      • https://twitter.com/rowancheung/status/1649494088889294848

      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.

      Web Design https://www.evergreen.je
      Development https://brandlight.org
      Life https://marcusquinn.com

      timconsidineT 1 Reply Last reply
      1
      • marcusquinnM marcusquinn

        @timconsidine This alleges to be free GPT-4 access:

        • https://chat.forefront.ai
        • https://twitter.com/rowancheung/status/1649494088889294848

        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.

        timconsidineT Offline
        timconsidineT Offline
        timconsidine
        App Dev
        wrote on last edited by timconsidine
        #14

        @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.

        marcusquinnM 1 Reply Last reply
        1
        • timconsidineT timconsidine

          @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.

          marcusquinnM Offline
          marcusquinnM Offline
          marcusquinn
          wrote on last edited by marcusquinn
          #15

          @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.

          Web Design https://www.evergreen.je
          Development https://brandlight.org
          Life https://marcusquinn.com

          1 Reply Last reply
          2
          • L LoudLemur referenced this topic on
          • jdaviescoatesJ Offline
            jdaviescoatesJ Offline
            jdaviescoates
            wrote on last edited by jdaviescoates
            #16

            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/LinkStack

            Now 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! šŸ™‚

            I use Cloudron with Gandi & Hetzner

            1 Reply Last reply
            2
            • KubernetesK Offline
              KubernetesK Offline
              Kubernetes
              App Dev
              wrote on last edited by
              #17

              I created a early package, it builds, but the App shows an 500 Error. If someone wants to take a look, you find it in this repo

              robiR jdaviescoatesJ 2 Replies Last reply
              6
              • L Offline
                L Offline
                LoudLemur
                wrote on last edited by
                #18

                The themes for this are just beautiful!

                1 Reply Last reply
                2
                • marcusquinnM Offline
                  marcusquinnM Offline
                  marcusquinn
                  wrote on last edited by marcusquinn
                  #19

                  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.

                  Web Design https://www.evergreen.je
                  Development https://brandlight.org
                  Life https://marcusquinn.com

                  1 Reply Last reply
                  3
                  • KubernetesK Kubernetes

                    I created a early package, it builds, but the App shows an 500 Error. If someone wants to take a look, you find it in this repo

                    robiR Offline
                    robiR Offline
                    robi
                    wrote on last edited by
                    #20

                    @Kubernetes what does the apache log say?

                    Looks like it's being run from /app/data/html

                    Conscious tech

                    1 Reply Last reply
                    0
                    • jdaviescoatesJ Offline
                      jdaviescoatesJ Offline
                      jdaviescoates
                      wrote on last edited by
                      #21

                      Just chiming in to say I really want this app right now šŸ™‚

                      I use Cloudron with Gandi & Hetzner

                      1 Reply Last reply
                      1
                      • KubernetesK Kubernetes

                        I created a early package, it builds, but the App shows an 500 Error. If someone wants to take a look, you find it in this repo

                        jdaviescoatesJ Offline
                        jdaviescoatesJ Offline
                        jdaviescoates
                        wrote on last edited by
                        #22

                        @Kubernetes said in LinkStack (was Littlelink-Custom):

                        I created a early package, it builds, but the App shows an 500 Error. If someone wants to take a look, you find it in this repo

                        I wonder if @staff (and/ or other @appdev peeps) could have a look at this and help get it into the app store!

                        There is nothing like this in the App Store yet and it'd be so good to have it! šŸ™

                        I use Cloudron with Gandi & Hetzner

                        1 Reply Last reply
                        2
                        • marcusquinnM Offline
                          marcusquinnM Offline
                          marcusquinn
                          wrote on last edited by
                          #23

                          Agree, it is the best of the bunch, and I can see many using it.

                          In the meantime, for all FOSS apps, I also look to see if WordPress also has a way to do the same, in keeping my apps tamed. Here's some other options:

                          • https://startblogging101.com/wordpress-linktree-page/
                          • https://wordpress.org/plugins/wp-mylinks/
                          • https://wordpress.org/patterns/pattern/linktree/

                          Web Design https://www.evergreen.je
                          Development https://brandlight.org
                          Life https://marcusquinn.com

                          jdaviescoatesJ 1 Reply Last reply
                          2
                          • marcusquinnM marcusquinn

                            Agree, it is the best of the bunch, and I can see many using it.

                            In the meantime, for all FOSS apps, I also look to see if WordPress also has a way to do the same, in keeping my apps tamed. Here's some other options:

                            • https://startblogging101.com/wordpress-linktree-page/
                            • https://wordpress.org/plugins/wp-mylinks/
                            • https://wordpress.org/patterns/pattern/linktree/
                            jdaviescoatesJ Offline
                            jdaviescoatesJ Offline
                            jdaviescoates
                            wrote on last edited by
                            #24

                            @marcusquinn for now I think I'm just going to start using the hosted service (like I'm still doing with Cal.com - but I really ought to get around to hosting that on Cloudron now it's on here!)

                            https://linksta.cc/

                            I use Cloudron with Gandi & Hetzner

                            1 Reply Last reply
                            1
                            • L Offline
                              L Offline
                              LoudLemur
                              wrote on last edited by
                              #25

                              Can we please make this an officially supported application now?

                              1 Reply Last reply
                              4
                              • R Offline
                                R Offline
                                rstockm
                                wrote on last edited by
                                #26

                                Iā€˜d love to see this on cloudron, too.

                                1 Reply Last reply
                                3
                                • C Offline
                                  C Offline
                                  cilleyperson
                                  wrote on last edited by
                                  #27

                                  Want to add my voice to this choir, would love to see this implemented as a one click application in Cloudron. +1

                                  1 Reply Last reply
                                  2
                                  • D Offline
                                    D Offline
                                    dsnradio
                                    wrote on last edited by
                                    #28

                                    Yes to linkstack!! And I think it is a great app!

                                    1 Reply Last reply
                                    2
                                    • Sam_ukS Offline
                                      Sam_ukS Offline
                                      Sam_uk
                                      wrote on last edited by
                                      #29

                                      +1 to packaging this

                                      1 Reply Last reply
                                      1
                                      • C Offline
                                        C Offline
                                        CBCUN
                                        wrote on last edited by
                                        #30

                                        Run with the LAMP very smooth.

                                        sponchS 1 Reply Last reply
                                        2
                                        • R Offline
                                          R Offline
                                          rstockm
                                          wrote on last edited by
                                          #31

                                          +1 would love to have this

                                          1 Reply Last reply
                                          1
                                          • L LoudLemur referenced this topic on
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • Bookmarks
                                          • Search