Git Product home page Git Product logo

ipsm's Introduction

IPSM - Inter-Planetary Social Media

GitHub license Test Coverage Maintainability GitHub issues GitHub contributors PRs Welcome

IPSM is a decentralized social media network built on top of IPFS.

Screenshot

All you need to join is a local IPFS node with api running on localhost port 5001. After that all you need to do is visit here: https://k51qzi5uqu5dj00g8grr9pby14wibhuhkgxo7gdb5ebnlem2eaeob3809qni8p.ipns.dewb.link

This is an IPFS url that you can open in your browser, but it requires IPFS to be installed on your machine to get access to the IPFS API. How to install IPFS

Alpha notice

This project is still very young and in the alpha stages. Expect changes in the framework as well as protocol.

Developer quickstart

This can be found here

Common issues

If you get any errors concerning CORS have a look at this, should have everything to get you sorted.

ipsm's People

Contributors

clay-ferguson avatar undyingwraith avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

fernandomarca

ipsm's Issues

Add import/export for identity

Currently the identity (key pair) is stored in local storage and can only be extracted from there or set there.

It would be nice however to have a way to do that in the GUI.

Add a new mimehandler for images

Currently only a text converter is implemented. It would be nice though if we could also publish images.

The first formats we want to support would be (jpg, png, webp)

Error Running

Failed to compile.
ipsm/packages/web/src/App.tsx(33,7):
Type 'string' is not assignable to type 'CID'.  TS2322

    31 | 					{
    32 | 						mime: 'text/plain',
  > 33 | 						data: message,
       | 						^
    34 | 					},
    35 | 				],
    36 | 			})

Any idea? I did a yarn install and then a yarn web with ipfs running.

Make ipfs connection configurable in the UI

Currently the app will always try to connect to ipfs on the default localhost address. But since this does not match every setup, it should be configurable through the ui.

Add direct message support

Supporting a PubSub topic format like this:

/ipsm/$PKHash/inbox

would allow direct messages between users. The $PKHash would be the hash of the PublicKey of the recipient. Message would be asymmetric encrypted using the PublicKey of the recipient to, so that only the recipient can read the message, if it's intended to be private.

Recipients can of course configure their system to only accept messages from their "Allowed Keys" list if they want, and of course there can be a list of keys each user maintains as "Blocked Keys" well, which always get ignored. But the Allows/Blocked keys is independent of this inbox concept, and would apply to all PubSub 'reads'

Originally posted by @Clay-Ferguson in #12

Add support for translations

Currently everything in this is app english only. If we want a wider adoption, having the app available in your native language will help.

I've previously used mady as a translation editor and i18next to use those translations.

1695 error code E401

are you dogfooding a discussion on this project?

i thought i would give this project a look but im not sure i grok the need for an npm user account during the build.

/home/jim/.nvm/versions/node/v16.10.0/bin/node /home/jim/.nvm/versions/node/v16.10.0/lib/node_modules/yarn/bin/yarn.js run install
yarn run v1.22.11
warning ../../package.json: No license field
$ lerna bootstrap
lerna notice cli v4.0.0
lerna info Bootstrapping 4 packages
lerna info Installing external dependencies
lerna ERR! npm install exited 1 in '@undyingwraith/ipsm-client'
lerna ERR! npm install stderr:
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: [email protected]
npm WARN Found: [email protected]
npm WARN node_modules/ipfs-utils/node_modules/native-fetch
npm WARN native-fetch@"^3.0.0" from [email protected]
npm WARN node_modules/ipfs-utils
npm WARN ipfs-utils@"^9.0.2" from [email protected]
npm WARN node_modules/ipfs-http-client
npm WARN 1 more (ipfs-core-utils)
npm WARN
npm WARN Could not resolve dependency:
npm WARN native-fetch@"^3.0.0" from [email protected]
npm WARN node_modules/ipfs-utils
npm WARN ipfs-utils@"^9.0.2" from [email protected]
npm WARN node_modules/ipfs-http-client
npm WARN 1 more (ipfs-core-utils)
npm ERR! code E401
npm ERR! Incorrect or missing password.
npm ERR! If you were trying to login, change your password, create an
npm ERR! authentication token or enable two-factor authentication then
npm ERR! that means you likely typed your password in incorrectly.
npm ERR! Please try again, or recover your password at:
npm ERR! https://www.npmjs.com/forgot
npm ERR!
npm ERR! If you were doing some other operation then your saved credentials are
npm ERR! probably out of date. To correct this please try logging in again with:
npm ERR! npm login

npm ERR! A complete log of this run can be found in:
npm ERR! /home/jim/.npm/_logs/2021-10-02T18_42_31_723Z-debug.log
lerna ERR! npm install exited 1 in '@undyingwraith/ipsm-client'
lerna WARN complete Waiting for 2 child processes to exit. CTRL-C to exit immediately.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Process finished with exit code 1
attached

2021-10-02T18_42_31_723Z-debug.log

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.