Code Monkey home page Code Monkey logo

facebook-link-shortener's Introduction

Facebook link shortener

This is a simple program, written in Rust, that runs in background and checks every second for Facebook URL in clipboard. If it detects it, then it removes the cft/fbclid part, leaving the short URL in clipboard.

Building

Simply, run cargo build --release

Testing

There are unit tests in every module - run cargo test to execute them.

Running

Probably the best way to run this program is either adding it to autostart, or creating a system service to automatically start it with OS. Otherwise, you can just cargo run it for testing - the output log will be in stdout.

Compatibility

Pretty sure it'll run on Linux and Windows, not sure about MacOS. The compatibility is restricted by clipboard package support.

Contributing / Issues

Just make a PR, i'll check it out in free time

If you'll find an issue, just report it in Issues.

License

See LICENSE file. Spoiler: it's MIT License.

facebook-link-shortener's People

Contributors

steelph0enix avatar

Stargazers

 avatar

Watchers

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