Skip to content

Commit 516cd75

Browse files
Update Readme.md
1 parent ecacf12 commit 516cd75

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

Admin/Unencrypted/Readme.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,25 @@
11

22
# ⚠️Caution⚠️
33
This HTML file is only intended to be used on the localhost or by opening it locally via a web browser. Serving this webpage publicly is not recommended as it can lead to the exposure of both the HTML and your access tokens.
4+
# Cloudflare URL Shortener Admin Panel
5+
6+
This is a simple admin panel for Cloudflare's URL shortener service. The panel allows you to manage shortened URLs through a user-friendly interface.
7+
8+
## How to use
9+
10+
To use the admin panel, follow these steps:
11+
12+
1. Download the HTML file to your local directory or copy the contents and paste them into your code editor. Save the file with the `.html` extension.
13+
14+
2. In the HTML file, update the following values to match your own setup:
15+
16+
```
17+
const GIST_ID = '1xxx1x1x1x1x1x1x1x1';
18+
const FILE_NAME = 'your-gist-filename.txt';
19+
const GITHUB_TOKEN = 'ghp_XxXxxXXXxXX7XCcCK';
20+
```
21+
22+
`GIST_ID`: The ID of your Gist file where the short URLs are stored
23+
`FILE_NAME`: The name of the file within the Gist where the short URLs are stored
24+
`GITHUB_TOKEN`: A personal access token with the necessary permissions to access your Gist file
25+
Once you have updated the values, you can open the HTML file in your web browser to access the admin panel.

0 commit comments

Comments
 (0)