Skip to content

Commit

Permalink
Merge pull request #1 from couleur-tweak-tips/old-vue
Browse files Browse the repository at this point in the history
replace old vue with new html
  • Loading branch information
couleurm authored Mar 21, 2024
2 parents 66f7e38 + 6eeeed4 commit b7d4332
Show file tree
Hide file tree
Showing 29 changed files with 667 additions and 16,157 deletions.
4 changes: 0 additions & 4 deletions .browserslistrc

This file was deleted.

42 changes: 25 additions & 17 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,22 @@ name: Deploy static content to Pages
on:
# Runs on pushes targeting the default branch
push:
branches: ['main']
branches: ["main"]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write

# Allow one concurrent deployment
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
group: 'pages'
cancel-in-progress: true
group: "pages"
cancel-in-progress: false

jobs:
# Single deploy job since we're just deploying
Expand All @@ -26,21 +30,25 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Node.js
uses: actions/setup-node@v2
with:
node-version: 16.x
- name: Install dependencies
run: npm install
- name: Build project
run: npm run build
uses: actions/checkout@v4

# - name: Minify everything
# shell: pwsh
# run: |
# if (!$IsLinux){
# Set-ExecutionPolicy Bypass -Scope Process -Force -ErrorAction Ignore
# }
# npm install -g uglify-es clean-css-cli html-minifier
# html-minifier --input-dir (Get-Location).Path --output-dir (Get-Location).Path --minify-css --minify-js --file-ext html

- name: Setup Pages
uses: actions/configure-pages@v2
uses: actions/configure-pages@v4

- name: Upload artifact
uses: actions/upload-pages-artifact@v1
uses: actions/upload-pages-artifact@v3
with:
path: './dist/'
# Upload entire repository
path: '.'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1
uses: actions/deploy-pages@v4
23 changes: 0 additions & 23 deletions .gitignore

This file was deleted.

7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,9 @@ TweakList-UI leverages the PowerShell scripting framework [TweakList](https://gi

> **Warning**
>
> TweakList-UI is currently in an **<ins>extremely early stage</ins>** (not even functional as I'm writing this), we're already making this public to make use of [GitHub pages](https://couleur-tweak-tips.github.io/TweakList-UI) and [get feedback](https://dsc.gg/CTT) from you guys snooping, if you're still reading check our [project board](https://github.com/orgs/couleur-tweak-tips/projects/3)
> TweakList-UI is currently in an **<ins>extremely early stage</ins>** , we're already making this public to make use of [GitHub pages](https://couleur-tweak-tips.github.io/TweakList-UI) and [get feedback](https://dsc.gg/CTT) from you guys lurking (:
---

![](https://media.discordapp.net/attachments/953269243959451688/960996146036228096/unknown.png?width=650&height=431)
![](https://github.com/couleur-tweak-tips/TweakList-UI/releases/download/readme-assets/tlui.webp)

> Setting up Windows should be as easy as ordering your subway :)
> Setting up Windows should be as easy as ordering your subway
61 changes: 61 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="stylesheet" href="styles.css">
<title>TweakList-UI</title>
<!--
notable global variables:
- tlui holds the template to build container
- conf holds the user defined parameters, synced with localStorage
-->
<script src="init.js"></script>
<script src="storageManager.js"></script>
<script src="main.js"></script>
</head>
<body>
<div class="nav">
<a href="https://ctt.cx" target="_blank">
<img
src="https://avatars.githubusercontent.com/u/82734468?s=200"
style="width: 38px; height: 38px; border-radius: 100%"
alt="CTT Logo"
>
</a>

<a
style="padding-right: 0"
href="https://github.com/couleur-tweak-tips/TweakList"
target="_blank"
class="nav-link"
title="Repository for the source code of the PowerShell module this website helps you generate commands of"
>TweakList</a>

<span style="margin: 0;">&ndash;</span>

<a
style="padding-left: 0" href="https://github.com/couleur-tweak-tips/TweakList"
target="_blank"
class="nav-link"
title="Repository for the source code of this website"
>UI</a>
</div> <!--nav-->
<div id="export"></div>

<div id="container">
<div id="functions">
<h2>Functions</h2>
<ul id="functions-list"><!--automatically generated --></ul>
<button style="display: table; margin: auto" onclick="exportCode()">Export</button>
</div>
<div id="parameters">
<h2>Parameters</h2>
<div id="parameters-pane"><!--automatically generated --></div>
</div>
</div>
<script>
loadList(tlui)
</script>

</body>
</html>
104 changes: 104 additions & 0 deletions init.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,104 @@
const tlui = {
"Optimize-LunarClient": {
"description": "Applies no-brainers and select tweaks to a Lunar Client profile",
"tags": "Minecraft",
"parameters": {
"Settings": {
"type": "enum[]",
"description": "Specify which specific tweak you'd like applying on your profile",
"values": {
"Performance": "Turn off performance-hungry settings",
"NoCosmetics": "Disable all emotes, cosmetics, wings, hats..",
"MinimalViewBobbing": "Keep item movement but disable walk bobbing",
"No16xSaturationOverlay": "Remove the yellow 16x hunger bar overlay",
"HideToggleSprint": "Hides the ToggleSprint status from HUD",
"ToggleSneak": "Turns on ToggleSneak",
"DisableUHCMods": "Disables ArmorHUD, DirectionHUD and Coordinates mods",
"FullBright": "literally night vision"
}
},
"LazyChunkLoadSpeed": {
"type": "enum",
"description": "Specify which specific tweak you'd like applying on your profile",
"values": [
"highest",
"high",
"medium",
"low",
"lowest",
"off_van"
]
},
"LCDirectory": {
"type": "folder_path",
"default": "$HOME\\.lunarclient"
},
"NoBetaWarning": {
"type": "bool"
},
"KeepLCOpen": {
"type": "bool"
},
"DryRun": {
"type": "bool"
}
}
},
"Optimize-OBS": {
"description": "Configure OBS UI, output and video settings from a list of presets",
"tags": "Video Windows Linux",
"path": "/modules/Game & Program tuners/Optimize-OBS.ps1",
"parameters": {
"Encoder": {
"description": "Which encoder you wish to use",
"required": "true",
"type": "enum",
"values": {
"NVENC": "NVIDIA's Fastest encoder, it lets you record in hundreds of FPS easily",
"AMF": "AMD GPUs/Integrated GPUs encoder, not as good as NVENC but can still record about ~240FPS at most",
"QuickSync": "Intel's GPU encoder, worst out of the three, note this is H264, not the new fancy but slow AV1",
"x264": "Encoding using your CPU, slow but efficient, only use if necessary/you know what you're doing"
},
"default": "x264"
},
"OBS64Path": {
"description": "If you've got a portable install or something, pass in the main OBS binary's path here",
"type": "filepath"
},
"OBSProfile": {
"description": "Provide your own profile folder path",
"type": "folderpath"
}
}
},
"Remove-ContextMenu": {
"description": "Remove options you don't use from Windows' right click menu",
"tags": "Windows UI ADMIN",
"parameters": {
"Entries": {
"type": "enum[]",
"values": [
"PinToQuickAccess",
"RestorePreviousVersions",
"Print",
"GiveAccessTo",
"EditWithPaint3D",
"IncludeInLibrary",
"AddToWindowsMediaPlayerList",
"CastToDevice",
"EditWithPaint3D",
"EditWithPhotos",
"Share",
"TakeOwnerShip",
"7Zip",
"WinRAR",
"Notepad++",
"OpenWithOnBatchFiles",
"SendTo",
"DrivesInSendTo",
"VLC"
]
}
}
}
}
Loading

0 comments on commit b7d4332

Please sign in to comment.