Code Monkey home page Code Monkey logo

tanc.red's Introduction

This is a simple redirect server including personal file sharing functionality.

It mainly functions as my URL shortener with some manual setup. If the given redirect is not found, it will redirect to my actual website by default. Both the redirects as well as the default redirect can be set up in the config.json file.

Additionally, it serves for personal file sharing. Files I upload to the ./src/share directory can be publicly linked to anyone. I have also added a simple file explorer on the /share route with password protection. The password protection is simplistic and not very secure. You can add the password as a URL parameter: ?password=. It purely serves the purpose of fending off nosy people from digging through all shared files. This level of security is fine for me as the files are public anyway, so it doesn't really matter if someone actually finds out the password. The password can be set up in the config.json file.

The is_production flag in the config.json just controls the console output when starting the app. If it's set to false, you will see localhost URLs that are helpful during development. Otherwise, you will see just the port it is launching on, which is helpful for the setup on your server.

Credits

File Icons by FauzIDEA

tanc.red's People

Contributors

tancred423 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.