2
0
mirror of https://github.com/Revertron/Alfis synced 2024-11-15 06:12:52 +00:00
Go to file
2021-04-17 02:52:29 +02:00
.cargo Added new configuration for cross-platform compilation. 2021-04-17 00:08:07 +02:00
.github Update rust_create_release.yml 2021-04-13 20:46:12 +02:00
contrib Fixed postrm script in generate.sh. 2021-04-17 02:52:29 +02:00
docs Added first FAQ section. Incremented version. 2021-04-14 22:49:22 +02:00
img PKGBUILD: Add application icon 2021-04-05 21:21:52 +05:00
src Optimized new block processing. Added quick-ban for those, who send wrong blocks. 2021-04-17 01:51:14 +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 Increased DNS client timeout from 3 second to 10. Changed 1 bootstrap address. 2021-04-13 23:16:09 +02:00
build.rs Use new app icon on Windows. 2021-04-06 01:20:20 +02:00
Cargo.toml Added new configuration for cross-platform compilation. 2021-04-17 00:08:07 +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 Updated readme - added installation and usage instructions. 2021-04-14 12:59:47 +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 (only blockchain DNS, without GUI)

If you want to just use ALFIS as a DNS daemon and resolve domains in blockchain, as well as clearnet domains. You just need to install alfis service from repo and change your resolver in /etc/resolv.conf. Beware of NetworkManager, it can change your resolvers at will.

  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.

GUI version Windows/Linux/MacOS (if you want to create and change domains)

If you want to create and manage your own domains on blockchain, you will need a version with GUI. You can download it from releases section, choose appropriate OS and architecture version. It needs to be without nogui suffix.

Just unzip that archive in some directory and run alfis (or alfis.exe) binary. By default, it searches for config file, named alfis.toml in current working directory, and creates/changes blockchain.db file in the same directory. If you want it to load config from another file you can command it so: alfis -c /etc/alfis.conf.