• Stars
    star
    109
  • Rank 319,077 (Top 7 %)
  • Language
    JavaScript
  • Created over 5 years ago
  • Updated over 4 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Basic http auth via cloudflare workers

Most of the code has been copy-pasted from https://github.com/jshttp/basic-auth

Why

I use it to protect static html pages.

Usage

  1. Set credentials in index.js
const NAME = "super"
const PASS = "secret"
  1. Save and copy index.js to your cloudflare worker and deploy

More Repositories

1

jekyll-youtube

📺 Generate embed html snippets for Youtube URLs
Ruby
90
star
2

mytime.io

Complete source code of https://mytime.io - a website to convert any time zone to your local time zone.
Ruby
82
star
3

fill-pdf

A node module to fill out pdf forms (utf8 compatible).
JavaScript
55
star
4

coffee-snake

🐍 html5 snake game written in coffee script
JavaScript
32
star
5

jekyll-contentful

Jekyll plugin for Contenful.com
Ruby
29
star
6

jekyll-contentful-example

Example Jekyll site using the jekyll-contentful gem
HTML
10
star
7

Facebook-Dynamic-Product-Ads-with-Shopify

Implementing the Facebook pixel in your Shopify theme
10
star
8

craft-redirector

A plugin for Craft CMS to manage redirects right from your entries. Access your legacy URLs in your templates (e.g. to keep existing facebook likes).
PHP
6
star
9

brunch-with-sass-typogrid

Brunch skeleton with boilerplate code for sassy typography and responsive grid using susy, modular-scale, breakpoint
CSS
5
star
10

sinatra-jekyll-hybrid

Template for using jekyll and sinatra for a simple websites with some ajax components, e.g. a contact form
Ruby
4
star
11

NSUserDefaults-SettingsBundle

Objective-C
3
star
12

annotorious-parse-plugin

A simple Annotorious plugin to store annotations on Parse.com
JavaScript
3
star
13

craft_fortrabbit_vagrant_boilerplate

Development environment for craft cms on fortrabbit
PHP
2
star
14

people-you-might-know

Ruby
2
star
15

golang-gae-shopify-app-boilerplate

Go
2
star
16

swell

Dabbling with webgl
JavaScript
1
star
17

Startup-Questions

All the questions a startup should be asking themselves
1
star
18

vcard_nokia

Format vCards for Nokia 2660 (30+ series)
JavaScript
1
star
19

goshopping

Go library for accessing the Shopify API
Go
1
star
20

shopify-app-template-remix-go

TypeScript
1
star
21

calibre-htmlshelf

Generate a static website of your calibre catalog
Python
1
star
22

sidescoller

🎮 🏃 a minimal html game engine using the <pre> tag as a canvas
CoffeeScript
1
star
23

fooface

Tiny tiny facebook library
Ruby
1
star
24

gobff

TypeScript
1
star