Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dsrkafuu/skyline-overlay
A modern customizable horizon FFXIV miniparse overlay. | 现代定制化 FF14 水平悬浮窗模板。
https://github.com/dsrkafuu/skyline-overlay
act ffxiv ffxiv-overlay-api ffxiv-overlays overlay overlayplugin-skin react reactjs typesctipt vite
Last synced: 7 days ago
JSON representation
A modern customizable horizon FFXIV miniparse overlay. | 现代定制化 FF14 水平悬浮窗模板。
- Host: GitHub
- URL: https://github.com/dsrkafuu/skyline-overlay
- Owner: dsrkafuu
- License: apache-2.0
- Created: 2020-10-17T15:48:37.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2024-12-15T17:29:59.000Z (about 2 months ago)
- Last Synced: 2025-01-24T08:06:57.294Z (14 days ago)
- Topics: act, ffxiv, ffxiv-overlay-api, ffxiv-overlays, overlay, overlayplugin-skin, react, reactjs, typesctipt, vite
- Language: TypeScript
- Homepage: https://skyline.dsrkafuu.net
- Size: 17.8 MB
- Stars: 70
- Watchers: 2
- Forks: 10
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
Skyline Overlay
A modern customizable horizon FFXIV miniparse overlay.
![](https://img.shields.io/github/package-json/v/dsrkafuu/skyline-overlay)
![](https://img.shields.io/badge/ffxiv-dawntrail-orange)
[![](https://img.shields.io/github/license/dsrkafuu/skyline-overlay)](https://github.com/dsrkafuu/skyline-overlay/blob/main/LICENSE)
[![](https://img.shields.io/lgtm/grade/javascript/github/dsrkafuu/skyline-overlay)](https://lgtm.com/projects/g/dsrkafuu/skyline-overlay/context:javascript)Features: Basic overlay, extended details, customizable display/data settings, battle history, custom colors, sw cache and more. The project is based on React 18, and the dedicated [ffxiv-overlay-api](https://github.com/dsrkafuu/ffxiv-overlay-api).
## Overlay Links
- CloudFlare (Global): `https://skyline.dsrkafuu.net/`
- Mirror (CN FFCafe): `https://overlays.ffcafe.cn/skyline/`
- Mirror (CN DieMoe): `https://overlay.diemoe.net/skyline/`## Usage
Check [ngld/OverlayPlugin](https://github.com/ngld/OverlayPlugin). For WebSocket mode, note that `backdrop-filter` support needs to be enabled manually on Firefox, check [Can I use](https://caniuse.com/css-backdrop-filter) for more details.
2K+ (WQHD+) screen with 1.2+x scale is recommended for better experience in FFXIV.
Click the encounter can ends current battle and start a new one; zone name will be fully displayed when hover; click the DPS meter on encounter bar can switch to show HPS.
By default the overlay follows the pet-merging policy set in the FFXIV ACT Plugin. When playing on global servers with a custom language patch which causes the plugin's pet-merging not working, you can set your ID in an overlay config to manually merge your pets' data.
You can use [CSSNANO](https://cssnano.co/playground/) to minify your CSS into single line.
## Browsers Support
Supports major browser versions released at 2020 or `ES2020`.
- Chrome: >=87
- Firefox: >=78
- Safari: >=14## Cache Rules
The app uses Service Workers to cache all the assets, which makes it ready for offline usage after the first time.
When releasing a new version, you can wait for the pop-up notification to confirm the cache update, or use Ctrl+F5 to force refresh the app.
## Environment
```
VITE_BASE_URL="/" # dist base url (optional)
VITE_GA_ID="" # google analytics id
```## Local Build
```bash
git clone https://github.com/dsrkafuu/skyline-overlay.git
cd skyline-overlay
pnpm install
pnpm run build
```## Online Debug
![Debug URL Query](https://raw.githubusercontent.com/dsrkafuu/skyline-overlay/main/assets/debug-1.png)
1. Add `debug=1` to the URL
2. Open the debug tool of ACT plugin
3. Reload the overlay in ACT plugin
4. Do somethings which will trigger the issue
5. Save the log and upload it like below![Debug Log Save](https://raw.githubusercontent.com/dsrkafuu/skyline-overlay/main/assets/debug-2.png)
## Contribute
```bash
git clone https://github.com/dsrkafuu/skyline-overlay.git
cd skyline-overlay
pnpm install
pnpm run dev
```### Add Translations
Please use [ISO 639-1:2002](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) defined 2-letter code as filename, use `ja` as an example:
1. Create a new `ja.json` file in `@/src/lang`, use `en.json` as a template
2. Import `ja.json` in `@/src/lang/index.js`
3. Add a new lang in `@/src/lang/index.js` exported map, like `ja: { translation: ja },`### Add Custom Themes
1. Add a new author in `@/src/themes/support/authors.ts`
2. Create `@/src/themes/.ts` and `@/src/themes/.scss`
3. Configure your theme in `@/src/themes/.ts`
4. Write theme styles in `@/src/themes/.scss`#### Customizable Colors
All themes has pre-defined colors, check out `@/src/themes/default.ts` and `@/src/themes/horiz.scss` for examples.
If you'd like to add colors to your theme that users can customize, add a `theme` key to your colors object in `@/src/themes/.ts`.
```ts
const myColors: Colors = {
common: [0, 0, 0, 0.3],
self: [118, 118, 118, 1],
...
theme: {
fg: [255, 255, 255],
bg: [0, 0, 0, 0.3],
bga: [85, 85, 85],
},
};
```These variables will now be accessible within your `.scss` file as `var(--color-theme-)`, where `` is the color key name.
### Contributors
[@DieMoe233](https://github.com/DieMoe233)
[@j0sh77](https://github.com/j0sh77)
[@Slightlyxz](https://github.com/Slightlyxz)
[@thewakingsands](https://github.com/thewakingsands)## Credits
- ffxiv-overlay-api:
- Job Icons:
- jsDelivr:
- MiSans:## LICENSE
Released under `Apache License 2.0`, for more information read the [LICENSE](https://github.com/dsrkafuu/skyline-overlay/blob/main/LICENSE).
**Copyright © 2020-present DSRKafuU ()**