Skip to content
@PRRQRC

PlaceRickQRCode

Let's place RickQRCodes all over on r/place, pixelcanvas, etc.... Join us in our Discord server!

PlaceRickRollQRCode

Members

We are currently 5 people who are working on this. If you want to help too just contact us in any way (for example through our Discord) :D

ToDos

  • Pixelcanvas scraper
  • Pixel importance based on changes --> dynamic heat maps
  • connect scraper with existing commander
  • Node server api
  • Js userscript
  • Bug Hunting + fixing

Userscript (Pixelcanvas)

Current Endpoints (Beta):

  • URL: https://pixelcanvas-scraper.shadowlp174.repl.co/api/pixel/%x.%y
  • Return format: JSON or false
  • Usage: replace %x.%y with actual coords. Example: api/pixel/-497.2800

This endpoint will retrieve the known data about the specified pixel (%x.%y). It will return false if the coordinates are not in the area of the qr code.

Pixel Updates

  • URL: wss://pixelcanvas-scraper.shadowlp174.repl.co/api/live
  • Return format: JSON on update
  • Usage: connect through a websocket client to the given wss url. Then listen for the onmessage event.

This endpoint will fire pixel updates to the connected clients, if the occured update was inside our area.

Example code (JavaScript):

const socket = new WebSocket('wss://pixelcanvas-scraper.shadowlp174.repl.co/api/live');
socket.onopen = () => {
  console.log("Connected to server");
};
  
socket.onmessage = (msg) => {
  var data;
  try {
    data = JSON.parse(msg.data);
  } catch (e) {
    console.log("Invalid JSON: ", e, msg);
    return;
  }

  switch (data.type.toLowerCase()) {
    case "update":
      console.log("Pixel update received: ", data.data);
      var p = document.createElement("p");
      p.innerHTML = "Pixel update: " + JSON.stringify(data.data);
      document.getElementById("logs").appendChild(p);
    break;
    default:
      console.log("Data received: ", data);
      var p = document.createElement("p");
      p.innerHTML = "Data: " + JSON.stringify(data.data);
      document.getElementById("logs").appendChild(p);
    break;
  }
};

Popular repositories Loading

  1. commander commander Public

    JavaScript 3

  2. pixel-finder-bot pixel-finder-bot Public

    JavaScript 1

  3. .github .github Public

  4. pixelcanvas-scraper pixelcanvas-scraper Public

    A pixelcanvas.io scraper

    JavaScript

  5. pixelcanvas-userscript pixelcanvas-userscript Public

    The userscript for pixelcanvas.io

    JavaScript

  6. place-userscript place-userscript Public

    An autoplacer violentmonkey userscript for r/place 2023

    JavaScript

Repositories

Showing 9 of 9 repositories
  • commander Public
    PRRQRC/commander’s past year of commit activity
    JavaScript 3 0 0 0 Updated Dec 12, 2023
  • Chief Public Forked from PlaceNL/Chief

    Command & Control server for our ventures on r/Place

    PRRQRC/Chief’s past year of commit activity
    JavaScript 0 GPL-3.0 17 0 0 Updated Jul 25, 2023
  • Data Public

    Collection of public data about PRRQRC on r/place

    PRRQRC/Data’s past year of commit activity
    0 0 0 0 Updated Jul 24, 2023
  • Userscript Public Forked from PlaceNL/Userscript

    The easiest way to run our automated placer, right from your browser

    PRRQRC/Userscript’s past year of commit activity
    JavaScript 0 GPL-3.0 24 0 0 Updated Jul 24, 2023
  • place-userscript Public

    An autoplacer violentmonkey userscript for r/place 2023

    PRRQRC/place-userscript’s past year of commit activity
    JavaScript 0 0 0 0 Updated Jul 21, 2023
  • .github Public
    PRRQRC/.github’s past year of commit activity
    0 0 0 0 Updated Jul 23, 2022
  • PRRQRC/pixel-finder-bot’s past year of commit activity
    JavaScript 1 0 0 0 Updated Jun 16, 2022
  • pixelcanvas-userscript Public

    The userscript for pixelcanvas.io

    PRRQRC/pixelcanvas-userscript’s past year of commit activity
    JavaScript 0 0 0 0 Updated Jun 7, 2022
  • pixelcanvas-scraper Public

    A pixelcanvas.io scraper

    PRRQRC/pixelcanvas-scraper’s past year of commit activity
    JavaScript 0 0 0 0 Updated Jun 2, 2022

Top languages

Loading…

Most used topics

Loading…