Skip to content

A P2P LOLcat themed microblogging dapp -- Twitter-clone on Holochain. I can haz tweetburger?

Notifications You must be signed in to change notification settings

trustgraph/MewsFeed

 
 

Repository files navigation

MewsFeed

We are currently working towards the first major release of MewsFeed.

Collaborate on GitHub and join our Discord!

Environment Setup

  1. Install the holochain dev environment (only nix-shell is required): https://developer.holochain.org/docs/install/
  2. Enable Holochain cachix with:
nix-env -iA cachix -f https://cachix.org/api/v1/install
cachix use holochain-ci
  1. Clone this repo and cd inside of it.
  2. Enter the nix shell by running this in the root folder of the repository:
nix develop
npm install

This will install all the needed dependencies in your local environment, including holochain, hc and npm.

  1. Install git submodule dependency (ui-common-library)
git submodule init
git submodule update --remote --recursive
cd ui/ui-common-library && npm i && cd ../

Building the DNA

  • Build the DNA (assumes you are still in the nix shell for correct rust/cargo versions from step above):
npm run build:happ

Running the DNA tests

npm run test

UI

To test out the UI:

npm start

To run another agent, open another terminal, and execute again:

npm start

Each new agent that you create this way will get assigned its own port and get connected to the other agents.

Package

To package the web happ:

npm run package

You'll have the mewsfeed.webhapp in workdir. This is what you should distribute so that the Holochain Launcher can install it.

You will also have its subcomponent mewsfeed.happ in the same folder`.

Documentation

We are using this tooling:

About

A P2P LOLcat themed microblogging dapp -- Twitter-clone on Holochain. I can haz tweetburger?

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Vue 49.3%
  • TypeScript 35.4%
  • Rust 13.6%
  • Nix 0.5%
  • Sass 0.5%
  • JavaScript 0.4%
  • HTML 0.3%