Giter Site home page Giter Site logo

harrk / shortie Goto Github PK

View Code? Open in Web Editor NEW
4.0 1.0 0.0 2.13 MB

A self-hosted Short URL application.

Home Page: https://harrk.dev/new-open-source-project-shortie/

License: MIT License

PHP 66.44% JavaScript 1.26% CSS 0.05% Vue 31.94% Blade 0.31%

shortie's Introduction

Shortie.

img.webp

Shortie is a project I created for managing short URLs and tracking. Created with Laravel, Vue, and Inertia.

Features

  • Manage your Short URLs, either company-wide or per user.
  • Short URL Analytics
  • User management with configuration around allowing new users / default roles.
  • Domain management for self-managed domains.

Requirements

  • PHP 8.2 / PHP 8.3
  • MySQL / Postgre / SQLite
  • Node v16: For rebuilding assets (optional)

Installation

First download the project to where you intend to host it from.

via HTTPS:

$ git clone https://github.com/Harrk/Shortie.git

or via SSH:

$ git clone [email protected]:Harrk/Shortie.git

Install dependencies.

$ composer install --no-dev

Configure your .env file with your database credentials.

$ php artisan migrate

Optional: Assets are prebuilt, but you can rebuild them with the following:

$ yarn && yarn build

Create yourself an admin user.

$ php artisan app:create-admin

Navigate to the location you're hosting the project from to verify it's all set up.

Setting Up

Before creating a short URL, you must set up a domain. You will need to do this even if you only intend to use a single domain.

img-setup.png

Contributing

Please review the CONTRIBUTING.md document before making any contributions to the project.

shortie's People

Contributors

harrk avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

shortie's Issues

Build assets included in repository

Due to trying to reduce friction in getting up and running: built assets are stored in source control.
To remove these it's asking the user to build them as part of the setup process, including installing a specific version of Node.

Options:

  • Remove the files from source control and let the user deal with it?
  • Create a release artifact?

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.