npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

chat21-ionic

v0.934.1

Published

listaUtenti: An Ionic project

Downloads

7

Readme

Chat21 is the core of the open source live chat platform Tiledesk.com.

Features

With Chat21-ionic you can:

  • Send a direct message to a user (one to one message)
  • View the messages history
  • The read receipts feature allows your users to see when a message has been sent, delivered and read
  • Conversations list view with the last messages sent (like Whatsapp)
  • With the Presense Manager you can view when a user is online or offline and the inactivity period
  • Responsive design (desktop and mobile)
  • View the user profile with fullname and email
  • Login with email and password (Use firebase email and password authentication method )
  • Signup with fullname, email, password and profile picture
  • Contacts list view with fulltext search for fullname field

Live Demo

Visit https://web.chat21.org/ to see a live demo of chat21-ionic.

Documentation

In progress

Prerequisites

  • Install nodejs: https://nodejs.org/en/download/
  • Install git: https://git-scm.com/book/id/v2/Getting-Started-Installing-Git
  • Install Ionic CLI and Cordova : https://ionicframework.com/docs/intro/installation/
  • A Firebase project. Create one free on https://firebase.google.com
  • "Chat21 Firebase cloud functions" installed. Instructions:https://github.com/chat21/chat21-cloud-functions

Installation

  • Clone this repository. Run: git clone https://github.com/frontiere21/chat21-ionic.git in the folder in which you'd like to contain the project.
  • Next you will need to get all your node_modules back into your application. All these modules are based on your package.json file. In the project folder “chat21-ionic” run: npm install

Firebase Configuration

  • Create account Firebase
  • Create a Firebase project in the Firebase console, if you don't already have one. https://console.firebase.google.com/

Firebase DB Configuration

  • in the Firebase console click 'Add Firebase to your web app' and copy
var config = { 
   apiKey: "<your api key>",
   authDomain: "<your authDomain>",
   databaseURL: "<your databaseURL>",
   projectId: "<your projectId>",
   storageBucket: "<your storageBucket>",
   messagingSenderId: "< your messagingSenderId >" 
};
  • Update app.module.ts:
    • go to the root of your project
    • open /src/app/app.module.ts and replace firebaseConfig : {...} whit
    firebaseConfig : {
       apiKey: "<your api key>",
       authDomain: "<your authDomain>",
       databaseURL: "<your databaseURL>",
       projectId: "<your projectId>",
       storageBucket: "<your storageBucket>",
       messagingSenderId: "< your messagingSenderId >"
    };```
  • Config Firebase auth In the Firebase Console open the Authentication section > SIGN IN METHOD tab you need to enable the Email/password Sign-in Provider and click SAVE. This will allow users to sign-in the Web app with their Email https://firebase.google.com/docs/auth/
  • Update app.module.ts:
    • open /src/app/app.module.ts and change tenant name (optional)
  • Update firebase-messaging-sw.js:
    • open /src/firebase-messaging-sw.js and replace messagingSenderId: "..." with < your messagingSenderId > More info here : https://angularfirebase.com/lessons/send-push-notifications-in-angular-with-firebase-cloud-messaging/
  • Update manifest.json:
    • open /src/manifest.json and replace "name": "chat21-ionic" and "short_name": "chat21-ionic" with the name of your project (optional)

Run App on Browser

  • Now you will need to serve the app. Run: ionic serve in the terminal. (Update the plugins if required)

Deploy Chat21 Firebase Cloud Functions

  • Readme: https://github.com/chat21/chat21-cloud-functions

Create build browser

  • Run: cordova platform add browser@latest
  • Run: ionic cordova build browser

Upload project on firebase hosting

https://firebase.google.com/docs/hosting/quickstart?authuser=0

  • Install the Firebase CLI. run: npm install -g firebase-tools
  • Run: firebase login (these steps can be avoided if you have already done before)
  • Change directories in the terminal to your desired project directory(run: cd platforms/browser) and run: firebase init
    • select hosting (press Spacebar to select) and press return
    • select your project and press return
    • answer the following questions:
      • "what do you want to use as your public directory?" www and press return
      • "configure as a single-page app?" N and press return
      • "file www/index.html alredy exists. Overwrite?" N and press return
  • Run: firebase deploy
  • In your firebase consol click hosting and click on link your project

Run on Android and iOS

  • Run on simulator : ionic cordova run android

  • Run on device : ionic cordova run android --device

  • Run on simulator : ionic cordova run ios

  • Run on device : ionic cordova run ios --device