It's like dotfiles, but no, it's just Lua scripts I find useful.
Go to file
2024-01-13 21:18:24 -07:00
ollama-modelfiles getting ready to test custom model 2024-01-13 21:17:05 -07:00
2webm.lua fixed help text in 2webm, video-dl 2024-01-13 18:13:57 -07:00
llm.lua querying a model to get output shouldn't use a wordwrap 2024-01-13 21:18:24 -07:00
print-arguments.lua ready for setup, test script 2024-01-13 01:35:29 -07:00
README.md lua_file_size imported as storage-statistics.lua 2024-01-13 19:52:12 -07:00
reformat.lua note on line count 2024-01-13 21:17:19 -07:00
storage-statistics.lua lua_file_size imported as storage-statistics.lua 2024-01-13 19:52:12 -07:00
test.lua fixed a typo and stuff aaa; 2webm confirmed working 2024-01-13 18:04:55 -07:00
utility-functions.lua almost functioning llm query 2024-01-13 19:40:46 -07:00
video-dl.lua almost functioning llm query 2024-01-13 19:40:46 -07:00

.lua-files

It's like dotfiles, but no, it's just Lua scripts I find useful.

Scripts

  • 2webm.lua: Converts everything in the working directory to .webm files.
  • llm.lua: (Windows only!) A very WIP script for working with LLMs through WSL using ollama.
  • print-arguments.lua: For testing how a Lua script receives arguments, because this can be platform-specific.
  • storage-statistics.lua: Prints a variety of statistics about the files within the current directory. Requires LFS.
  • test.lua: (Dev Test) Used repeatedly while working on these scripts to verify minor details I'm forgetful about.
  • utility-functions.lua: (Library) Required for many of these scripts to run.
  • video-dl.lua: A few premade command lines for using yt-dlp to download what I want quicker.

Installation

  1. Put this folder somewhere.
  2. Add that somewhere to your path. (On Windows, search for Environment Variables (it's "part of" Control Panel) and use the UI to add them to System variables.)
  3. (On Windows) Add .LUA to PATHEXT.