Files
nowser/README.md
2025-06-03 15:55:42 +08:00

153 lines
3.7 KiB
Markdown

<div align="center">
<img src="./assets/imgs/logo/logo_android.png" alt="Nowser Logo" title="Nowser logo" width="80"/>
# Nowser
A secure nostr key management and signing app for iOS, Android, MacOS, Windows and Linux that supports multiple authentication methods:
- **NIP-07**: Acts as a browser extension replacement for mobile, allowing you to securely sign into nostr web apps
- **NIP-46**: Functions as a remote signer (like a "bunker"), letting you keep your private keys on your phone while signing requests from your desktop
- **NIP-55**: Supports Android's native key management system for secure key storage (similar to Apple Keychain)
- **Nesigner**: A hardware signer allows you to store and process sign requests in hardware
This app helps you manage your nostr identity securely across devices while maintaining control of your private keys. It's designed to be a mobile-first solution for the growing nostr ecosystem.
</div>
## Platforms
| Platforms | NIP-07 | NIP-46 | NIP-55 |
| :----: | :----: | :----: | :----: |
| Android | √ | √ | √ |
| IOS | √ | √ | |
| MacOS | √ | √ | |
| Windows | √ | √ | |
| Linux | √ | √ | |
## Downloads
Android, Windows, Linux, MacOS: Download From [Release](https://github.com/haorendashu/nowser/releases) https://github.com/haorendashu/nowser/releases
IOS: Download from [TestFlight](https://testflight.apple.com/join/b4zVVxaM) https://testflight.apple.com/join/b4zVVxaM
MacOS: Download from [TestFlight](https://testflight.apple.com/join/9VD8rk5B) https://testflight.apple.com/join/9VD8rk5B
## Git Module
Nowser is a multi module project, after you clone this project, please run git module scrpit to init the module git repos.
``` bash
git submodule init
git submodule update
```
## Build Script
### Android
```
-- build for appbundle
flutter build appbundle --release
-- build for apk
flutter build apk --release --split-per-abi
```
### IOS and MacOS
build by XCode
### Windows
```
flutter build windows --release
```
### Linux
Linux depend on ```libsecret-1-dev```, ```libsqlite3-0```, ```libsqlite3-dev``` you can try to run this script to install before it run:
Ubuntu:
```
sudo apt-get -y install libsecret-1-dev libsqlite3-0 libsqlite3-dev
```
Fedora:
```
sudo dnf install libsecret-devel sqlite3 sqlite-devel
```
```
flutter build linux --release
```
#### About Linux package
We use ```flutter_distributor``` to build linux package, so you should install ```flutter_distributor``` and add some other config.
Install ```flutter_distributor``` to your system:
```
dart pub global activate flutter_distributor
```
Install some compile tools:
```
sudo apt-get install clang cmake git ninja-build pkg-config libgtk-3-dev liblzma-dev libstdc++-12-dev
```
rpm package requirements:
Debian/Ubuntu:
```
apt install rpm patchelf
```
Fedora:
```
dnf install gcc rpm-build rpm-devel rpmlint make python bash coreutils diffutils patch rpmdevtools patchelf
```
Arch:
```
yay -S rpmdevtools patchelf or pamac install rpmdevtools patchelf
```
appimage package requirements:
install ```flutter_distriutor```
```
dart pub global activate flutter_distributor
```
install and update filedbs:
```
sudo apt install locate
sudo updatedb
```
install Appimage Builder:
```
wget -O appimagetool "https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-x86_64.AppImage"
chmod +x appimagetool
sudo mv appimagetool /usr/local/bin/
```
If your config all the steps, you can run these script to package the packages:
```
flutter_distributor release --name=dev --jobs=release-dev-linux-deb
flutter_distributor release --name=dev --jobs=release-dev-linux-rpm
flutter_distributor release --name=dev --jobs=release-dev-linux-appimage
```