Skip to content

Commit

Permalink
Merge pull request #3661 from KBVE/dev
Browse files Browse the repository at this point in the history
Preparing Alpha Branch
  • Loading branch information
h0lybyte authored Jan 6, 2025
2 parents 80101b2 + 5c1c53b commit aef0673
Show file tree
Hide file tree
Showing 30 changed files with 1,360 additions and 251 deletions.
10 changes: 5 additions & 5 deletions apps/kbve.com/src/content/docs/project/api.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ tags:
- api
---


import {
Aside,
Steps,
Expand All @@ -21,7 +20,6 @@ import {
FileTree,
} from '@astrojs/starlight/components';


## Information

We will provide official documentation for the API, which will be based on the frameworks Supabase, Strapi, and Appwrite.
Expand All @@ -40,8 +38,8 @@ This approach will ensure that developers can efficiently understand and utilize

- Auth Journal
- For the core of the API, we will use JWT as the `key` in between the $User and $API.

- React JSX

- The first mod will be the core auth system between the client $User and server $API, which includes the register and login. While we build it out, we will include generic defensive components into the foundation, then re-visit and apply external security, such as limits and firewalls (some may operate outside of the API).
- Cookie Storage (of the JWT)
- Cookie - `token` - will store the client $User JWT.
Expand Down Expand Up @@ -132,11 +130,13 @@ The current uptime badge is handled by ChecklyHQ, however we could build out our
This would be an interesting test case for the NodePy, having it automatically do test cases every hour.
I will make an issue ticket when I feel like it would be time to set this up.



**Goals**

In the vast cosmos of software, APIs are the Jedi Masters, bridging the divide between different software galaxies.
Like the Force in Star Wars, they bind and intertwine disparate systems, ensuring harmony in the digital universe.
By sculpting robust and intuitive APIs, we're not just coding; we're forging lightsabers for the next generation of developers, ensuring the saga continues seamlessly.
The API is an unique construct that extends outside of the normal universe, the net that holds the sky.

## Discord.sh

Starting this project next, leaving a basic note.
32 changes: 31 additions & 1 deletion apps/kbve.com/src/content/journal/01-02.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,37 @@ import { Adsense } from '@kbve/astropad';

SoksoaCode is joining the repo!! :DSSDSF

### 2024
## 2025

- 09:55AM

**Market**
The drop in $TSLA was just perfect for the start of the day.
I still need offload a couple hundred shares of TSLA but thank god it was not during that $400 put spread.

- 11:05AM

**MultiBranch**

For this year, I am going to start working in the multi-branch part of the mono-repo, getting better at utilizing the split branches, without having to use cherrypick.
Branch branch branch! Its like Oprah and her car giveaway.

- 03:04PM

**Fudster**

Not the library, but the laptop was shipped out and hopefully he gets it tomorrow.
I believe its through air, which is a bit of a wild way to ship someone a laptop xD.

- 06:27PM

**Hardcore**

Finally getting the balls to play the hardcore mode, this time with the goal of hitting 60, at least once.
I believe I will fail, so I will try to have a couple characters to help burden the blow and not have to start all over.
Leveling them in bulk might take a bit more time but I feel like its a good move.

## 2024

- 12:32pm - Building the js-embeds for the Monorepo!
The first step would be to plan the bundling software for the embedable widgets, which might be done through React or Svelte.
Expand Down
26 changes: 25 additions & 1 deletion apps/kbve.com/src/content/journal/01-03.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,31 @@ import { Adsense } from '@kbve/astropad';

## Notes

### 2024
## 2025

- 12:30PM

**Hardcore**

I did not get a chance to write the story of yesterday or well this mornings hardcore event, it was way too wild.
Next round, I am going to keep it a bit more chill and slow, moving too fast is part of the problem.
Treat it more like a RTS than a MMO, is the best way that I can describe the hardcore flow!

- 03:34PM

**EoY**

The End of the Year reports as well as Q4s are going to be rough if the trade deals move forward.
Hmm, I can get furthere down into the notes for that on a different page, but once the tariffs kicks.

- 04:24PM

**Python**

Updating the python package for nx, to `20.3.1` via `pnpm add @nxlv/[email protected]`.
This upgrade could break somethings, but just want to make sure it all works.

## 2024

- 6:05am - Getting ready for work and double checking my accounts for 2024!
I need to adjust my morning gym routine, I might have to get up earlier.
Expand Down
24 changes: 23 additions & 1 deletion apps/kbve.com/src/content/journal/01-04.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,29 @@ tags:

## Notes

### 2024
## 2025

- 02:40PM

**HardCore**

Got to the barrens today but its been rough, I am alone in the wasteland!
I hope that the fellow guildmates reach the course of the level.

- 06:10PM

**Abilities**

Healing! A core of the gameplay is what we need to build now!
The issue ticket that we are currently handling is [3651](https://github.com/KBVE/kbve/issues/3651).

- 08:05PM

**Twitch**

While working through the AOE spells, I thought it be cool to work on the twitch stream!

## 2024

- 11:00am - Going to aim at getting out of work earlier than before but I have some issues to prepare for, including being assigned to AAPL at $190.
I will have to prepare around $38K to offset the 200 shares of AAPL from the two puts.
Expand Down
12 changes: 11 additions & 1 deletion apps/kbve.com/src/content/journal/01-05.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,17 @@ tags:

## Notes

### 2024
## 2025

- 08:31PM

**Tesla**

About to grab some food and swing back around for the python application as v1.
Then we do a rust application for v2.
Ugh, taco bell adventures...

# 2024

- 11:31am - Had to drop my tesla off for some minor repairs before the winter gets worse.

Expand Down
22 changes: 21 additions & 1 deletion apps/kbve.com/src/content/journal/01-06.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,27 @@ tags:

## Notes

### 2024
## 2025

- 01:22AM

**Stream**

Finally got OBS to work among multiple machines, had to downgrade to v30.2 because v31 certs were not approved for League.

- 05:44AM

**Dockerfile**

OKay let me get the dockerfile rolling for the `pydiscordsh`.
Well before we do the docker, we need to add `https://pypi.org/project/fastapi/`, so lets do that next.
The command would be:

```shell
pnpm nx run pydiscordsh:add --name fastapi
```

## 2024

- 3:54pm - Working on the JS Embed Passport with Soksoa!
We removed the dangerously set HTML component.
Expand Down
11 changes: 11 additions & 0 deletions apps/pydiscordsh/.flake8
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[flake8]
exclude =
.git,
__pycache__,
build,
dist,
.tox,
venv,
.venv,
.pytest_cache
max-line-length = 120
1 change: 1 addition & 0 deletions apps/pydiscordsh/.python-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.9.5
37 changes: 37 additions & 0 deletions apps/pydiscordsh/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# Base image with Python and Poetry pre-installed
FROM python:3.11-slim

# Set environment variables for Poetry and Python
ENV PYTHONUNBUFFERED=1 \
PIP_NO_CACHE_DIR=1 \
POETRY_VERSION=1.8.2 \
POETRY_HOME="/opt/poetry" \
POETRY_VIRTUALENVS_IN_PROJECT=true \
POETRY_NO_INTERACTION=1

# Install system dependencies and Poetry
RUN apt-get update && apt-get install -y --no-install-recommends \
curl \
git \
&& curl -sSL https://install.python-poetry.org | python3 - \
&& ln -s /opt/poetry/bin/poetry /usr/local/bin/poetry \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*

# Set working directory
WORKDIR /app

# Copy only the relevant files for dependency installation first
COPY pyproject.toml poetry.lock ./

# Install dependencies with Poetry (including project dependencies)
RUN poetry install --no-root --only main

# Copy the rest of the app code
COPY . .

# Install the project itself (if it's structured as a package)
RUN poetry install --no-dev

# Set the default command to run the application
CMD ["poetry", "run", "python", "-m", "pydiscordsh"]
3 changes: 3 additions & 0 deletions apps/pydiscordsh/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# pydiscordsh

Project description here.
Empty file added apps/pydiscordsh/main.py
Empty file.
Loading

0 comments on commit aef0673

Please sign in to comment.