Skip to content

Latest commit

 

History

History
44 lines (33 loc) · 935 Bytes

started.md

File metadata and controls

44 lines (33 loc) · 935 Bytes
title
Quickstart

Quickstart

Try it now

<!-- index.html -->
<link rel="stylesheet" href="https://cwgi-cli.jw1.dev/style.css">
<div id="cwgi_box"></div>
<script src="https://cwgi-cli.jw1.dev/cwgi.iife.js"></script>
// index.js
_CWGI.init()
ES module version
<!-- index.html -->
<link rel="stylesheet" href="https://cwgi-cli.jw1.dev/style.css">
<div id="cwgi_box"></div>
// index.js

// you can use it just like this or download it to your project and import it
import {init} from 'https://cwgi-cli.jw1.dev/cwgi.js'

init()

Detailed configuration

  1. GitHub App - REQUIRED, you need a GitHub App to authenticate users
  2. Server side - Optional, you need a back-end to handle GitHub API requests
  3. Client side - PARTIAL, you need to include the script and style in your blog