Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
AmeliaCute committed Jan 2, 2024
2 parents 0f34276 + 823e389 commit 9d03654
Show file tree
Hide file tree
Showing 2 changed files with 69 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/c-cpp.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: C/C++ CI

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Install SDL2
run: sudo apt-get install -y libsdl2-dev
- name: make
run: make
50 changes: 50 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
# Fembng

Fembng is a project that allows you to generate and view images with a rainbow gradient effect (for now because i'm to lazy)

## Installation

Follow these steps to install and run the Fembng project:

### Prerequisites

- Make sure you have `gcc` and `sdl2` installed.

### Clone the Repository

```bash
git clone https://github.com/MignonPetitXelow/Fembng.git ; cd Fembng
```

### Build the Project

```bash
make
```
### Run Fembng

To generate an image:
```bash
./bin/fembng -w <width> -h <height> -o <output_file>
```

Example:
```bash
./bin/fembng -w 800 -h 600 -o output
```

### Run Fembng Viewer

To view a generated image:
```bash
./bin/fembngapp <image_file>
```

Example:
```bash
./bin/fembngapp output.femboy
```

### Contributing

Feel free to contribute to the project by opening issues or creating pull requests.

0 comments on commit 9d03654

Please sign in to comment.