Giter VIP home page Giter VIP logo

stalker's Introduction

Stalker ๐Ÿ˜Œ

You know that thing on my website that shows what I'm doing? Well, it used to be manually updated, but that got boring.

Now I have a complex system of janky programs that culminate in a bunch of if-then statements that generate that status! It even updates my Slack. I'm unstoppable.

API

Consumable at https://api.kognise.dev/ and deployed on the glorious Fly.io.

Public endpoints:

  • / - Get current activity and now playing song
  • /history - Get full activity history
  • /dash - Access web dashboard (only I can update statuses)

Kognise-only endpoints:

  • /manual - Manually update status
  • /manual/clear - Clear manual status
  • /ping/:key - Signify activity for a device class
  • /list/:key/:sourceDevice - Update browser tabs or running apps
  • /zoom - Zoom webhook updates

Other

Compile StalkerMini (mobile app) to an APK with Gradle, I just used Android Studio.

Stalkerd (desktop daemon) needs a .password file to compile, which Rust embeds in the binary. Don't share the binary! I made this technical decision because I'm lazy.

The browser extension is quite cursed. If it doesn't work, you'll have to open the dev console; the error message should explain how to set the password.

Stalkerd is not cross-platform yet, only supports macOS.

Todo

  • Hot and sexy stats and graphs
  • Some way to let me know if something is breaking on the backend
  • Figure out why StalkerMini sometimes gets yeeted by the system
  • Identify why Zoom occasionally doesn't work
  • Improve code quality (lmao as if)

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.