Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Mar 14, 2024. It is now read-only.

Commit c6d1836

Browse files
committed
feat: v1 🥳
1 parent d3c90d8 commit c6d1836

File tree

5 files changed

+56
-5
lines changed

5 files changed

+56
-5
lines changed

‎lib/snaps/logo.png‎

10.8 KB
Loading[フレーム]

‎lib/vids/demo.mp4‎

2.64 MB
Binary file not shown.

‎mod.ts‎

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ async function printFlag({
6767
let print = "";
6868
for (const char of line) {
6969
if (!OUTSIDE_CHARS.includes(char)) {
70-
if ("CONSLEDIT".includes(char)) {
70+
if ("CONSLEDIT🎄".includes(char)) {
7171
print += colors.bgRgb24(
7272
colors.rgb24(colors.bold(char), 0xFFED00), 0x24408E);
7373
} else print += colors.rgb24(colors.bold('█'), 0xFFED00);
@@ -122,9 +122,7 @@ async function chooseFlavor(lang: string = "en"): Promise<void> {
122122
* */
123123
async function chooseLang(lang = "en"): Promise<void> {
124124
CONFIG.language = await Select.prompt({
125-
message: lang === "español"
126-
? "Elige el lenguaje para la CLI:"
127-
: "Choose the language for the CLI:",
125+
message: "Elige el idioma / Choose the language:",
128126
options: ["español", "english"],
129127
default: lang === "es" ? "español" : "english",
130128
}) === "español" ? "es" : "en";

‎readme.md‎

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
![alt text](./lib/snaps/logo.png)
2+
3+
<div align="center">
4+
5+
<span>
6+
🎄 Bring the Advent JS joy to your console! 🎄
7+
</span>
8+
9+
<br>
10+
11+
![deno](https://img.shields.io/badge/deno-^1.41.0-green?logo=deno)
12+
![typescript](https://img.shields.io/badge/typescript-lightyellow?logo=typescript)
13+
![javascript](https://img.shields.io/badge/javascript-blue?logo=javascript)
14+
![v0.0.1](https://img.shields.io/badge/version-0.0.1-blue.svg)
15+
16+
</div>
17+
18+
19+
> [!WARNING] Don't star this repo
20+
> This is a personal project to learn about Deno packages,
21+
> Console Apps and have fun coding with a project that I
22+
> enjoyed solving in the past.
23+
> If you like this project, please consider visiting the
24+
> original website https://adventjs.dev/ and consider
25+
> following [@midudev](https://midu.dev/) on his social media which is
26+
> the creator of the original project.
27+
28+
<div align="center">
29+
30+
<a href="https://midu.dev/" rel="noopener" target="_blank">
31+
<img src="https://midu.dev/logo.png" width="200">
32+
</a>
33+
34+
[![MiduLive](https://img.shields.io/badge/MiduLive-red?logo=youtube)](https://www.youtube.com/@midulive)
35+
[![MiduDev](https://img.shields.io/badge/midudev-blue?logo=twitter)](https://twitter.com/midudev)
36+
[![MiduDev](https://img.shields.io/badge/midu.dev-lightblue?logo=instagram)](https://instagram.com/midu.dev)
37+
[![MiduDev](https://img.shields.io/badge/midudev-grey?logo=github)](https://github.com/midudev)
38+
[![MiduDev](https://img.shields.io/badge/midudev-pink?logo=twitch)](https://twitch.tv/midudev)
39+
40+
</div>
41+
42+
This console version is designed to test your solutions locally before submitting them to the platform.
43+
Your code will be tested against the public test cases and in some cases against some random test cases.
44+
You can use wheter JavaScript or TypeScript to solve the problems.
45+
This description will be shown once the CLI is executed for the first time, after that, you
46+
can choose the option to create a config file for the CLI with this option disabled by default.
47+
48+
This CLI will help you to:
49+
- Create a new problem solution template to fast start
50+
- Read the problems descriptions
51+
- Test your solutions
52+
- Focus on solving the problem in a local environment before submitting it to the platform
53+
- Avoid code overhead by setting up a repository to share your solutions

‎src/logos.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export const ADVENT_JS_LOGO =
1717
@*==+==%@@@@%=====*@@@@*=======+====@@@@@#+=====*@@@@@@@@%==+==+==*+@@@@=====*@@@%=+==+=@@@@*=======+@@@#---------------=--=---=---------------------#@
1818
@%#%@#%@@@@@@%%%%#%@@@@@%@%%%%#%%%%%@@@@@@@%%%%%@@@@@@@@@@%%%%%@#%@@@@@@%#%%%%@@@@%@%%%%@@@@@%%%#%%#%@@@%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@@
1919
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
20-
@@@@CONSOLE@EDITION@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
20+
@@🎄@CONSOLE@EDITION@🎄@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
2121
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
2222
`
2323

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /