Skip to content

Commit

Permalink
Merge branch 'main' into kubernetes
Browse files Browse the repository at this point in the history
  • Loading branch information
jameswynn committed Dec 31, 2022
2 parents 7ac862b + f6b1304 commit e15ba1c
Show file tree
Hide file tree
Showing 86 changed files with 3,138 additions and 500 deletions.
15 changes: 13 additions & 2 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,20 @@ body:
id: browser-logs
attributes:
label: Browser Logs
description: Please review and provide any relevant logs from the browser, if relevant
description: Please review and provide any logs from the browser, if relevant
- type: textarea
id: other
attributes:
label: Other
description: Any other relevant details. E.g. service version or API version, docker version, etc.
description: Please include output from your troubleshooting tests, if relevant. Include any other relevant details. E.g. service version or API version, docker version, etc.
- type: checkboxes
id: pre-flight
attributes:
label: Before submitting, I have made sure to
options:
- label: Check [the documentation](https://gethomepage.dev/)
required: true
- label: Follow [the troubleshooting guide](https://gethomepage.dev/en/more/troubleshooting/) (please include output above if applicable).
required: true
- label: Search [existing issues](https://github.com/benphelps/homepage/search?q=&type=issues) and [discussions](https://github.com/benphelps/homepage/search?q=&type=discussions).
required: true
6 changes: 4 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,7 @@ next-env.d.ts
# homepage
/config

# idea
.idea/
# IDEs
/.idea/


16 changes: 9 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,15 +45,17 @@
- Container status (Running / Stopped) & statistics (CPU, Memory, Network)
- Automatic service discovery (via labels)
- Service Integration
- Sonarr, Radarr, Readarr, Prowlarr, Bazarr, Lidarr, Emby, Jellyfin, Tautulli (Plex)
- Ombi, Overseerr, Jellyseerr, Jackett, NZBGet, SABnzbd, ruTorrent, Transmission, qBittorrent
- Portainer, Traefik, Speedtest Tracker, PiHole, AdGuard Home, Nginx Proxy Manager, Gotify, Syncthing Relay Server, Authentik, Proxmox
- Sonarr, Radarr, Readarr, Prowlarr, Bazarr, Lidarr, Emby, Jellyfin, Tautulli, Plex and more
- Ombi, Overseerr, Jellyseerr, Jackett, NZBGet, SABnzbd, ruTorrent, Transmission, qBittorrent and more
- Portainer, Traefik, Speedtest Tracker, PiHole, AdGuard Home, Nginx Proxy Manager, Gotify, Syncthing Relay Server, Authentik, Proxmox and more
- Information Providers
- Coin Market Cap, Mastodon
- Coin Market Cap, Mastodon and more
- Information & Utility Widgets
- System Stats (Disk, CPU, Memory)
- Weather via [OpenWeatherMap](https://openweathermap.org/) or [Open-Meteo](https://open-meteo.com/)
- Search Bar
- Web Search Bar
- UniFi Console, Glances and more
- Instant "Quick-launch" search
- Customizable
- 21 theme colors with light and dark mode support
- Background image support
Expand All @@ -63,7 +65,7 @@

If you have any questions, suggestions, or general issues, please start a discussion on the [Discussions](https://github.com/benphelps/homepage/discussions) page.

If you have a more specific issue, please open an issue on the [Issues](https://github.com/benphelps/homepage/issues) page.
For bug reports, please open an issue on the [Issues](https://github.com/benphelps/homepage/issues) page.

## Getting Started

Expand Down Expand Up @@ -117,7 +119,7 @@ pnpm start

## Configuration

Configuration files will be genereted and placed on the first request.
Configuration files will be generated and placed on the first request.

Configuration is done in the /config directory using .yaml files. Refer to each config for
the specific configuration options.
Expand Down
15 changes: 8 additions & 7 deletions next-i18next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,20 +98,21 @@ module.exports = {
);

i18next.services.formatter.add("rate", (value, lng, options) => {
if (value === 0) return "0 Bps";

const bits = options.bits ? value : value / 8;
const k = 1024;
const k = options.binary ? 1024 : 1000;
const sizes = options.bits ? (options.binary ? BIBIT_UNITS : BIT_UNITS) : (options.binary ? BIBYTE_UNITS : BYTE_UNITS);

if (value === 0) return `0 ${sizes[0]}/s`;

const dm = options.decimals ? options.decimals : 0;
const sizes = ["Bps", "KiBps", "MiBps", "GiBps", "TiBps", "PiBps", "EiBps", "ZiBps", "YiBps"];

const i = Math.floor(Math.log(bits) / Math.log(k));
const i = options.binary ? 2 : Math.floor(Math.log(value) / Math.log(k));

const formatted = new Intl.NumberFormat(lng, { maximumFractionDigits: dm, minimumFractionDigits: dm }).format(
parseFloat(bits / k ** i)
parseFloat(value / k ** i)
);

return `${formatted} ${sizes[i]}`;
return `${formatted} ${sizes[i]}/s`;
});

i18next.services.formatter.add("percent", (value, lng, options) =>
Expand Down
52 changes: 47 additions & 5 deletions public/locales/ar/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -350,16 +350,58 @@
"leech": "Leech",
"seed": "Seed"
},
"diskstation": {
"leech": "Leech",
"seed": "Seed",
"flood": {
"download": "Download",
"upload": "Upload"
"upload": "Upload",
"leech": "Leech",
"seed": "Seed"
},
"flood": {
"tdarr": {
"queue": "Queue",
"processed": "Processed",
"errored": "Errored",
"saved": "Saved"
},
"miniflux": {
"read": "Read",
"unread": "Unread"
},
"nextdns": {
"wait": "Please Wait",
"no_devices": "No Device Data Received"
},
"common": {
"bibyterate": "{{value, rate(bits: false; binary: true)}}",
"bibitrate": "{{value, rate(bits: true; binary: true)}}"
},
"omada": {
"connectedAp": "Connected APs",
"activeUser": "Active devices",
"alerts": "Alerts",
"connectedGateway": "Connected gateways",
"connectedSwitches": "Connected switches"
},
"downloadstation": {
"download": "Download",
"upload": "Upload",
"leech": "Leech",
"seed": "Seed"
},
"mikrotik": {
"cpuLoad": "CPU Load",
"memoryUsed": "Memory Used",
"uptime": "Uptime",
"numberOfLeases": "Leases"
},
"xteve": {
"streams_all": "All Streams",
"streams_active": "Active Streams",
"streams_xepg": "XEPG Channels"
},
"opnsense": {
"cpu": "CPU Load",
"memory": "Active Memory",
"wanUpload": "WAN Upload",
"wanDownload": "WAN Download"
}
}
54 changes: 48 additions & 6 deletions public/locales/bg/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -350,16 +350,58 @@
"leech": "Leech",
"seed": "Seed"
},
"diskstation": {
"seed": "Seed",
"download": "Download",
"upload": "Upload",
"leech": "Leech"
},
"flood": {
"leech": "Leech",
"seed": "Seed",
"download": "Download",
"upload": "Upload"
},
"tdarr": {
"saved": "Saved",
"queue": "Queue",
"processed": "Processed",
"errored": "Errored"
},
"miniflux": {
"read": "Read",
"unread": "Unread"
},
"nextdns": {
"wait": "Please Wait",
"no_devices": "No Device Data Received"
},
"common": {
"bibyterate": "{{value, rate(bits: false; binary: true)}}",
"bibitrate": "{{value, rate(bits: true; binary: true)}}"
},
"omada": {
"connectedAp": "Connected APs",
"activeUser": "Active devices",
"alerts": "Alerts",
"connectedGateway": "Connected gateways",
"connectedSwitches": "Connected switches"
},
"downloadstation": {
"download": "Download",
"upload": "Upload",
"leech": "Leech",
"seed": "Seed"
},
"mikrotik": {
"cpuLoad": "CPU Load",
"memoryUsed": "Memory Used",
"uptime": "Uptime",
"numberOfLeases": "Leases"
},
"xteve": {
"streams_all": "All Streams",
"streams_active": "Active Streams",
"streams_xepg": "XEPG Channels"
},
"opnsense": {
"cpu": "CPU Load",
"memory": "Active Memory",
"wanUpload": "WAN Upload",
"wanDownload": "WAN Download"
}
}
Loading

0 comments on commit e15ba1c

Please sign in to comment.