Skip to content

Commit

Permalink
Merge pull request #102 from thenetrunna/master
Browse files Browse the repository at this point in the history
REWRITE IT IN RUST :3
  • Loading branch information
thenetrunna authored Jun 15, 2024
2 parents 64e1789 + dd3b13d commit 6638b8f
Show file tree
Hide file tree
Showing 1,624 changed files with 23,025 additions and 304,753 deletions.
5 changes: 4 additions & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
makefile linguist-generated
*.mk linguist-generated
*.mk linguist-generated
*.js linguist-generated
*.css linguist-generated
*.html linguist-generated
57 changes: 0 additions & 57 deletions .github/workflows/release.yaml

This file was deleted.

58 changes: 58 additions & 0 deletions .github/workflows/tauri_release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
name: 'release'

on:
push:
branches:
- release

jobs:
publish-tauri:
permissions:
contents: write
strategy:
fail-fast: false
matrix:
include:
- platform: 'macos-latest' # for Arm based macs (M1 and above).
args: '--target aarch64-apple-darwin'
- platform: 'macos-latest' # for Intel based macs.
args: '--target x86_64-apple-darwin'
- platform: 'ubuntu-22.04' # for Tauri v1 you could replace this with ubuntu-20.04.
args: ''
- platform: 'windows-latest'
args: ''

runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v4

- name: setup node
uses: actions/setup-node@v4
with:
node-version: lts/*

- name: install Rust stable
uses: dtolnay/rust-toolchain@stable
with:
# Those targets are only used on macos runners so it's in an `if` to slightly speed up windows and linux builds.
targets: ${{ matrix.platform == 'macos-latest' && 'aarch64-apple-darwin,x86_64-apple-darwin' || '' }}

- name: install dependencies (ubuntu only)
if: matrix.platform == 'ubuntu-22.04' # This must match the platform value defined above.
run: |
sudo apt-get update
sudo apt-get install -y libwebkit2gtk-4.0-dev libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf
# webkitgtk 4.0 is for Tauri v1 - webkitgtk 4.1 is for Tauri v2.
# You can remove the one that doesn't apply to your app to speed up the workflow a bit.

- uses: tauri-apps/tauri-action@v0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
projectPath: ./app
tagName: shog-v__VERSION__ # the action automatically replaces \_\_VERSION\_\_ with the app version.
releaseName: 'Shog v__VERSION__'
releaseBody: ''
releaseDraft: true
prerelease: false
args: ${{ matrix.args }}
35 changes: 0 additions & 35 deletions .github/workflows/test.yaml

This file was deleted.

50 changes: 1 addition & 49 deletions README.txt
Original file line number Diff line number Diff line change
@@ -1,62 +1,14 @@
SHOGGOTH
===============================================================================

Shoggoth is a peer-to-peer network for publishing and distributing open-source Artificial Intelligence (AI).

To join the Shoggoth network, there is no registration or approval process. Nodes and clients operate anonymously with identifiers decoupled from real-world identities.

Anyone can freely join the network and immediately begin publishing or accessing resources.

The purpose of Shoggoth is to combat AI censorship and empower everyone to create and distribute open-source AI, without a centralized service or platform.

Shoggoth is developed and maintained by ShogAI (https://shog.ai).


To learn more about Shoggoth, read the documentation at https://shoggoth.network/explorer/docs

You can install Shoggoth by following the instructions at https://shoggoth.network/explorer/docs#installation



BUILD
================================

The following dependencies are required to build Shoggoth
- gcc or clang
- GNU make
- pkg-config
- openssl (and its development headers)
- libuuid (and its development headers)
- GNU find
- zip

If building on a UNIX system like Linux or macOS, run the configure script to automatically install the above dependencies:

$ ./configure

Then, run `make` on the shoggoth directory:

$ make

This will build Shoggoth with supporting runtime files into a zip file ./target/shoggoth-release-<VERSION>-<OS>-<ARCH>.zip for example ./target/shoggoth-release-v0.1.6-Linux-x86_64.zip

After building, to install Shoggoth for the current user, run:

$ make install

NOTE: do not use sudo. Shoggoth will not be installed globally, so sudo is not required.

Shoggoth is a peer-to-peer network developed by ShogAI for publishing and distributing open-source Artificial Intelligence (AI).


LICENSE
=================================

Shoggoth is licensed under the MIT license. Read the LICENSE file for more information

Shoggoth uses a few dependencies which have their own licenses. The dependencies in the ./lib/ directory are independent of the MIT license used for Shoggoth.
The source code for each dependency includes a LICENSE file indicating the license that covers it.



LINKS
=================================
Expand Down
File renamed without changes.
Loading

0 comments on commit 6638b8f

Please sign in to comment.