Skip to content
/ lm Public

LM is a tool to open sounds that are imported from a csv file in youtube.

License

Notifications You must be signed in to change notification settings

re1yu/lm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LM

LM is a lightweight tool built on Deno and TypeScript designed to parse a structured .csv file to represent a list of sounds or music. With LM, you can easily choose & pick your favourite sounds/music by cli and pick a random one from the list with simple commands.

Showcase :-

(Note: Gif takes a little bit of time to load due high size.) lm-showcase

Installation

  1. Ensure you have Deno installed: Deno Installation Guide

  2. Clone the repo:

    git clone https://github.com/h-ec/lm
  3. Then run one of the commands below using your prefered package manager

Deno:

deno run build:cos

OR

deno compile -A --output ./build/lm.(Executable file format (default is .exe)) ./src/index.ts

Bun:

bun run build:cos

Npm:

npm run build:cos

Yarn:

yarn build:cos

Pnpm:

pnpm run build:cos

Usage

Command Line Interface (CLI)

Display the List of Sounds/Music

To display the list of sounds/music, use one of the following commands:

lm -l|l|list

Display the List Sorted from newest to oldest (If there's a Time field in csv) of Sounds/Music

To display the list of sounds/music sorted, use one of the following commands:

lm -sl|sl|slist

Pick a Random Sound/Music

To pick a random sound/music from the list, use one of the following commands:

lm -r|r|rand

CSV File Structure

LM expects a .csv file with the following structure:

Title,Artists
Example title,Maybe an artist

Ensure your .csv file adheres to this structure for LM to parse it correctly.

License

LM is licensed under the Apache License 2.0. See the LICENSE file for details.

Contributing

Contributions are welcome! Feel free to open issues or submit pull requests. Please ensure that any contributions adhere to our Code of Conduct .

Acknowledgements

LM is built with Deno and TypeScript, leveraging the power of these technologies to provide a lightweight and efficient tool.

Contact

For any inquiries or support, feel free to contact @h.ec (Discord)

Note: This project is still under development. Feedback and contributions are highly appreciated!