Skip to content

Commit

Permalink
initialize and start on utils work
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanCheshire committed Nov 2, 2023
1 parent b23ada7 commit 257e6e2
Show file tree
Hide file tree
Showing 98 changed files with 43 additions and 26,812 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/statistics.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ jobs:
- name: Commit and Push generated files
run: |
if [ -n "$(git status --porcelain)" ]; then
git config --local user.email "action@github.com"
git config --local user.name "github-actions"
git config --local user.email "nathan.vincent.2.718@gmail.com"
git config --local user.name "nathancheshire"
git add .
git commit -m "update statistics badges" -m "`date`"
git push -u origin main
Expand Down
103 changes: 1 addition & 102 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,102 +1 @@
<img src="https://user-images.githubusercontent.com/60986919/204333713-85b00112-bbd8-4ddb-9f7a-432e5da7888b.png" alt="Logo" width="150">

![](actions/output/tagline.png)

![](actions/output/author.png)

![](actions/output/stats.png)

![](actions/output/total.png)

## What is Cyder

Funny you should ask this question, I'm asked it quite a lot and usually fail to give a comprehensive and elegant
answer. The best I can do is something along the lines of "Cyder is a multi-purpose, desktop manager, GUI tool." It is
written using a custom Swing UI library which was built on top of lightweight Swing components. No modern GUI
dependencies such as [FlatLaf](https://github.com/JFormDesigner/FlatLaf), [MaterialFX](https://github.com/palexdev/MaterialFX)
or [FXML](https://openjfx.io/) were used, thus all Cyder components are closely related to [java/awt/Component.java](https://developer.classpath.org/doc/java/awt/Component-source.html).

Some examples of what you can do with Cyder include:

* Downloading Audio from a YouTube video, playlist, uuid, or link
* Image transforms, markup, and painting
* Evaluating mathematical expressions as simple as 2 * 2 or as complex as sin(e^pi*cos(64^cos(e^-1)))
* Visualizing algorithms such as A*, Graham Scan, Game of Life
* Converting audio files between formats such as wav and mp3
* Playing local audio files with the ability to "dreamify"
* Hashing inputs with a nice hashing widget using algorithms such as MD5, SHA1, and SHA256
* Reading, writing, and storing notes
* Demonstrating how Perlin noise works in both 2D and 3D with a visualizer
* Converting between temperature formats such as Kelvin, Fahrenheit, and Celsius
* Storing and running shortcuts
* Playing games such as hangman or nxn tic-tac-toe

## Screenshots

<details open>
<summary><b>Cyder Console</b></summary>
<img src="https://user-images.githubusercontent.com/60986919/213841875-18e68a3e-7fc0-4ad7-9154-a3fef54669be.png" alt="Liminal Cyder" width="800">
</details>

<details>
<summary><b>Audio Widget</b></summary>
<p>
<img src="https://user-images.githubusercontent.com/60986919/216855315-e26f36d6-4b27-4577-a644-9e8d00ea082d.png" alt="Audio Player" width="600">
</p>
<p>
<img src="https://user-images.githubusercontent.com/60986919/217138180-a9a54ded-800c-4765-8575-87df23af34aa.png" alt="Audio Player Search" width="600">
</p>
</details>

<details>
<summary><b>Weather Widget</b></summary>
<img src="https://user-images.githubusercontent.com/60986919/211179391-ea49b257-7923-4967-b8b0-ab77f39eb893.png" alt="Weather" width="600">
</details>

<details>
<summary><b>Paint Widget</b></summary>
<img src="https://user-images.githubusercontent.com/60986919/190871241-1ef14f0b-50d7-4cec-b484-7c6e1c9f9f43.png" alt="Paint widget" width="600">
<img src="https://user-images.githubusercontent.com/60986919/190871244-cd183604-3fbe-4f13-94c8-40ce6069f825.png" alt="Paint widget controls" width="600">
</details>

<details>
<summary><b>Pathfinding Visualizer</b></summary>
<p>
<img src="https://user-images.githubusercontent.com/60986919/216855146-37095dca-7c63-4871-b2c8-6bf5c63619ad.png" alt="Pathfinding Visualizer" width="600">
</p>
</details>

<details>
<summary><b>Game of Life Widget</b></summary>
<p>
<img src="https://user-images.githubusercontent.com/60986919/216854956-fdaee5be-6dec-4b1e-8a58-fe36a08439f6.png" alt="Conway's Game of Life" width="600">
</p>
</details>

<details>
<summary><b>Perlin Terrain Visualizer</b></summary>
<p>
<img src="https://user-images.githubusercontent.com/60986919/216802241-eb3ee195-1291-42b5-9e4e-dca4adf7735f.png" alt="Perlin widget" width="600">
</p>
</details>

## Usage and Setup

To get started with Cyder, first download your favorite Java IDE such as IntelliJ, NetBeans, Eclipse, etc. You'll then
want to make sure the IDE supports gradle operations. Next, clone Cyder
via `git clone https://github.com/NathanCheshire/Cyder.git --depth 1`. If you don't absolutely require the entire git
history, I highly recommend shallow cloning as the extensive git history is quit large. Now load the project in your IDE
and allow the gradle setup task to run and the IDE to synchronize. Now you'll be able to run Cyder by a runtime
configuration which invokes the main method inside of `Cyder.java`. Once started, Cyder should recognize there are no
users found and prompt for the creation of a user. Go ahead and create an account now.

For development purposes, you may want to add three props within a props file:

1. `autocypher` set to true.
2. `autocypher_name` set to your user's username.
3. `autocypher_password` set to your user's hashed password (hash your password once using SHA256).

These props should be annotated with the `@no_log` annotation to ensure their values do not appear in any log files.
Additionally, your the props file containing your password should be added to your .gitignore file to avoid VCS
tracking. Cyder double hashes passwords to help prevent rainbow table lookups. However, leaving your singly-hashed
SHA256 autocypher password exposed leaves you more prone to attacks.
# CyderUtils
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
55 changes: 0 additions & 55 deletions dynamic/users/b83a7183-83c0-3203-917e-f187ebcfc6a1/Userdata.json

This file was deleted.

22 changes: 0 additions & 22 deletions markdown/StartupArchitecture.md

This file was deleted.

166 changes: 0 additions & 166 deletions markdown/WidgetCreationGuide.md

This file was deleted.

1 change: 0 additions & 1 deletion markdown/diagrams/StartupArchitecture.drawio

This file was deleted.

Binary file removed markdown/images/StartupArchitecture.drawio.png
Binary file not shown.
Binary file removed resources/ffmpeg.zip
Binary file not shown.
Binary file removed resources/ffplay.zip
Binary file not shown.
Binary file removed resources/ffprobe.zip
Binary file not shown.
Binary file removed resources/youtube-dl.zip
Binary file not shown.
Loading

0 comments on commit 257e6e2

Please sign in to comment.