Skip to content

Commit ab57d00

Browse files
authored
Merge pull request #32 from eried/next
Update repo
2 parents 286cba6 + 5a28b4e commit ab57d00

File tree

2 files changed

+109
-10
lines changed

2 files changed

+109
-10
lines changed

.github/workflows/release-faps.yml

+97
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,97 @@
1+
name: "faps-build-and-lint"
2+
on: [push, pull_request]
3+
jobs:
4+
ufbt-build-action:
5+
runs-on: ubuntu-latest
6+
if: startsWith(github.ref, 'refs/tags/')
7+
name: 'ufbt: Build'
8+
steps:
9+
- name: Checkout
10+
uses: actions/checkout@v4
11+
# below code was generated by copilot https://gist.github.com/eried/87c34bc6da020c1aa4db3316a94c25f4
12+
# build esp32cam_camera
13+
- name: Build with ufbt esp32cam_camera
14+
uses: flipperdevices/flipperzero-ufbt-action@v0.1.3
15+
id: build-app-esp32cam_camera
16+
with:
17+
sdk-channel: release
18+
app-dir: ./flipper_companion_apps/applications/external/esp32cam_camera/
19+
- name: Upload app artifacts esp32cam_camera
20+
uses: actions/upload-artifact@v3
21+
with:
22+
name: ${{ github.event.repository.name }}-${{ steps.build-app-esp32cam_camera.outputs.suffix }}
23+
path: ${{ steps.build-app-esp32cam_camera.outputs.fap-artifacts }}
24+
# build esp32cam_marauder_companion
25+
- name: Build with ufbt esp32cam_marauder_companion
26+
uses: flipperdevices/flipperzero-ufbt-action@v0.1.3
27+
id: build-app-esp32cam_marauder_companion
28+
with:
29+
sdk-channel: release
30+
app-dir: ./flipper_companion_apps/applications/external/esp32cam_marauder_companion/
31+
- name: Upload app artifacts esp32cam_marauder_companion
32+
uses: actions/upload-artifact@v3
33+
with:
34+
name: ${{ github.event.repository.name }}-${{ steps.build-app-esp32cam_marauder_companion.outputs.suffix }}
35+
path: ${{ steps.build-app-esp32cam_marauder_companion.outputs.fap-artifacts }}
36+
# build esp32cam_morseflasher
37+
- name: Build with ufbt esp32cam_morseflasher
38+
uses: flipperdevices/flipperzero-ufbt-action@v0.1.3
39+
id: build-app-esp32cam_morseflasher
40+
with:
41+
sdk-channel: release
42+
app-dir: ./flipper_companion_apps/applications/external/esp32cam_morseflasher/
43+
- name: Upload app artifacts esp32cam_morseflasher
44+
uses: actions/upload-artifact@v3
45+
with:
46+
name: ${{ github.event.repository.name }}-${{ steps.build-app-esp32cam_morseflasher.outputs.suffix }}
47+
path: ${{ steps.build-app-esp32cam_morseflasher.outputs.fap-artifacts }}
48+
# build esp32cam_motion_detection
49+
- name: Build with ufbt esp32cam_motion_detection
50+
uses: flipperdevices/flipperzero-ufbt-action@v0.1.3
51+
id: build-app-esp32cam_motion_detection
52+
with:
53+
sdk-channel: release
54+
app-dir: ./flipper_companion_apps/applications/external/esp32cam_motion_detection/
55+
- name: Upload app artifacts esp32cam_motion_detection
56+
uses: actions/upload-artifact@v3
57+
with:
58+
name: ${{ github.event.repository.name }}-${{ steps.build-app-esp32cam_motion_detection.outputs.suffix }}
59+
path: ${{ steps.build-app-esp32cam_motion_detection.outputs.fap-artifacts }}
60+
# build esp32cam_nannycam
61+
- name: Build with ufbt esp32cam_nannycam
62+
uses: flipperdevices/flipperzero-ufbt-action@v0.1.3
63+
id: build-app-esp32cam_nannycam
64+
with:
65+
sdk-channel: release
66+
app-dir: ./flipper_companion_apps/applications/external/esp32cam_nannycam/
67+
- name: Upload app artifacts esp32cam_nannycam
68+
uses: actions/upload-artifact@v3
69+
with:
70+
name: ${{ github.event.repository.name }}-${{ steps.build-app-esp32cam_nannycam.outputs.suffix }}
71+
path: ${{ steps.build-app-esp32cam_nannycam.outputs.fap-artifacts }}
72+
73+
# build esp32cam_qrcode
74+
- name: Build with ufbt esp32cam_qrcode
75+
uses: flipperdevices/flipperzero-ufbt-action@v0.1.3
76+
id: build-app-esp32cam_qrcode
77+
with:
78+
sdk-channel: release
79+
app-dir: ./flipper_companion_apps/applications/external/esp32cam_qrcode/
80+
- name: Upload app artifacts esp32cam_qrcode
81+
uses: actions/upload-artifact@v3
82+
with:
83+
name: ${{ github.event.repository.name }}-${{ steps.build-app-esp32cam_qrcode.outputs.suffix }}
84+
path: ${{ steps.build-app-esp32cam_qrcode.outputs.fap-artifacts }}
85+
# release
86+
- name: Release
87+
uses: softprops/action-gh-release@v1
88+
with:
89+
generate_release_notes: true
90+
prerelease: true
91+
files: |
92+
${{ steps.build-app-esp32cam_camera.outputs.fap-artifacts }}
93+
${{ steps.build-app-esp32cam_marauder_companion.outputs.fap-artifacts }}
94+
${{ steps.build-app-esp32cam_morseflasher.outputs.fap-artifacts }}
95+
${{ steps.build-app-esp32cam_motion_detection.outputs.fap-artifacts }}
96+
${{ steps.build-app-esp32cam_nannycam.outputs.fap-artifacts }}
97+
${{ steps.build-app-esp32cam_qrcode.outputs.fap-artifacts }}

docs/webinstaller/index.html

+12-10
Original file line numberDiff line numberDiff line change
@@ -35,18 +35,20 @@ <h1>Mayhem for Flipper Zero -installer</h1>
3535

3636
<div class="container">
3737

38-
<div class="left-div">If you have <a href="https://flipper-xtre.me/update/" target="_blank">Xtreme firmware</a> on your Flipper Zero, then the apps are already on <i>Apps/GPIO</i>. You can also manually install them, one by one, using the links below:
38+
<div class="left-div"><p>If you have <a href="https://flipper-xtre.me/update/" target="_blank">Xtreme firmware</a> on your Flipper Zero, then the apps are already on <i>Apps/GPIO</i>. Go to <a href="https://github.com/eried/flipperzero-mayhem/releases/latest"><img src="https://img.shields.io/github/v/release/eried/flipperzero-mayhem?label=Releases&style=social" /></a> to get precompiled <i>.fap</i> files, or compile your own following <a href=https://github.com/eried/flipperzero-mayhem/wiki/Compilation-of-the-faps>this</a>.</p>
3939

40-
<ul>
41-
<li><a href="https://flipc.org/eried/flipperzero-mayhem?root=flipper_companion_apps/applications/external/esp32cam_marauder_companion&amp;firmware=unleashed" target="_blank">Marauder v0.6.4</a> (for <i>evil portal</i>, you need <i>ap.config.txt</i> and <i>index.html</i> on your ESP32CAM sd, check <a target="_blank" href=https://github.com/justcallmekoko/ESP32Marauder/wiki/evilportal>here</a>)</li>
42-
<li><a href="https://flipc.org/eried/flipperzero-mayhem?root=flipper_companion_apps/applications/external/esp32cam_camera&amp;firmware=unleashed" target="_blank">Camera v1.0.0</a></li>
43-
<li><a href="https://flipc.org/eried/flipperzero-mayhem?root=flipper_companion_apps/applications/external/esp32cam_morseflasher&amp;firmware=unleashed" target="_blank">MorseFlasher v0.1</a> (decoder app: <a target="_blank" href=https://m.apkpure.com/morse-code-agent-standard/com.erdatsai.morsecodeagent>apk</a>/<a target="_blank" href=https://play.google.com/store/apps/details?id=com.erdatsai.morsecodeagentpro>pro</a>)</li>
44-
<li><a href="https://flipc.org/eried/flipperzero-mayhem?root=flipper_companion_apps/applications/external/esp32cam_nannycam&amp;firmware=unleashed" target="_blank">NannyCam v0.1</a></li>
45-
<li><a href="https://flipc.org/eried/flipperzero-mayhem?root=flipper_companion_apps/applications/external/esp32cam_motion_detection&amp;firmware=unleashed" target="_blank">Motion v0.1</a></li>
46-
<li><a href="https://flipc.org/eried/flipperzero-mayhem?root=flipper_companion_apps/applications/external/esp32cam_qrcode&amp;firmware=unleashed" target="_blank">QRcode v0.1</a></li>
47-
</ul>
40+
<!--
41+
<ul>
42+
<li><a href="https://flipc.org/eried/flipperzero-mayhem?root=flipper_companion_apps/applications/external/esp32cam_marauder_companion&amp;firmware=unleashed" target="_blank">Marauder v0.6.4</a> (for <i>evil portal</i>, you need <i>ap.config.txt</i> and <i>index.html</i> on your ESP32CAM sd, check <a target="_blank" href=https://github.com/justcallmekoko/ESP32Marauder/wiki/evilportal>here</a>)</li>
43+
<li><a href="https://flipc.org/eried/flipperzero-mayhem?root=flipper_companion_apps/applications/external/esp32cam_camera&amp;firmware=unleashed" target="_blank">Camera v1.0.0</a></li>
44+
<li><a href="https://flipc.org/eried/flipperzero-mayhem?root=flipper_companion_apps/applications/external/esp32cam_morseflasher&amp;firmware=unleashed" target="_blank">MorseFlasher v0.1</a> (decoder app: <a target="_blank" href=https://m.apkpure.com/morse-code-agent-standard/com.erdatsai.morsecodeagent>apk</a>/<a target="_blank" href=https://play.google.com/store/apps/details?id=com.erdatsai.morsecodeagentpro>pro</a>)</li>
45+
<li><a href="https://flipc.org/eried/flipperzero-mayhem?root=flipper_companion_apps/applications/external/esp32cam_nannycam&amp;firmware=unleashed" target="_blank">NannyCam v0.1</a></li>
46+
<li><a href="https://flipc.org/eried/flipperzero-mayhem?root=flipper_companion_apps/applications/external/esp32cam_motion_detection&amp;firmware=unleashed" target="_blank">Motion v0.1</a></li>
47+
<li><a href="https://flipc.org/eried/flipperzero-mayhem?root=flipper_companion_apps/applications/external/esp32cam_qrcode&amp;firmware=unleashed" target="_blank">QRcode v0.1</a></li>
48+
</ul>
49+
-->
4850

49-
Next, jumper pin <strong>IO0</strong> to <strong>GND</strong> and press and release reset on the ESP32CAM. Upload the firmware pressing Install button below. For more details on the apps check <a href="https://www.youtube.com/watch?v=F9Zp6oM2KYs">this</a> video, or take a look of the <a href="https://github.com/eried/flipperzero-mayhem/wiki">documentation</a>.<br><br><strong>Note 1:</strong> If you are using your Flipper to upload the firmware, remember to go to GPIO/USB-UART Bridge. After the upload, reset the ESP32 (or unplug/replug the module).<br><br><strong>Note 2:</strong> If you do not see the Install button below, your browser might not support this functionality.<br><br><strong>Note 3:</strong> <a href="https://github.com/eried/flipperzero-mayhem/wiki/Known-issues#mode-switch">Unplug</a> the USB-C cable to test the apps.<br><br>
51+
To prepare the board for uploading, jumper pin <strong>IO0</strong> to <strong>GND</strong> and press and release reset on the ESP32CAM. Upload the firmware pressing Install button below. For more details on the apps check <a href="https://www.youtube.com/watch?v=F9Zp6oM2KYs">this</a> video, or take a look of the <a href="https://github.com/eried/flipperzero-mayhem/wiki">documentation</a>.<br><br><strong>Note 1:</strong> If you are using your Flipper to upload the firmware, remember to go to GPIO/USB-UART Bridge. After the upload, reset the ESP32 (or unplug/replug the module).<br><br><strong>Note 2:</strong> If you do not see the Install button below, your browser might not support this functionality.<br><br><strong>Note 3:</strong> <a href="https://github.com/eried/flipperzero-mayhem/wiki/Known-issues#mode-switch">Unplug</a> the USB-C cable to test the apps.<br><br>
5052
<esp-web-install-button manifest="build/manifest.json"></esp-web-install-button>
5153
<p>Enjoy!</p></div>
5254

0 commit comments

Comments
 (0)