Skip to content

FAQ New Site without 2FA Support

Michael Loßin edited this page Aug 22, 2021 · 3 revisions

I want to add a site that's not currently using two factor authentication to the list

A site added to the list that doesn't currently support two factor authentication must fit our site criteria. If you think this site does then go ahead and follow these instructions:

  1. First, fork this project and clone your fork to your computer.

  2. Select the category keyword(s) for the site from _data/categories.json. If nothing fits, choose other.

  3. Let's assume the domain is example.com - you would then create a file entries/e/example.com.json like this:

    {
      "Example Site": {
        "domain": "example.com",
        "url": "https://subdomain.example.com",
        "img": "example.com.png",
        "contact": {
          "twitter": "Example",
          "facebook": "ExampleCom",
          "email": "[email protected]"
        },
        "keywords": [
          "developer",
          "education"
        ],
        "regions": [
          "us",
          "ca",
          "gb"
        ]
      }
    }
    
    • If the site supports HTTPS, be sure to use it in their URL, not just HTTP.

    • If the site is only used for non-English websites, then the lang field of the contect block should be lowercase ISO 639-1 codes. This will change the language used for twitter and facebook messages only. It would look like this for Spanish: "lang": "es"

    • The regions block is optional and may contain country codes according to ISO 3166-2 which specify the primary target market(s) for the website. If there is no regions tag, the website is considered to be available internationally.

  4. Now choose an appropriate logo for the site. We prefer SVG files for the logo. If none is available, please use a PNG file of EXACTLY 32 x 32 pixels. If you can't find any with those dimensions then we recommend you downscale a larger image.

Please run the icon through an optimizer like nano (for SVGs) or TinyPNG (for PNGs). File size must be smaller than 10 kB or 2.5 kB respectively.

When you're done, put the image in img/e/example.com.svg or whatever different name you have given as img.

  1. Use a git client to upload your changes to your fork. For Windows and Mac, we recommend GitHub for Desktop. If you're using Linux (Debian/Ubuntu) then look at this tutorial.

  2. Everything done? Then make a Pull Request(PR)! Once everything looks nice it's time to request to add the site. Go to your fork on GitHub and click the New pull request button. It looks like this:

Clone this wiki locally