simplex-chat / simplex-chat/simplexmq

Adding QR to the front page

Open
#1,367 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Haskell
Stars
847
Forks
111
Avg merge
3d 11h
Merged PRs (30d)
9

Description

This isn't really an issue just saving time for others.
I've setup an instance, but I wanted a QR on the front page so here is what i did.
I copied the server address, in the app generated a QR code and on the server moved it to /var/opt/simplex/www/invite.png.
Then added a few lines to /var/opt/simplex/www/index.html at line 216.

<div class="flex flex-col lg:flex_row gap-50 justify-between w-full mb-[50px]">
  <h2 class="text-[30px] mb-[20px] leading-[28px] text-[#606C71] dark:text-white font-bold max-w-[475px]">
    Invite
  </h2>
  <img src="invite.png" style="height: 200px; width:200px">
</div>

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by inspecting /var/opt/simplex/www/index.html around line 216 and the existing front-page invite flow. Determine the intended source and serving path for the QR image; the work is done when the front page consistently displays the intended invite QR for an instance.

Written by the indexing model from the issue text.

Assessment

Tech stack
html
Domain
frontend, web-dev
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.