Skip to content

DarkFi App 0.1-alpha Release

Latest
Compare
Choose a tag to compare
@narodnik narodnik released this 31 Jan 19:05
· 2 commits to master since this release

The first major release of DarkFi's App platform. Now we just have one app: the chat. From here we expand outwards.

"we can win a major battle in the arms race and gain a new territory of freedom" - Satoshi Nakamoto

Features:

  • Support for multiple rooms. Now you can access all public chans on the DarkIRC Chat network.
  • Rename your nick using the command: /nick john.
  • Fully p2p on both mobile and desktop.
  • Tor support (optional). Instructions to enable it are below.
  • Network status indicator in the top right.
  • Emojis!
    • Add new custom emojis. See instructions below.
  • Shortcuts:
    • Zoom in/out on desktop with Ctrl+Equals (=) and Ctrl+Minus (-), and use 2-finger pinch on Android.
    • Navigate to channels with Alt+1, Alt+2, ... and use Alt+Backspace to go back.
    • Mac: use the Command key instead.
  • Fractional UI scaling.

Repo version: d9a819b72f4bf926a4e4388539c105d2410fccae

sha256sum:

  • Android: 4bb58f194544304b2ab97d25b830c88970cbad671c9d5794c96310b67ecbf6bc
  • Linux: ca89c18a860b8add2eb6733c661ac9bae8821209b7f8abb8b00aeb05cb218d83
  • Windows (ZIP): 643ebe20b88485a7f72b8a4f567411d4c39610a29cad668f3742639384f7d5bd
  • Windows (MSI): e323043e3bbecc21b8c74e2b22b500c1a045bd92a01a50c2589991f3b18dab46
  • MacOS: c0aef3623c5b337353f06ba56c8eb70a997599f14951fc998392a98415501e78

Enable Tor

Create a file called use_tor.txt inside the app's data folder.

Platform Path Example
Linux ~/.local/share/darkfi/app/ /home/alice/.local/share/darkfi/app/
Android /sdcard/Android/data/darkfi.darkfi_app/files/ /sdcard/Android/data/darkfi.darkfi_app/files/
Mac ~/Library/Application Support/darkfi/app/ /Users/Alice/Library/Application Support/darkfi/app/
Windows {FOLDERID_RoamingAppData}/darkfi/app/ C:\Users\Alice\AppData\Roaming\darkfi\app\

For example on Linux:

touch /home/alice/.local/share/darkfi/app/use_tor.txt

Then when you start the app, you should see:

10:30:47 [INFO] Setup P2P network [tor]

Customize Emojis

Add New Fonts

To install new fonts (TTF, OTF formats), copy the file to the app's font folder.

If the folder doesn't exist, then you can just create it.

Platform Path Example
Linux ~/.local/share/darkfi/app/font/ /home/alice/.local/share/darkfi/app/font/
Android /sdcard/Android/data/darkfi.darkfi_app/files/font/ /sdcard/Android/data/darkfi.darkfi_app/files/font/
Mac ~/Library/Application Support/darkfi/app/font/ /Users/Alice/Library/Application Support/darkfi/app/font/
Windows {FOLDERID_RoamingAppData}\darkfi\app\font\ C:\Users\Alice\AppData\Roaming\darkfi\app\font\

Then when you start the app, you should see:

10:43:45 [INFO] Loaded custom font: "/home/alice/.local/share/darkfi/app/font/my-custom-font.ttf"

Change Emojis List

Copy the file emoji.txt into your app's data folder.

Platform Path Example
Linux ~/.local/share/darkfi/app/ /home/alice/.local/share/darkfi/app/
Android /sdcard/Android/data/darkfi.darkfi_app/files/ /sdcard/Android/data/darkfi.darkfi_app/files/
Mac ~/Library/Application Support/darkfi/app/ /Users/Alice/Library/Application Support/darkfi/app/
Windows {FOLDERID_RoamingAppData}/darkfi/app/ C:\Users\Alice\AppData\Roaming\darkfi\app\

Then after restarting the app, you should see the new emoji list.

Troubleshooting

Windows "VCRUNTIME140.dll was not found"

If you get the error "VCRUNTIME140.dll was not found", then install Microsoft Visual C++ Redistributable.

MacOS "darkfi cannot be opened because the developer cannot be verified"

This is because the release is currently not signed. We are in the process of applying to Apple for a developer certificate but it's long and bureaucratic. The next release will be signed. It's easy to bypass it now.

Drag DarkFi to your Applications folder and try to launch it. Cancel the dialog that pops up.

Next, open System Settings -> "Privacy & Security", scroll down to where it says "darkfi was blocked from use ...", and click "Open Anyway". The next time you will be able to run the app with no issues.