Coder Social home page Coder Social logo

fatih-yavuz / links.dev Goto Github PK

View Code? Open in Web Editor NEW
228.0 6.0 150.0 8.17 MB

A free linktree alternative only for devs. Get a nice page at links.dev/username. Simple site to group all your links. Register your username before someone else does.

License: MIT License

HTML 6.93% CSS 12.23% JavaScript 80.03% Shell 0.20% Python 0.61%
linkinbio linktree linktree-alternative linktree-clone linktree-custom

links.dev's Introduction

Simplify your online presence with one simple link.

Are you tired of having to constantly update your CV, social media profiles, and other online platforms with your latest links and information? With links.dev, you can simplify your online presence and make it easier for potential employers, clients, and followers to find and access all your important links in one place.

Quick Links

Benefits

  • Add all your links to one simple page
  • Get a professional, easy-to-remember URL
  • No more updating individual platforms - just add your Link in Bio URL to your CV, social media bios, and anywhere else you want to share your links
  • You have the full control over your links - you can change them at any time from your GitHub repository
  • You have the full control over how your page looks - you can customize the page's design and from your GitHub repository
  • It is completely free!

How to sign up

You can find a video tutorial here


To register for links.dev, you need to do two things:

  • Create a pull request to add yourself to the registry.yaml file.
  • Create a new public repository called "my-links". (You can also fork this) This repository should contain two files:
    1. page.json, which contains the content of your page.
    2. [Optional] custom.css, which allows you to customize the look of your page.

That's it! Once you have created your "my-links" repository and opened your pull request, wait for it to be reviewed and approved. Once it is merged to the master branch, your page will be visible at: https://links.dev/username

ℹ️ If you've already joined links.dev and want to contribute, take a look at the Contributing section.

Tips

Profile Picture Tips

  • Use and image URL which has 1:1 aspect ratio for your profile picture. This will make sure that your profile picture is displayed correctly.
  • You can use your Twitter or LinkedIn profile picture image URL as your profile picture.
  • Do not use a URL which contains the image in a web page. This will not work. You need to use the direct image URL (which most probably will have .jpg or .png extension). You can get this URL by right-clicking on the image and selecting "Copy image address".

Available Icons

  • You can use any of the icons listed here
  • If you are a designer, feel free to create a pull request to add more icons to the list.

Required page.json sections

To display your website, your page.json must have at least these sections:

  • Name (name)
  • Description (description)
  • Your image URL (image_url)
  • Collection of links (links)

The minimal version page.json file may look like this:

{
  "name": "Your name",
  "description": "Your description",
  "image_url": "url_to_your_image",
  "links": [
    {
      "title": "Link title",
      "url": "link_url"
    }
  ]
}

Restrictions

  • Your username must be unique. If your username is already taken, you will be asked to choose a different one.
  • Your page cannot contain any offensive content.
  • Your page cannot contain any links to illegal content.
  • You cannot register reserved usernames. These are listed in the restricted-usernames.yaml file.
  • You cannot register multiple usernames.

Contributing

Found an issue, want to suggest an improvement or request a new feature? Contributions are always welcome to the project

Get started opening a new Issue or Pull Request!

Support links.dev

If you like this project and want to support it, you can do so by starring this repo and buying a coffee. The money will be used for domain registry fees, server costs, and monitoring tools costs. Any support is highly appreciated. Thank you!

Buy me a coffee

Stay in touch?

  • Subscribe to the newsletter, get notified when new features are added to links.dev
  • Follow @links4dev on Twitter for updates
  • Join the Discord server to get help and share your ideas

Frequently Asked Questions

My PR is merged, but my page is online yet

You should invalidate the registry cache. Normally, it should be done automatically on the CI but sometimes, GitHub's own cache is not invalidated when links.dev's registry cache is invalidated. Click this link to invalidate registry cache. https://links.dev/fatih/?refresh-registry=1

I've updated my-links, but I don't see the update on my page

You need to clear the cache with hitting your page refresh=1 query param. Example: https://links.dev/fatih?refresh=1 If you still don't see the update, it might be because you recently committed the changes to your repo. It takes a bit of time for GitHub to invalidate raw content caches. Try hitting your page with refresh=1 5 minutes later.

Everything seems correct, but there is a problem

  • Check your my-links repo's branch. Make sure that it has a branch called "main" and it has relevant files.

Can I add myself to example-pages.js?

It depends. If you have a different theme than the default one, yes you can. Please keep in mind that, you have to have a known image hosting provider URL or Twitter, LinkedIn profile picture URL. Because its content is displayed on the home page, and it is susceptible to XSS. That's why I cannot accept your pull request if you are using a custom image URL.

links.dev's People

Contributors

aligoktas96 avatar balamir20 avatar birkanatici avatar bsoyka avatar burak-bilgen avatar christianwaltermedia avatar esau-morais avatar fatih-yavuz avatar furkankapukayaa avatar furkantanyol avatar hack-parthsharma avatar haliliceylan avatar itsbrex avatar jiteshpabla avatar khalidsaifullahfuad avatar kursadsaka avatar mertssmnoglu avatar onurravli avatar overflow-equinox avatar ramazansancar avatar ricardogouveia3 avatar ricardoschroeder avatar rishabhkrishna avatar sarpere avatar sbmagar avatar sergeant61 avatar sergeysova avatar silaeryilmaz avatar xyundy avatar zarifpour 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

links.dev's Issues

🐛 [ISSUE]: Telegram icon not being loaded

Description

I have correctly set the icon in page.json:

{
  "title": "TELEGRAM",
  "url": "https://telegram.me/zarifpour",
  "icon": "telegram"
},

However, it seems the svg for the icon is not being loaded.

Screenshots

CleanShot 2023-09-26 at 13 33 10

Additional information

No response

Suggestion: Make URL not case sensitive

For now when we publish a site for ex. https://links.dev/xYundy/ it will be shown, but if I try to access https://links.dev/xyundy/ I'll get 404.

I think URL's should be not case sensitive. If this is requested behaviour - maybe an aliases will be a good thing?

Add Search Page

The users can be searchable by their names, description, and links. We can even add a Company & Location section, which can be used for search purposes.

Do you think something like that would be useful?

Internal Server Error

Description

Everything looks fine, but I'm getting an error. Can you check please?

Screenshots

Screenshot_1

Additional information

No response

Unit Tests For CI Checks

Currently, there are no tests for the CI checks. It's better to have tests to make sure that the desired functionality is there. More context: #124

Rewrite url's to name just like in registry

Since backend isn't public (or I just can't find it) I make a proposal for new feature.

For now username is not case sensitive and it's render correct page which is great but I think it will be nice if url will be redirected to the case like in registry.yaml file. For example:

links.dev/xyundy => links.dev/xYundy
links.dev/xyUndy => links.dev/xYundy

I think 301 redirect will be appropriate.

Brainstorm: Create a static website with Next.js

In the backend, there is a Django Application running on two servers and there is a GitLab pipeline running for deployments. I think this is overkill. We don't need that.

It can be a simple HTML file and be served directly from GitHub without needing servers. I was thinking of moving the backend from GitLab to here but I think this approach is way better.

🐛 [ISSUE]: Can't see my profile

Description

Recently my PR got merged but I'm unable to see my profile on links.dev, My username is parthsharma

Screenshots

No response

Additional information

No response

Feedback

Hello @mohanshetty, I noticed that you left some negative reviews on PH about our product, Links Dev. It looks like you had some issues with your PR and the my-links repo, which caused your checks to fail. However, once these issues were resolved, you were able to create your page on Links Dev without any issues. This is a developer-oriented project and I am committed to ensuring that it is as developer-friendly as possible. If you are still experiencing problems or have any additional feedback, I would be happy to help address any concerns you may have. In the meantime, would you be willing to reconsider your reviews?

https://www.producthunt.com/products/links-dev/reviews?review=561763
https://www.producthunt.com/posts/links-dev?comment=2120871

🧩Feature Request: Add share widget/button

Description

Once the project is an alternative based on Linktree since the beginning (correct me if I'm wrong), but I was looking at their current look and there's a sharing button implemented for the user's page.

Screenshot

sharing button for the user's page at linktr.ee/theprimeagen
sharing button after scrolling through the user's page at linktr.ee/theprimeagen

The Idea

Insert this feature into the project

Support master branch for page.json

Currently, the system looks for a branch called main for your my-links page.json file. It's also intuitive to create a master branch. We should support master branch as well

Duplicate Page Check

Since we enabled the check for only new users, the page content is not validation against duplication.

Add fatih's hash to the content set so that the new page will be compared against it.

Issue Template is not working

I saw that the new issue and pr templates were added by @esau-morais (thanks) i wanted to see how it works.
While we want to submit a new issue it doesn't redirect us to choose.

Example:
example

I saw there is a syntax error on .github/ISSUE_TEMPLATE/bug.yaml and .github/ISSUE_TEMPLATE/feature.yaml files.
syntax-error

⚡Improvement: Add GitHub template for Issues and PRs

Description

If it's worth the effort (once the project's still at the beginning), it'd be great to turn the developer's job easier by doing this (also referring to issue number #164)

The Idea

GitHub has a feature that can be implemented by the developer to pre-define Issues, PR, etc. The idea is to implement it into the project

Resources

https://github.com/devspace/awesome-github-templates

https://github.com/dailydotdev/docs/tree/main/.github/ISSUE_TEMPLATE

Warn people with invalid profile pictures

Each night, run a job to validate the content of people's page.json and their profile images.

If something is wrong, automatically create an issue and tag the person

icons.css cdn cache needs invalidated

    > Looks good Brian, thank you

@fatih-yavuz Hmmm, looks like the ?refresh=1 endpoint isn't invalidating some of the cdn files, specifically the icons.css file with the new soundclound icon:

image

  • If I manually hit that url with the ?refresh=1 it pulls in the file with the new icon so maybe this is a cloudfare config setting on your end somewhere?

image

Originally posted by @itsbrex in #145 (comment)

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.