Code Monkey home page Code Monkey logo

linkstackorg / linkstack Goto Github PK

View Code? Open in Web Editor NEW
1.9K 30.0 198.0 44.12 MB

LinkStack - the ultimate solution for creating a personalized & professional profile page. Showcase all your important links in one place, forget the limitation of one link on social media. Set up your personal site on your own server with just a few clicks.

Home Page: https://linkstack.org

License: GNU Affero General Public License v3.0

PHP 60.30% Blade 39.70%
php blade laravel self-hosted webapp open-source personal-website linktree-alternative linktree privacy

linkstack's People

Contributors

adamgoose avatar arcticnerd avatar cedriclocqueneux avatar clar2242 avatar cln-io avatar datflowts avatar dependabot[bot] avatar doncellup avatar fiight avatar imgbotapp avatar jaschaurbach avatar julianprieber avatar khzg avatar lastsamurai26 avatar ldidry avatar leocolman avatar levisnoot avatar magiclike avatar markwhitey avatar pixist avatar realmlist avatar snicker avatar stonemonarch avatar thangisme avatar thomas-netlor avatar tsacks avatar yohn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

linkstack's Issues

[UX] Empty page on links section of studio

On the demo page when navigating to the links section in the studio, there is an empty table because there is nothing added yet.

This might be a bit confusing to new users. I would suggest to have no table here at all, but rather display an explaining text what this section is meant for.

Documentation : Traefik

Thanks for the doc on Nginx reverse proxy.

I used it to get my traefik proxy working ... You might want to include some details for that too this is what I added to get mine working

http:
routers:
container_name:
entryPoints:
- websecure
rule: "Host(fqdn of container)"
middlewares:
[container_name-Header]
service: container_name
tls: {}
middlewares:
container_name-Header:
headers:
contentSecurityPolicy: upgrade-insecure-requests
services:
container_name:
loadBalancer:
servers:
- url: http://container_name

Can't change password of admin

Hi there and thanks for this software. Unfortunately, I cannot change passwords of admin (or maybe other users too).
Update profile works when leaving password field empty. If I enter any password there, I get:

Illuminate\Database\QueryException SQLSTATE[23000]: Integrity constraint violation: 19 CHECK constraint failed: users (SQL: update "users" set "name" = admin, "email" = [email protected], "password" = $2y$10$RM6YyZ7yNSlbm3uFYeU7XuZT3GpAkavsVBVzZA78MGYZjjv8VrdiS, "littlelink_name" = admin, "littlelink_description" = admin page, "role" = Admin, "updated_at" = 2022-03-26 08:41:53 where "id" = 1)

image

If you need more debug info, let me know.

Edit: It seems, my whole setup is broken. I'm gonna try to reinstall

URL contains /index.php/

I have installed Littlelink-custom in the root folder of my domain. This now causes the page url to contain /index.php/, something like "tld.com/index.php/@username". Of course I don't like this. Apparently this is related to the .htaccess file, however it is not clear to me how to adjust this. Can anyone help me?

After update to 2.5.9

SQLSTATE[HY000]: General error: 1 no such column: links.custom_css (SQL: select "links"."link", "links"."id", "links"."button_id", "links"."title", "links"."custom_css", "links"."custom_icon", "buttons"."name" from "links" inner join "buttons" on "buttons"."id" = "links"."button_id" where "user_id" = 3 order by "up_link" asc, "order" asc)

I hope I didn't do anything wrong but after the update I can't access my page anymore only the admin panel.

Possible to remove ๐Ÿ”— icon on website header

My question would be if it is possible to remove this icon "๐Ÿ”—" from the title of the pages?
Could you show me the necessary place in which file i can change it, I have not found anything yet.

Thank you!

Error when installing on a Plesk server, unsure how to fix.

Hello, I am having an issue where I get an error like this:
ErrorException stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error messages: error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed

I don't know why,but it appears that it might be saying that the SSL is a problem, however, Plesk gives certificates to all sites, so I'm unsure what the problem could be.

Any help would be appreciated, Plesk is kind of my only option for web hosting, so I am really hoping this will work.
Thanks.

Console errors on interaction on the demo page

After creating a demo page, clicking the share link results in an error in the browser console:

toastBox is not defined.

Also, it appears to see jQuery ($ is not defined) present, which is not the case.

Referal link interferes with website favicon

Using the docker image, I'm using a referal link for Humble Bundle (https://www.humblebundle.com/?partner=linx_esp) and the link icon is changed to "custom_website".
When loading the littlelink page it shows a generic icon, the console outputs GET https://icons.duckduckgo.com/ip3/www.humblebundle.com/?partner=linx_esp.ico 404
https://icons.duckduckgo.com/ip3/www.humblebundle.com/?partner=linx_esp.ico gives a different icon than https://icons.duckduckgo.com/ip3/www.humblebundle.com

I don't how to test if it is because of humble bundle / duckduckgo / littlelink
In case of this issues not being caused by littlelink, is it a way around it? i haven't see an option to manual select a custom icon based on a link (Guess there is an option and didn't see it)

Wrong home page

Currently my website goes to a "root file system page" (visit page: hoogloo.me) and NOT an actual home page.
I want it to be like this "hoogloo.me" and NOT "hoogloo.me/little-custom/"

[UX] Add link shows more information unrelated to the form

On the demo instance when I add a link I can find an accordion below the form to explain the functionality.

However, the elements described there seem to have little to do with the form fields.
Is this element meant to be shown elsewhere?

[UX] Hard to tell apart primary buttons

Looking at the Demo instance, the register and Log In button are ghost buttons, which make them hard to separate from other action buttons in the same area (using dark theme).

I would expect the primary action to be visually distinct.

application does not seed and Undefined variable: page

Hello! I have been attempting to setup this application for a few days now, and have been running a few issues when attempting to deploy this application. Some background is needed, I run a lot of my applications in containers and for the most part, they work fine with a bit of work. I run a fair amount of laravel applications in containers, so I opted to retrofit the same image to run littlelink custom.

The first problem revolves around the application not generating its key and seeding its database upon first load, and I do not get any button on the missing key page. Knowing my way around artisan, this was not difficult to solve. I do not know if this is due to being put into a container and slightly modified (.env and storage are symlinked to a directory outside of the web folder), but other laravel applications I have tried in the past dont seem to have this issue.

The next problem now stems with Undefined variable: page (View: /var/www/html/resources/views/home.blade.php). Ive tried a few artisan commands but nothing has fixed this problem. I am unsure how to proceed with this issue.

Missing Graphic

I don't know if this is really a bug.
I using the newest version 2.6.1

I find the following error messages in my logs. It seems that some graphics are missing but are being called?

"GET /studio/button-editor/images/grid2.png HTTP/2.0" 404
"GET /studio/button-editor/images/close.png HTTP/2.0" 404

Were there graphics forgotten to be delivered?

after the update to the new versions the env editor does not load anymore =(

Bildschirmfoto 2022-05-07 um 00 47 06

Feature Request(s)

I'm currently in the process of testing out LLC to see if it's a good replacement for my current LinkTree, and adding some links to it.

A few things I think would be nice additions to LLC to make things easier and more configurable.

  • For button images, it'd be nice to have a filed to enter a URL for the image to use, as well and the ability to drop/upload an image. Currently I have 1 site that using the "custom website" option pulls the wrong image that I want to use and I cant see any other way to specify the exact image I want.
  • It would also be great to allow setting the image alignment. I personally, like the look Linktree uses where it puts the image all the way to the left of the button:

image

  • Ability to choose whether to use your entered text, or the default word for the button. For example, the twitter button. I'd like to enter my @name as the text for the button, since people by now automatically know the Twitter color and that it uses the "@" format, but it would also be cool to have the Twitter bird icon along with my entered text.
  • For certain site, like twitter, the user can just enter their @name instead of having to paste the whole URL, since that's the only difference between all user's (LinkTree does this).
  • On the Profile page, a link that takes you to your profile right on it. (There's one in the admin/users section too, but it would be handy and intuitive if there were on on the actual profile page as well).
  • Also on the profile page, the ability to add/upload your profile picture right there.

I know it's a bunch of stuff I'm bombing ya with, lol, but I realize it's a new project just getting off the ground, so thought the user feedback would be useful. =)

Custom Button Icon Not Available

Platform: centOs 7
Server type: NGINX/
PHP version: 8.0.24

I have a custom link added to My links.
I get the "Customize" option to edit the colors of the button.
The option to customize the icon via Font Awesome is not present.

Screenshot of the Customize page for that button here: https://share.cleanshot.com/FCawwq

Visitor Analytics

Hello,
i just installed the newest Release 3.0.1, but since yesterday the Visitor Analytics are at 0:
image

Is there something wrong in my LLC Instance?

Redirect behavior is different in Chrome vs Safari, potentially as a result of reverse proxy

Given:
using the docker container as an installation method,

a link configuration as such:
image
and a base url of https://links.helltoaster.scfs.me/ using nginx as a reverse proxy,

Clicking the link on the page with URL of:
https://links.helltoaster.scfs.me/going/2/https://untappd.com/user/snicker/photos
causes a redirect to this page:
https://links.helltoaster.scfs.me/untappd.com/user/snicker/photos
in Chrome, but not in Safari

Logs indicate that the redirect request to redirect()->away($link) is stripping the second slash on https://:
[24/Sep/2022:17:09:51 +0000] "GET /going/2/https:/untappd.com/user/snicker/photos HTTP/1.1" 302 398

Safari seems to obey a malformed redirect request whereas Chrome does not.

Feature-Request: Direct Links and rel me

I started looking for this so that I could back reference my Mastodon account.

The Littlelink server by TechnoTim provides this but I wanted to be able to host multiple accounts within the single instance so this fits much better and the implementation is much easier to use going forward.

I notice that the links created do not have the required rel="me ..." for Mastodon and also that the links have a local link first.
It would be good to be able to have an option that sets the link as a verification link which then includes the rel="me ..." but also removes the internal link and goes direct to the page instead.

I have added rel="me ..." in the running container and stripped out the internal link from littlelink.blade.php in /htdocs/resources/views but think a better solution would be to include an option on the link creation that then allows this to be used or not used in the php logic.

For now I will run with my local bypass but hope that this is something you could include.

Root Directory on Subdomain

Just working on getting this installed and I've setup a custom subdomain on my main domain for the app to run.

It throws an error (Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 8.0.2".) if I upload the contents of the littlelink-custom directory to the root folder of that subdomain.

However, if I upload the contents in a folder (of any name), the app works as desired. Can I not run it in a root directory of a subdomain?

I'd like links.mydomain.com and not links.mydomain.com/links (or some other subdirectory)

[FEATURE REQUEST] Add code injection to the <head>

It would be nice to be able to inject code into the <head> , e.g. through the advanced-config.php so that it is available on every page.
For example, alternative analytics like Umami can be supported this way without having to integrate them.

License info

Just a thought came to mind. What is the reason behind making "LLC" GPL? Anything specific or technical?

there are lot of licenses like MIT, LGPL etc etc WHy GPL?

New buttons design

Hello!

Thanks very much for the last update v2.9.0.

I'm using the default theme and added some of the new brands/buttons, but they appear with transparent background and not with the default button design, see Pixelfed, Matrix and Openstreetmap here: https://littlelink.klomp.de/@janklomp

Am I doing anything wrong here?

Some questions

Server type: Apache2
PHP version: 7.4

Can I use mysql?

Why not install it like a normal laravel app?

Adding laravel packages

Can we add laravel packages to LLC like any other laravel app? For example a subscription based site where user pays monthly or yearly and gets access according to the plan he chooses.

Up to 30-40 sec loading time of any page on the admin-panel

Platform: Ubuntu 20.04.4 LTS
Server type: Apache2 2.4.41-4ubuntu3.11
PHP version: 7.4.29

All requirements at https://llc.bio/req are matched.
Webserver is hosting a few more Webpages (wiki, Nextcloud, ... ) without issues or performance problems. The server has 4 CPU and 8GB of RAM with plenty free.

Installation:
wget https://github.com/JulianPrieber/littlelink-custom/releases/latest/download/littlelink-custom.zip
unzip littlelink-custom.zip
chown -R www-data little-custom

When accessing the adminpanel or any link inside, the TTFB is about 35 seconds. (According to the Chrome Developer Tools)
After this "pause" the page is loading in normal speed.

The Main-Page is operation in normal speed.

In the Chrome-Developer-Console i get:
... https:///littlelink-custom/studio/js/bootstrap.min.js.map: HTTP-Fehler: Statuscode 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE ...

Inside the directory there ist no .map file. The directory is readable and writeable by the webserver.

Any ideas?

Feature Request: let pages be replaced by links

It would be great when acessing /panels/pages to not only edit the content of the different pages but give the possibility to enter a URL to link to an external page instead of editing content.

My use case would be to link to an already existing contact page instead of entering the content again and keep two different pages up to date.

Register issue

When my users register I get a random error screen but if they refresh and go back it has inserted the info.
D2B4108E-67F0-410D-B6F7-93D38E247445

On new setup, clicking the button to generate the env seed didn't work.

When I setup my new copy of little-link custom, I had to set that random salt value in the env file manually, since the version to click within the software wouldn't work for me.

I couldn't trace any reason why it wasn't working (there was no output in PHP's error_log) or any errors in apache2's log so I couldn't ultimately figure out what the root cause of the issue was, but I thought I'd better report that I'd had issue with it since it might confuse new (er) users, which from what I can tell is one of the design goals of this version :)

It was fixed by manually generating the salt and adding it to the .env file.

Kind regards,
Jessica

Add a security policy

Hello ๐Ÿ‘‹

I run a security community that finds and fixes vulnerabilities in OSS. A researcher (@WHOISshuvam) has found a potential issue, which I would be eager to share with you.

Could you add a SECURITY.md file with an e-mail address for me to send further details to? GitHub recommends a security policy to ensure issues are responsibly disclosed, and it would help direct researchers in the future.

Looking forward to hearing from you ๐Ÿ‘

(cc @huntr-helper)

Same questions and problems

Is there a way to show the login and register button on every page ?

as I have changed the main page so that I can beautify the home page and not have the Little link default page.

Is there also a way to go directly to the studio after logging in without having to type /studio/index ?

I also noticed that I can't change my own password as a user.

is there a way to get an error message if you enter a wrong URL with domain.com/ as an example?

Form Not Secure Messages - then unrecoverable crash after adding FORCE_HTTPS=true

When using studio I noticed the message "The form is not secure. Autofill has been turned off."
Upon checking I notice that all of the internal links are absolute http://xxxxxx

I tried updating the FORCE_HTTPS to true as I use a Traefik proxy in front but this resulted in errors, just in case I changed my proxy to connect to littlelink using https also in case of "internal confusion" this did not resolve and I noticed bad gateway messages.

Checking my docker container logs I then noticed

Running Apache
AH00526: Syntax error on line 337 of /etc/apache2/httpd.conf:
Invalid command 'io', perhaps misspelled or defined by a module not included in the server configuration
Updating Configuration: Apache Base (/etc/apache2/httpd.conf)
Updating Configuration: Apache SSL  (/etc/apache2/conf.d/ssl.conf)
Updating Configuration: PHP         (/etc/php8/php.ini)
Updating Configuration: Complete
Running Apache
AH00526: Syntax error on line 339 of /etc/apache2/httpd.conf:
Invalid command 'io', perhaps misspelled or defined by a module not included in the server configuration
Updating Configuration: Apache Base (/etc/apache2/httpd.conf)
Updating Configuration: Apache SSL  (/etc/apache2/conf.d/ssl.conf)
Updating Configuration: PHP         (/etc/php8/php.ini)
Updating Configuration: Complete
Running Apache
AH00526: Syntax error on line 341 of /etc/apache2/httpd.conf:
Invalid command 'io', perhaps misspelled or defined by a module not included in the server configuration
Updating Configuration: Apache Base (/etc/apache2/httpd.conf)
Updating Configuration: Apache SSL  (/etc/apache2/conf.d/ssl.conf)
Updating Configuration: PHP         (/etc/php8/php.ini)
Updating Configuration: Complete

I had to revert the configuration change manually which I did by editing the .env file and changing FORCE_HTTPS=false
This had no effect so I stopped and restarted my docker instance and it kept repeating the above - the instance was basically restarting due to the apache error.

So two related (I hope issues).

  1. Internal links are absolute when then could be relative, but if absolute should be https (is this what FORCE_HTTPS does)
  2. When adding FORCE_HTTPS=true this had a negative effect which was unrecoverable

In the end I recreated the docker instance and used new persistent volume and reconfigured from scratch and now I am back to the insecure http links.

Adjusting the avatar/logo proportions to rectangular

Hi,

I'm currently setting up llc for an organization and am trying to make the logo fit nicely on the page. The logo is rectangular, and while I've found out how to change the edges to not be round, the logo is still being cropped to fit a square. I haven't found any way to change this so that the logo is fully displayed in the correct proportions. Is there any way to adjust this? Have I missed something in the configs?

Thanks in advance!

Call to undefined function Illuminate\Encryption\openssl_cipher_iv_length()

I have tried to run this program a few times but keep running into this issue every time. Is there something I'm configuring wrong? I only changed the App Key. Other than that it should be a fresh install. Any help would be appreciated.

Error:
Call to undefined function Illuminate\Encryption\openssl_cipher_iv_length()

Sorting of Links not possible between pages

Hello,

When you have more than ten elements on the "Your Links" page, it is not possible to move elements from the second page to the firs page and vice versa. To enable sorting all elements need to be on a single page.

Could you please have a look?

Its a great application! Thank you for offering it to the public!
Best
Nkls

Added new Blog

Added a new Blog to document this project and better communicate updates and discuss them with others.

Read the official LittleLink Custom Dev Blog

Upgrade to release v3.0.0 fails

I'm not able to perform the upgrade to v3.0.0 via the web backend.
When upgrading from v2.9.2 through the web backend a 404 not found is thrown out directly after the backup process at this url: https://my-domain/update?preparing.

After that, I can access the web backend manually and the upgrade is still available.

All upgrades before this one went fine.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.