Skip to content

Contacts app for replacing your current contacts app. data stored on your Solid Pod.

Notifications You must be signed in to change notification settings

scenaristeur/contacts

Repository files navigation

contacts

Replace your current multi-device contact application with Contacts . with Contacts, your informations are not stored on any GAFAM server, they are stored on your SOLID POD and you choose who can access it. Please be aware of Solid Security restrictions or ask on Solid Community Forum

Contacts formats

#vue-offline

offline first


Note from another project, todo : migartion


error with npm update

Syntax Error: TypeError: eslint.CLIEngine is not a constructor

delete in package cli-plugin-eslint, remove package.json, & node_modules

prerequist

  • install semapps or solid community-server and run with
npm start -- -c config/config-file.json -f /Documents/ -p 3005

install semapps

modifier dans semapps/services/ldp.services.js pour ajouter les containers suivants containers: [ '/persons', '/files', '/workspaces', '/bases', '/tables', '/records', '/fields', '/tasks', '/documents', '/tags', '/offers', '/needs', '/things', '/skills', '/categories', '/models', '/collections', '/views', '/schemas', '/vcards', '/contexts'],

or install solid community-server

curl -X POST -H "Content-Type: text/turtle" -d "<ex:s> <ex:p> <ex:o>."  http://localhost:3000/
curl -X PUTT -H "Content-Type: text/turtle" -d "<ex:s> <ex:p> <ex:o>."  http://localhost:3000/persons/
curl -X POST -H "Content-Type: text/turtle" -d "<ex:s> <ex:p> <ex:o>."  http://localhost:3000/persons/

start from scratch

https://dfaveris.medium.com/portfolio-comment-cr%C3%A9er-une-application-web-portfolio-bas%C3%A9e-sur-solid-avec-vue-js-c57b50502d21

axios Post patch...

axios ne passe pas , préférer fetch https://serversideup.net/post-put-patch-requests-with-vuejs-and-axios/

models

Project setup

npm install

Compiles and hot-reloads for development

npm run serve

Compiles and minifies for production

npm run build

Lints and fixes files

npm run lint

Customize configuration

See Configuration Reference.

Build and publish on gh-pages

remove /dist in .gitignore first commit :

npm run build
git add dist -f && git commit -m "Initial dist subtree commit"

then for each commit

npm run git -- "modif"

json pretty print in a vuejs component

https://www.npmjs.com/package/vue-json-pretty

common pattern solid Axios

https://www.codingame.com/playgrounds/51181/common-patterns-with-solid/managing-notifications

don't use axios for POST to semapps ldp

axios uses xmlhttprequest and don't post correct json-ld

tables vuetify

https://vuetifyjs.com/en/components/data-tables/#crud-actions

schema generator

https://schema.pythonanywhere.com/Person

examples json-ld

https://github.com/JayHoltslander/Structured-Data-JSON-LD https://search.google.com/structured-data/testing-tool?url=https://raw.githubusercontent.com/JayHoltslander/Structured-Data-JSON-LD/master/Person.json#url=https%3A%2F%2Fraw.githubusercontent.com%2FJayHoltslander%2FStructured-Data-JSON-LD%2Fmaster%2FPerson.json exemples schema:article https://search.google.com/structured-data/testing-tool?url=https://raw.githubusercontent.com/JayHoltslander/Structured-Data-JSON-LD/master/Article.json#url=https%3A%2F%2Fraw.githubusercontent.com%2FJayHoltslander%2FStructured-Data-JSON-LD%2Fmaster%2FArticle.json

https://json-ld.org/contexts/person.html

{
  "@context": "http://json-ld.org/contexts/person.jsonld",
  "@id": "http://dbpedia.org/resource/John_Lennon",
  "name": "John Lennon",
  "born": "1940-10-09",
  "spouse": "http://dbpedia.org/resource/Cynthia_Lennon"
}

https://json-ld.org/contexts/person.html inclut vcard mais pas https://json-ld.org/contexts/person.jsonld

vcard

https://github.com/enesser/vCards-js http://jsfiddle.net/totoe/vy2GL/ https://medium.com/@404sd/building-your-vcard-using-bootstrap-4-a37f1ce57206

#checkout https://lightit.io/blog/tailwind-vue-checkout-form/

ultimate skeleton card

https://vusc.surge.sh/guide/components.html#skeletonscaffold

simple card

https://codepen.io/raphael_octau/pen/ePLPJW

card caroussel

https://vuejsexamples.com/a-multi-item-card-carousel-in-vue/

data

contacts list

solid vocabularies

http://solid.github.io/vocab/

localstorage / indexdb / solid-rest

jsonld expanded query

https://www.npmjs.com/package/ld-query

custom service worker

use contact picker for import

share media on cantact page

Send audio / video / pic https://whatwebcando.today/camera-microphone.html

vuetable or vuetify-table ?

https://www.vuetable.com/guide/

ouchdb serviceworker

https://github.com/pouchdb-community/worker-pouch

jsonml

rdf store

progressive web app caching

extend vcard with socialprofil like solid

socialProfile;type=linkedin:http://www.linkedin.com/in/barryleiba
socialProfile;type=facebook:http://www.facebook.com/barackobama
socialProfile;type=solid:https://www.spoggy-test5.solidcommunity.net/profile/card#me

Contacts vue apps