Giter Site home page Giter Site logo

spences10 / sveltekit-short-urls Goto Github PK

View Code? Open in Web Editor NEW
6.0 3.0 0.0 1.62 MB

Short URLs with SvelteKit

Home Page: https://sveltekit-short-urls.vercel.app/links

HTML 2.91% JavaScript 17.03% Svelte 22.74% TypeScript 52.45% CSS 4.87%
short-url short-urls sveltekit svelte vercel

sveltekit-short-urls's Introduction

SvelteKit short URLs

A simple SvelteKit endpoint to redirect URL pathname to specified destination.

Uses Upstash Redis for storing links and details

Usage

Adding a Hash: In the Web CLI, you'd type the following and press Enter:

HSET short_url:<key> destination "<destination>" description "<description>" visible "true | false"

Updating a Field in Hash: To update a specific field, type:

HSET short_url:<key> <field1> "<new_value1>" <field2> "<new_value2>"

Deleting a Hash: To delete a hash, enter:

DEL short_url:<key>

Viewing All Keys: To see all keys, you'd type:

KEYS *

Viewing a Hash: To get all fields and values of a specific hash, type:

HGETALL short_url:<key>

sveltekit-short-urls's People

Contributors

renovate-bot avatar renovate[bot] avatar spences10 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

sveltekit-short-urls's Issues

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

github-actions
.github/workflows/playwright.yml
  • actions/cache v4
  • actions/cache v4
  • pnpm/action-setup v4.0.0
  • actions/checkout v4@692973e3d937129bcbf40652eb9f2f61becf3332
  • actions/setup-node v4
.github/workflows/unit-test.yml
  • actions/cache v4
  • actions/checkout v4@692973e3d937129bcbf40652eb9f2f61becf3332
  • pnpm/action-setup v4.0.0
  • actions/setup-node v4
npm
package.json
  • @playwright/test ^1.42.1
  • @sveltejs/adapter-auto ^3.2.0
  • @sveltejs/kit ^2.5.5
  • @sveltejs/vite-plugin-svelte ^3.0.2
  • @tailwindcss/typography ^0.5.12
  • @typescript-eslint/eslint-plugin ^7.4.0
  • @typescript-eslint/parser ^7.4.0
  • @upstash/redis ^1.29.0
  • autoprefixer ^10.4.19
  • daisyui ^4.9.0
  • eslint ^9.0.0
  • eslint-config-prettier ^9.1.0
  • eslint-plugin-svelte ^2.35.1
  • fathom-client ^3.6.0
  • postcss ^8.4.38
  • postcss-load-config ^6.0.0
  • prettier ^3.2.5
  • prettier-plugin-svelte ^3.2.2
  • svelte ^4.2.12
  • svelte-check ^3.6.8
  • svelte-preprocess ^6.0.0
  • tailwindcss ^3.4.3
  • tslib ^2.6.2
  • typescript ^5.4.3
  • vite ^5.2.7
  • vitest ^2.0.0

  • Check this box to trigger a request for Renovate to run again on this repository

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.