Skip to content

Commit

Permalink
refactor: Renamed files from Friend to omi (#1955)
Browse files Browse the repository at this point in the history
This PR is only limited to changing the file name from Friend to omi.
Changing the device name from Friend to omi can be dealt in different PR
due to its changelist and need of more extensive testing.
  • Loading branch information
beastoin authored Mar 11, 2025
2 parents 591226a + 32d71e1 commit fd68713
Show file tree
Hide file tree
Showing 363 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ transcriptions of meetings, chats, and voice memos wherever you are.

## In this repo:

- [omi device](https://github.com/BasedHardware/omi/tree/main/Friend)
- [omi device](https://github.com/BasedHardware/omi/tree/main/omi)
- [mobile app](https://github.com/BasedHardware/omi/tree/main/app)
- [ai personas (web)](https://github.com/BasedHardware/omi/tree/main/personas-open-source)

Expand Down
2 changes: 1 addition & 1 deletion app/lib/utils/audio/wav_bytes.dart
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ class WavBytesUtil {

Uint8List getUInt8ListBytes(List<int> audioBytes, int sampleRate) {
// https://discord.com/channels/1192313062041067520/1231903583717425153/1256187110554341386
// https://github.com/BasedHardware/Friend/blob/main/docs/_developer/Protocol.md
// https://github.com/BasedHardware/omi/blob/main/docs/_developer/Protocol.md
Uint8List wavHeader = getWavHeader(audioBytes.length * 2, sampleRate);
return Uint8List.fromList(wavHeader + WavBytesUtil.convertToLittleEndianBytes(audioBytes));
}
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/plugins/indentify-plugin.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export default function IndentifyPlugin({ pluginId }: IndentifyPluginProps) {
<div className="sticky top-[4rem] z-[50] mb-3 flex items-center gap-2 border-b border-solid border-zinc-900 bg-bg-color bg-opacity-90 px-4 py-3 shadow-sm backdrop-blur-sm md:px-12">
<Image
className="grid h-9 w-9 min-w-[36px] place-items-center rounded-full bg-zinc-700"
src={`https://raw.githubusercontent.com/BasedHardware/Friend/main/${pluginCommunity?.image}`}
src={`https://raw.githubusercontent.com/BasedHardware/omi/main/${pluginCommunity?.image}`}
alt={''}
width={50}
height={50}
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@

# Constants and configurations
UF2_FILES = [
"Friend/firmware/bootloader/bootloader0.9.0.uf2",
"Friend/firmware/firmware1.0.4.uf2"
"omi/firmware/bootloader/bootloader0.9.0.uf2",
"omi/firmware/firmware1.0.4.uf2"
# Add more UF2 file paths as needed
]

Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Friend Simulator
# Omi Simulator

Simulator of BasedHardware Friend device.
Simulator of BasedHardware Omi device.

This is an early version, code needs cleaning, proper error handling, ...

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
"inherits": "0.16mm Optimal @BBL X1C",
"initial_layer_acceleration": "300",
"is_custom_defined": "0",
"name": "0.16mm Optimal @BBL X1C - Friend",
"name": "0.16mm Optimal @BBL X1C - omi",
"overhang_3_4_speed": "30",
"overhang_4_4_speed": "30",
"prime_volume": "100",
"print_settings_id": "0.16mm Optimal @BBL X1C - Friend",
"print_settings_id": "0.16mm Optimal @BBL X1C - omi",
"seam_slope_type": "all",
"sparse_infill_density": "100%",
"sparse_infill_pattern": "zig-zag",
Expand Down
File renamed without changes.
Loading

0 comments on commit fd68713

Please sign in to comment.