Giter Club home page Giter Club logo

vh7's Introduction

VH7

A free and open source URL shortening, file sharing and pastebin service.

Overview

VH7 is a small project offering a free URL shortening, file sharing and pastebin service. Unlike other major URL shorteners, VH7 offers shorter links (4 characters) as well as the ability to have a short link for files and code snippets under the same roof.

VH7 utilises Cloudflare Workers for hosting the API, Cloudflare Pages for hosting the frontend, Cloudflare D1 for storing data and Cloudflare R2 for storing files.

Getting Started

First, clone this repository and run yarn --dev to install the dependendies for all the sub-projects.

Local Infrastructure

To start local versions of AWS S3 and AWS DynamoDB, you can run docker-compose -f docker-compose.dev.yml up and leave the below values the same.

Worker

Next, enter the worker folder and create a new .env file containing the following:

S3_ACCESS_KEY_ID=minioadmin
S3_SECRET_ACCESS_KEY=minioadmin
S3_DEFAULT_REGION=eu-west-1
S3_ENDPOINT_URL=localhost:9000
S3_BUCKET=vh7-uploads
DYNAMODB_ACCESS_KEY_ID=DUMMYIDEXAMPLE
DYNAMODB_SECRET_ACCESS_KEY=DUMMYEXAMPLEKEY
DYNAMODB_DEFAULT_REGION=eu-west-1
DYNAMODB_TABLE=vh7
DYNAMODB_ENDPOINT_URL=http://localhost:8100
VH7_ENV=development

Then run yarn run dev to start a local development server.

Frontend

To start the frontend, enter the app folder and run yarn run dev.

Visit http://localhost:3000 in your web browser.

vh7's People

Contributors

jake-walker avatar deepsourcebot avatar

Stargazers

 avatar  avatar

Watchers

James Cloos avatar  avatar  avatar

vh7's Issues

Link Groups

A list of URLs under one link. Editing can be toggled on or off.

Change "Show QR" to be a toggle

When you show QR, pressing "Show QR" again doesn't hide it. It would be useful when on a small screen to be able to hide it again.

Steps to re-create:

  1. upload a file,
  2. press "Show QR"
  3. press "Show QR"

Doesn't hide again.

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.