-
-
Notifications
You must be signed in to change notification settings - Fork 105
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Raj Nandan Sharma
authored and
Raj Nandan Sharma
committed
Nov 14, 2024
1 parent
e45b016
commit 0f5dd0f
Showing
35 changed files
with
930 additions
and
2,808 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
--- | ||
title: Categorize Monitors Guide | Kener | ||
description: Categorize Monitors in Kener | ||
--- | ||
|
||
# Categorize Monitors | ||
|
||
Let us add a category to our monitors. | ||
|
||
## Sample monitors.yaml | ||
|
||
```yaml | ||
- name: OkBookmarks | ||
description: A free bookmark manager that lets you save and search your bookmarks in the cloud. | ||
tag: "okbookmarks" | ||
image: "https://okbookmarks.com/assets/img/extension_icon128.png" | ||
api: | ||
method: GET | ||
url: https://okbookmarks.com | ||
- name: Earth | ||
description: Our blue planet | ||
tag: "earth" | ||
defaultStatus: "UP" | ||
image: "/earth.png" | ||
category: "Hello" | ||
- name: Frogment | ||
description: A free openAPI spec editor and linter that breaks down your spec into fragments to make editing easier and more intuitive. Visit https://www.frogment.com | ||
tag: "frogment" | ||
image: "/frogment.png" | ||
api: | ||
method: GET | ||
url: https://www.frogment.com | ||
``` | ||
## Sample site.yaml | ||
```yaml | ||
#... | ||
categories: | ||
- name: Hello | ||
description: Say Hello to the world | ||
#... | ||
``` | ||
|
||
The above will have OkBookmarks and Frogment under home. Earth will be under Hello category. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
--- | ||
title: Changelogs | Kener | ||
description: Changelogs for Kener | ||
--- | ||
|
||
# Changelogs | ||
|
||
## v0.0.16 | ||
|
||
Here are the changes in this release | ||
|
||
### Features | ||
|
||
- Added support for `hideURLForGet` in monitors. Read more [here](/docs/monitors) | ||
- New SVG badges for LIVE status. Read more [here](/docs/status-badges#live) | ||
- `[Breaking Change]` Removed dependency on Environment variable `PUBLIC_KENER_FOLDER`. Read more [here](#migration) | ||
- Simplified build and deploy process | ||
- Added support for fonts. Read more [here](/docs/customize-site#font) | ||
- Added support for home page pattern. Read more [here](/docs/customize-site#pattern) | ||
- Added support for adding your analytics provider. Read more [here](/docs/site-analytics) | ||
- New Documentation Site | ||
- Redesigned the UI for better consistency |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
--- | ||
title: Custom JS and CSS Guide | Kener | ||
description: Custom JS and CSS Guide for Kener | ||
--- | ||
|
||
Here is a guide to add custom JS and CSS to your Kener instance. | ||
|
||
## Adding Custom JS | ||
|
||
Add your custom JS to `static/` file. And in the `src/app.html` file, add the following line: | ||
|
||
```html | ||
<script src="/your-custom-js-file.js"></script> | ||
``` | ||
|
||
## Adding Custom CSS | ||
|
||
Add your custom CSS to `static/` file. And in the `src/app.html` file, add the following line: | ||
|
||
```html | ||
<link rel="stylesheet" href="/your-custom-css-file.css" /> | ||
``` | ||
|
||
Do not forget to add the base path if you are using a subpath. For example, if you are using a subpath `/kener`, then the path should be `/kener/your-custom-js-file.js`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
--- | ||
title: Embed Monitor | Kener | ||
description: Embed your monitor in your website | ||
--- | ||
|
||
# Embed Monitor | ||
|
||
There are two ways to embed your monitor in your website | ||
|
||
## Javascript | ||
|
||
You can embed your monitor in your website using javascript. We recommend using this method as it takes care of the height of the embedded monitor. | ||
|
||
```html | ||
<script | ||
async | ||
src="http://[hostname]/embed-[tag]/js?theme=light&monitor=http://[hostname]/embed-[tag]" | ||
></script> | ||
``` | ||
|
||
Here is an example | ||
|
||
```html | ||
<script | ||
async | ||
src="https://kener.ing/embed-okbookmarks/js?theme=light&monitor=http://localhost:3000/embed-okbookmarks" | ||
></script> | ||
``` | ||
|
||
Replace `[hostname]` with your kener hostname and `[tag]` with your monitor tag. | ||
|
||
## Iframe | ||
|
||
This is the simplest way to embed your monitor in your website. You can use the following code to embed your monitor in your website. | ||
|
||
```html | ||
<iframe | ||
src="http://[hostname]/embed-[tag]?theme=light" | ||
width="100%" | ||
height="200" | ||
allowfullscreen="allowfullscreen" | ||
allowpaymentrequest | ||
frameborder="0" | ||
></iframe> | ||
``` | ||
|
||
Here is an example | ||
|
||
```html | ||
<iframe | ||
src="http://localhost:3000/embed-okbookmarks?theme=light" | ||
width="100%" | ||
height="200" | ||
allowfullscreen="allowfullscreen" | ||
allowpaymentrequest | ||
frameborder="0" | ||
></iframe> | ||
``` | ||
|
||
Replace `[hostname]` with your kener hostname and `[tag]` with your monitor tag. | ||
|
||
## Parameters | ||
|
||
You can pass the following parameters to the embed code | ||
|
||
- `theme`: You can pass `light` or `dark` theme | ||
- `monitor`: The monitor url |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.