2
0
mirror of https://github.com/Revertron/Alfis synced 2024-11-15 06:12:52 +00:00
Go to file
2021-04-13 18:49:26 +02:00
.cargo Reverted build options file. 2021-04-01 21:58:40 +02:00
.github Create FUNDING.yml 2021-04-06 19:52:59 +02:00
contrib Added 'meship' zone to reserved zones list. 2021-04-13 11:45:23 +02:00
docs Refactored the work with signing blocks. 2021-04-13 18:49:26 +02:00
img PKGBUILD: Add application icon 2021-04-05 21:21:52 +05:00
src Refactored the work with signing blocks. 2021-04-13 18:49:26 +02:00
.gitignore Added a restriction for IANA domain zones. Users cannot mine them from now on. 2021-03-11 01:41:19 +01:00
adblock.txt Implemented hosts-file support. You can resolve local names or block ads on DNS level! 2021-04-01 20:59:52 +02:00
alfis.toml fix typo in alfis.toml 2021-04-10 15:39:11 +03:00
build.rs Use new app icon on Windows. 2021-04-06 01:20:20 +02:00
Cargo.toml Fixed parsing of DomainData, many other fixes. 2021-04-11 17:50:55 +02:00
LICENSE Added license file. 2021-02-16 18:40:19 +01:00
other-tlds.txt Added 'meship' zone to reserved zones list. 2021-04-13 11:45:23 +02:00
README.md Added installation part for Debian/Ubuntu to readme. 2021-04-05 01:17:11 +02:00

Alfis

Builds

Alternative Free Identity System

This project represents a minimal blockchain without cryptocurrency, capable of sustaining any number of domain name zones and domains.

Screenshot

Screenshot

Building and running

On every OS

You can download and run already built binaries from releases, or you can build project yourself.

You can build Alfis by issuing cargo build and cargo run commands in a directory of cloned repository. If you want to build release version you need to do cargo build --release as usual.

Windows Logo On Windows

You don't need any additional steps to build Alfis, just stick to the MSVC version of Rust.

If you see an error about missing VCRUNTIME140.dll when running alfis you will need to install VC Redistributable from Microsoft.

If you want to use modern browser engine from Edge instead of old from IE, you need to build with this command: cargo build --release --features "edge" (or use corresponding build from releases).

Windows Logo On Windows (MINGW64)

If you'd rather use Gnu version of Rust you can build Alfis by these steps:

pacman -S git mingw64/mingw-w64-x86_64-rust mingw64/mingw-w64-x86_64-cargo-c
git clone https://github.com/Revertron/Alfis.git
cd Alfis
cargo build

Linux Logo On Linux

If you are building on Linux you must ensure that you have libwebkitgtk library installed. You can do it by issuing this command: sudo apt install libwebkit2gtk-4.0-dev (on Debian/Ubuntu and derivatives).

Arch Linux Logo On Arch Linux

Create and install package with this commands:

# make package
git clone https://github.com/Revertron/Alfis.git
cd Alfis/contrib
makepkg

# install package (from root)
pacman -U alfis-<version>-1-x86_64.pkg.tar.xz

Installation

Debian/Ubuntu

  1. Download repository public key and add it to your APT
wget -O - https://deb.revertron.com/key.txt | sudo apt-key add -
  1. Add repository path to sources list
echo 'deb http://deb.revertron.com/ debian alfis' | sudo tee /etc/apt/sources.list.d/alfis.list
  1. Update packages
sudo apt update
  1. Install ALFIS
sudo apt install alfis

After that configuration is in file /etc/alfis.conf and data is saved to /var/lib/alfis. If you have some DNS server bound to port 53, it will not properly start. Deal with it on your own.