Skip to content

Commit d5864ba

Browse files
committed
ascii logo
1 parent a002869 commit d5864ba

File tree

5 files changed

+100
-0
lines changed

5 files changed

+100
-0
lines changed
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
2+
3+
###%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%###
4+
##%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%##
5+
##%%%%%%%%%%%%%%%%%%##%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%#%%%%%%%%%%%%%%%##
6+
#%%%%%%%%%%%%%%%%%%%*:-*#%%%%%%%%%%%%%##*+-::........:-=*##%%%%%%%%%%%%%##=.*%%%%%%%%%%%%%%%%#@
7+
@#%%%%%%%%%%%%%%%%%%%%+...:=*#%%%%%%#+-:....................:+#%%%%%%%#+-:..=%%%%%%%%%%%%%%%%%#@
8+
@#%%%%%%%%%%%%%%%%%%%%%#-.....:-*#%%%%#+-......:.:::::....-+#%%%%%*=:.....:*%%%%%%%%%%%%%%%%%%#@
9+
@#%%%%%%%%%%%%%%%%%%%%%%%#=:::::::.-*%%%%%*=:::::::::::-*%%%%%*-:::::::::+#%%%%%%%%%%%%%%%%%%%#@
10+
@#%%%%%%%%%%%%%%%%%%%%%%%%%%*=-::::::::=#@%%%+-::::::=#%%%#+-::::::::-+##%%%%%%%%%%%%%%%%%%%%%#@
11+
@#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%#+-:::::::+%%%#+:::-#%%%+-:::::::=*#%%%%%%%%%%%%%%%%%%%%%%%%%%#@
12+
@#%%%%%%%%%%%%%%%%%%%%%%%#==*%%@@@@%#+-:::::+%%%*-+%%%+:--::-=*%%%%%%%*==#%%%%%%%%%%%%%%%%%%%%#@
13+
@#%%%%%%%%%%%%%%%%%%%%%%#-::::+%@@@@@@%#+-----#%%%%%#=----=*%%%%%%%%*-::::*%%%%%%%%%%%%%%%%%%%#@
14+
@#%%%%%%%%%%%%%%%%%%%%%#=:::=%%@%+**#%@%%%+----*@%%#----=#%%%%#*++#@%%+-::-*%%%%%%%%%%%%%%%%%%#@
15+
@#%%%%%%%%%%%%%%%%%%%%%+---=%%%+-====*%%@%%%=---*@*----*%%%%#*=----=%%%+--:=#%%%%%%%%%%%%%%%%%#@
16+
@#%%%%%%%%%%%%%%%%%%%%#----#%%=-===+%#:.-#@%%+---=---+%%%#-..+%+----=%%#=---*%%%%%%%%%%%%%%%%%#@
17+
@#%%%%%%%%%%%%%%%%%%%%*----%%#-====#%%-.:#@%%%*=---=#%%%%%+..+@%+----#%%=---+%%%%%%%%%%%%%%%%%#@
18+
@#%%%%%%%%%%%%%%%%%%%%*----#%#=====#%%%@%%%%@%%%%%%%%%%#%%%@@%%%+====*%%=---+%%%%%%%%%%%%%%%%%#@
19+
@#%%%%%%%%%%%%%%%%%%%%#====*%%+====+*%%%%#**#%%%%%%%%%****#%%%#+====+%%#==--*%%%%%%%%%%%%%%%%%#@
20+
@#%%%%%%%%%%%%%%%%%%%%%*====#%%++++++++++***#%%+-:-+%%#***++++++++++#%%+====#%%%%%%%%%%%%%%%%%#@
21+
@#%%%%%%%%%%%%%%%%%%%%%#+====%%%#++++******#@%#::::.*%%#***+++++++*%%%+=+==#%%%%%%%%%%%%%%%%%%#@
22+
@#%%%%%%%%%%%%%%%%%%%%%%#++++=*@@%%##**##%%@@@%+:::-%%%@%%##***##%%%#=++++*%%%%%%%%%%%%%%%%%%%#@
23+
@#%%%%%%%%%%%%%%%%%%%%%%%%*++++=+%@@@@@@@@*=+@@%=:-%@@*=+%@@%@@@@@*=+++++#%%%%%%%%%%%%%%%%%%%%#@
24+
@#%%%%%%%%%%%%%%%%%%%%%%%%%#*++***+======++++*@@%+#@%*+++++=====++*++++*%%%%%%%%%%%%%%%%%%%%%%#@
25+
@#%%%%%%%%%%%%%%%%%%%%%%%#@%%%#*************#%@@@%%%%%#**++++++*+++**#%%%%#%%%%%%%%%%%%%%%%%%%#@
26+
@#%%%%%%%%%%%%%%%%%%%%%#%*:*@@@%%########%%%@@@@@@@%%@%%%%########%%%@%%=-%%%%%%%%%%%%%%%%%%%%#@
27+
@#%%%%%%%%%%%%%%%%%%%%+-%%=..-#%@@@@%%%%%%%%#****#***+*#%%@%%%%%%%%%%+:::#%+=%%%%%%%%%%%%%%%%%#@
28+
@#%%%%%%%%%%%%%%%%%%%%-:+%%-:::::-+#%@%%%%%%%@@@@@@@%%%%%%#%%%%#*=-:::::#%#::#%%%%%%%%%%%%%%%%#@
29+
@#%%%%%%%%%%%%%%%%%%%#:::#%%=:::::::::+%%%%%%%#########%%%%%*-:::::::::#%%-::+%%%%%%%%%%%%%%%%#@
30+
@#%%%%%%%%%%%%%%%%%%%*::::#%%=:::::::::::*%%%######%%#%%%#-:::::::::::#@%-:::=%%%%%%%%%%%%%%%%#@
31+
@#%%%%%%%%%%%%%%%%%%%*:::::*%@*:::::::::::-*@%%@@@@@@%%*-:::::::::::=%%#-::::=%%%%%%%%%%%%%%%%#@
32+
@#%%%%%%%%%%%%%%%%%%%*------+%%#=-------::::-#%%###%@#=------------*%%*------=%%%%%%%%%%%%%%%%#@
33+
@#%%%%%%%%%%%%%%%%%%@#-------=%%%*------------*%%%%%#------------=%%%=-------+%%%%%%%%%%%%%%%%#@
34+
@#%%%%%%%%%%%%%%%%%%@#=--------*%%%+----------=%%%%%=----------=#%%*=--------*%%%%%%%%%%%%%%%%#@
35+
@#%%%%%%%%%%%%%%%%%%%%+=======--=%@%%+=====----+@%@+---------=#%@#=---=======%%%%%%%%%%%%%%%%%#@
36+
@#%%%%%%%%%%%%%%%%%%%@#============%%%#+========%@#=========*%%%+===========*%%%%%%%%%%%%%%%%%#@
37+
@#%%%%%%%%%%%%%%%%%%%%@*==++========+%%%#+======*@#=======*%@%+============+%%%%%%%%%%%%%%%%%%#@
38+
@#%%%%%%%%%%%%%%%%%%%%@%*+++++++++====*%%%*+==+=*@#=====+%%%*=======+++++++%%%%%%%%%%%%%%%%%%%#@
39+
@#%%%%%%%%%%%%%%%%%%%%%@%*+++++++++++++=#@%#++++*@#++++#@%#=++++++++++++++#%%%%%%%%%%%%%%%%%%%#@
40+
@#%%%%%%%%%%%%%%%%%%%%%%@%*++++#%#*++++++*%%%*++*@#+++%%%*+++++++*#*++++*%%%%%%%%%%%%%%%%%%%%%#@
41+
@#%%%%%%%%%%%%%%%%%%%%%%%@@#****#%%%%#*+++*%%%#*#@%+*%%%*++++*#%%%#****#%%%%%%%%%%%%%%%%%%%%%%#@
42+
@#%%%%%%%%%%%%%%%%%%%%%%%%@@%#*****#%%%*****@%%##@%+%%%****#%%%#******%%%%%%%%%%%%%%%%%%%%%%%%#@
43+
@#%%%%%%%%%%%%%%%%%%%%%%%%%%@@%#######*******%%%%@%%%%#*****##*****#%@%%%%%%%%%%%%%%%%%%%%%%%%#@
44+
@#%%%%%%%%%%%%%%%%%%%%%%%%%%%%@@%#############%%%%%%%%*****#####*#%%%%%%%%%%%%%%%%%%%%%%%%%%%%#@
45+
@#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@@@%##########%%%%%%%##########%@%%%%%%%%%%%%%%%%%%%%%%%%%%%%%#@
46+
@#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@@%%%#####%%%%%%%######%%@%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%#@
47+
@#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@@@%%%#%%%%%%##%%%@%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%#@
48+
@#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%#@
49+
@#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%#@
50+
@#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%#@
51+
@##%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%##@
52+
@##%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%##@
53+
@%##%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%##%@
54+
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
55+
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
534 KB
Loading
37.9 KB
Loading

src/cli/asciiLogo.js

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
// src/cli/asciiLogo.js
2+
import chalk from 'chalk';
3+
4+
export function displayLogo() {
5+
// Using template literals for better readability
6+
const logo = `
7+
###%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%###
8+
##%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%##
9+
##%%%%%%%%%%%%%%%%%%##%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%#%%%%%%%%%%%%%%%##
10+
#%%%%%%%%%%%%%%%%%%%*:-*#%%%%%%%%%%%%%##*+-::........:-=*##%%%%%%%%%%%%%##=.*%%%%%%%%%%%%%%%%#
11+
@#%%%%%%%%%%%%%%%%%%%%+...:=*#%%%%%%#+-:....................:+#%%%%%%%#+-:..=%%%%%%%%%%%%%%%%%#@
12+
@#%%%%%%%%%%%%%%%%%%%%%#-.....:-*#%%%%#+-......:.:::::....-+#%%%%%*=:.....:*%%%%%%%%%%%%%%%%%%#@
13+
@#%%%%%%%%%%%%%%%%%%%%%%%#=:::::::.-*%%%%%*=:::::::::::-*%%%%%*-:::::::::+#%%%%%%%%%%%%%%%%%%%#@
14+
@#%%%%%%%%%%%%%%%%%%%%%%%%%%*=-::::::::=#@%%%+-::::::=#%%%#+-::::::::-+##%%%%%%%%%%%%%%%%%%%%%#@
15+
@#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%#+-:::::::+%%%#+:::-#%%%+-:::::::=*#%%%%%%%%%%%%%%%%%%%%%%%%%%#@
16+
@#%%%%%%%%%%%%%%%%%%%%%%%#==*%%@@@@%#+-:::::+%%%*-+%%%+:--::-=*%%%%%%%*==#%%%%%%%%%%%%%%%%%%%%#@
17+
@#%%%%%%%%%%%%%%%%%%%%%%#-::::+%@@@@@@%#+-----#%%%%%#=----=*%%%%%%%%*-::::*%%%%%%%%%%%%%%%%%%%#@
18+
@#%%%%%%%%%%%%%%%%%%%%%#=:::=%%@%+**#%@%%%+----*@%%#----=#%%%%#*++#@%%+-::-*%%%%%%%%%%%%%%%%%%#@
19+
@#%%%%%%%%%%%%%%%%%%%%%+---=%%%+-====*%%@%%%=---*@*----*%%%%#*=----=%%%+--:=#%%%%%%%%%%%%%%%%%#@
20+
@#%%%%%%%%%%%%%%%%%%%%#----#%%=-===+%#:.-#@%%+---=---+%%%#-..+%+----=%%#=---*%%%%%%%%%%%%%%%%%#@
21+
@#%%%%%%%%%%%%%%%%%%%%*----%%#-====#%%-.:#@%%%*=---=#%%%%%+..+@%+----#%%=---+%%%%%%%%%%%%%%%%%#@
22+
@#%%%%%%%%%%%%%%%%%%%%*----#%#=====#%%%@%%%%@%%%%%%%%%%#%%%@@%%%+====*%%=---+%%%%%%%%%%%%%%%%%#@
23+
MongoDB RAG - Vector Search Magic
24+
@#%%%%%%%%%%%%%%%%%%%%#====*%%+====+*%%%%#**#%%%%%%%%%****#%%%#+====+%%#==--*%%%%%%%%%%%%%%%%%#@
25+
@#%%%%%%%%%%%%%%%%%%%%%*====#%%++++++++++***#%%+-:-+%%#***++++++++++#%%+====#%%%%%%%%%%%%%%%%%#@
26+
@#%%%%%%%%%%%%%%%%%%%%%#+====%%%#++++******#@%#::::.*%%#***+++++++*%%%+=+==#%%%%%%%%%%%%%%%%%%#@
27+
@#%%%%%%%%%%%%%%%%%%%%%%#++++=*@@%%##**##%%@@@%+:::-%%%@%%##***##%%%#=++++*%%%%%%%%%%%%%%%%%%%#@
28+
@#%%%%%%%%%%%%%%%%%%%%%%%%*++++=+%@@@@@@@@*=+@@%=:-%@@*=+%@@%@@@@@*=+++++#%%%%%%%%%%%%%%%%%%%%#@
29+
@#%%%%%%%%%%%%%%%%%%%%%%%%%#*++***+======++++*@@%+#@%*+++++=====++*++++*%%%%%%%%%%%%%%%%%%%%%%#@
30+
@#%%%%%%%%%%%%%%%%%%%%%%%#@%%%#*************#%@@@%%%%%#**++++++*+++**#%%%%#%%%%%%%%%%%%%%%%%%%#@
31+
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
32+
`;
33+
34+
// Create a banner with the version number
35+
const version = process.env.npm_package_version || '0.15.0';
36+
const banner = `
37+
${chalk.blue(logo)}
38+
${chalk.yellow('🚀 MongoDB RAG CLI')} ${chalk.green(`v${version}`)}
39+
${chalk.cyan('Transform your data into intelligent insights with vector search\n')}`;
40+
41+
console.log(banner);
42+
}

src/cli/createRagApp.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,12 @@ import fs from 'fs';
33
import path from 'path';
44
import { execSync } from 'child_process';
55
import chalk from 'chalk';
6+
import { displayLogo } from './asciiLogo.js';
67

78
export function createRagApp(projectName) {
89
const projectPath = path.resolve(process.cwd(), projectName);
10+
displayLogo();
11+
912

1013
if (fs.existsSync(projectPath)) {
1114
console.error(chalk.red(`Error: Directory "${projectName}" already exists.`));

0 commit comments

Comments
 (0)