Code Monkey home page Code Monkey logo

linkinbio's Introduction

linkinbio ๐Ÿ”—

A simple "link in bio" service.

Live at http://b2l.ink

See http://b2l.ink/arjun for a sample profile

Features include: Dashboard with click stats ๐Ÿ“Š, profile themes

๐Ÿšง Very much a work in progress. I'm building this in public and learning as I go ๐Ÿšง

How to setup

I recommend creating a new virtual environment for this project before you proceed.

Clone this repository:

git clone https://github.com/arjunnn/linkinbio.git

cd into the root folder

cd linkinbio

(activate your virtual environment, and then) install the dependencies via Pip

pip install -r requirements.txt

cd into the project folder

cd linkinbio

start the application on the port of your choice

python manage.py runserver 8000

Acknowlegements

This project wouldn't be possible without these amazing projects:

linkinbio's People

Contributors

arjunnn avatar

Watchers

 avatar  avatar

linkinbio's Issues

User dashboard

Create an user dashboard with these features:

  • Create, read, update, delete links
  • View statistics such as total links, total clicks, usage graphs,

Perform sanity checks on links before adding to db

When a user adds a new link perform the following sanity checks:

  • URL is valid
  • URL returns a resource, ideally with status 200
  • If URL redirects to another location, follow up to a limit (maybe 3?) and store the final destination

reduce latency

There seems to be a huge performance impact (>300ms) when processing /profile GET request and /r GET request.

This is because the hit counters for both profile model and link model are being updated each time the respective call is made.

Maybe it will be beneficial to move it to a separate queue and not hold up the request for so long while the db transaction happens

Celery? ๐Ÿค”

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.