Giter Site home page Giter Site logo

imken-link's Introduction

Imken.link Short Link Project

License

Note: This project is under development and features might be unstable. There are known bugs that have not been fixed yet.

Introduction

Imken.link Short Link Project is a tool designed for generating short links, primarily intended for personal use. It offers basic functionality for creating and managing short links, along with planned enhancements for the future.

Implemented features:

  • Create/Delete short links

Planned features:

  • Generate short links through API calls
  • Multi-user and permission management
  • One-click deployment (Railways)

Building and Deployment

Before building and deploying the project, certain configurations and environment variables need to be set up. Here are the basic steps for building and deploying:

  1. Configure environment variables: Refer to the "Development" section below for setting up the necessary environment variables.

  2. You can refer to the build.sh script in the root directory for performing build and deployment operations. Typically, you can use nixpack for packaging.

Run the server:

uvicorn main:app --host <host> --port <port>

Development

Before starting development, you need to set up some environment variables to ensure proper functioning of the project. Here are the steps required for development:

  1. Set up environment variables: Before starting development, make sure to set up the following environment variables to connect to the PostgreSQL database and perform other necessary configurations.

    • PGSQL_URL*: URL to connect to the PostgreSQL database.
    • SETUP_KEY: Verification key used during initial installation to create a user (usable only once). If left blank, a random key will be generated and displayed in standard output.
    • VITE_SITE_NAME*: If you need to build a frontend, please fill in this variable as your website name.
  2. Install dependencies:

pip install -r requirements.txt
  1. Run the development server (hot reload is supported):
uvicorn main:app --reload

License

This project is released under the AGPL-3.0 license. For proprietary usage, please contact the author for licensing details.

Subrepositories

imken-link's People

Contributors

immccn123 avatar

Watchers

 avatar

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.