Home / Companies / Stream / Blog / March 2020

March 2020 Summaries

18 posts from Stream

Filter
Month: Year:
Post Summaries Back to Blog
The tutorial outlines the creation of a real-time live chat application using Dialogflow and Stream's Messaging Platform, focusing on leveraging Natural Language Processing (NLP) to interpret user input and respond appropriately. It requires Node.js, yarn, React, and Ngrok for setup, guiding users through creating a new React application and setting up a live chat server using Stream's chat components. The tutorial also explains how to sign up for Stream and Dialogflow accounts, set up environment variables, and integrate Dialogflow to process incoming messages. By exposing the Express server to the web using Ngrok and configuring webhooks, the application can handle message events from Stream, enabling real-time responses. Additionally, the article touches on creating custom intents in Dialogflow to map user queries to appropriate responses, encouraging users to extend the basic setup into a comprehensive customer service chatbot. Throughout, it offers guidance on installing necessary packages, coding the server and application interface, and testing the setup, with a nod to Stream's additional features and available documentation for further exploration.
Mar 31, 2020 2,145 words in the original blog post.
The tutorial provides a step-by-step guide to building a full-stack application using Flask, React/Redux, and Stream, focusing on setting up the foundational structure with Server Side Rendering (SSR). It begins by outlining the advantages of SSR, such as combining server and client code into one repository, avoiding CORS issues, and utilizing familiar packages like flask-login for authentication. The article walks through initializing a project with a virtual environment, installing essential Flask packages, and creating top-level Python files for backend functionality. It details setting up configurations, directories, and models, while also explaining the integration of React components via Webpack and Babel for frontend development. The tutorial concludes with instructions on testing the setup by running the application locally, providing a solid base for further development of user authentication and profiles in subsequent tutorials.
Mar 27, 2020 3,024 words in the original blog post.
The tutorial details the process of building an encrypted chat application for Android using Stream Chat and Virgil Security to ensure end-to-end encryption. This involves embedding Virgil Security's eThree Kit with Stream Chat's Android components, allowing messages to be encrypted on the sender's device and decrypted only by the intended recipient. The app uses Virgil's public/private key technology to secure communications, ensuring that neither the developers nor any external entities can access the message content. The tutorial requires familiarity with Android (Kotlin) and Node.js and guides the user through setting up both the backend and frontend, generating authentication tokens, registering keys, and creating private chat channels. It also integrates Stream's UI components with custom elements to handle message encryption and decryption seamlessly, ultimately providing a secure messaging experience. The code for this project is accessible on GitHub, and users are encouraged to explore additional resources for further development.
Mar 26, 2020 2,846 words in the original blog post.
The tutorial outlines the process of developing a speech-enabled chat application by utilizing AWS Polly for text-to-speech functionality and Stream's Messaging API for chat infrastructure. It explains how AWS Polly can convert text into natural-sounding speech in real-time, enhancing accessibility in chat applications. The guide walks through setting up necessary accounts and credentials, configuring an Express server for user authentication and text-to-speech conversion, and building a chat interface using Stream's React components. The application allows users to communicate via text, which is then audibly rendered using AWS Polly, enabling seamless interaction. The tutorial also emphasizes the ease of adding advanced chat features like typing indicators, emoji reactions, and file sharing through Stream's React components, and encourages readers to explore further enhancements by referring to the Stream Chat and AWS Polly documentation. The complete source code for the demo app is available on GitHub.
Mar 25, 2020 2,459 words in the original blog post.
The tutorial outlines the process of building a messaging app compliant with the General Data Protection Regulation (GDPR) using the Stream Messaging API, allowing users to export their chat history. It highlights the necessity of GDPR compliance for apps with EU users, warning that non-compliance can result in significant fines. The app consists of a backend server for user authentication and email functionality, and a frontend built with React.js. The guide details setting up the environment, creating necessary files, and configuring the backend with Node.js, MongoDB, and various npm packages. It explains how to establish connections to MongoDB and Stream Chat, create API endpoints for user authentication and data export, and use nodemailer for email communication. On the client side, the tutorial demonstrates creating components for login and chat functionalities, utilizing packages like axios and bootstrap, and implementing a custom UI for exporting chat data. The tutorial concludes by encouraging further enhancements, such as enabling data deletion requests, and provides the full source code on GitHub.
Mar 25, 2020 2,507 words in the original blog post.
Pusher's Chatkit product is shutting down on April 23, 2020, leaving users with just 30 days to transition to a new platform. Stream Chat positions itself as a suitable replacement, offering a wider range of features, scalability, and performance enhancements compared to Chatkit. Despite the sudden announcement, Stream is prepared to support users through the migration process, promising a smooth transition and providing a detailed migration guide on GitHub. Stream Chat boasts real-time functionality, comprehensive moderation tools, and enterprise-level features, making it an appealing option for those needing to swiftly move from Chatkit. The shutdown of Chatkit, which was only launched two years prior, presents an unexpected challenge for its customers, yet Stream sees it as an opportunity for businesses to adopt a more robust chat solution.
Mar 23, 2020 384 words in the original blog post.
The article provides a comprehensive tutorial on building a chat application using React and Stream Chat, with features like user authentication and real-time messaging. It guides readers through the setup process, starting with prerequisites such as a working installation of Node, npm, and MongoDB, and a basic understanding of React and JavaScript. The tutorial covers the steps to create an account with Stream Chat, initialize chat components, and set up a server using Express and MongoDB for handling authentication. The frontend is built using React, styled with TailwindCSS, and features a login/signup form that redirects to a chat view upon successful authentication. The article also explains how to create context and provider components to manage global state within the application. Readers are instructed on how to integrate Stream's chat components to enable rich chat features like typing indicators and media sharing. Finally, the tutorial includes steps for deploying the application to Heroku, ensuring that users can take their chat app public. The article encourages further enhancement, such as persisting authentication states locally, and provides the project's source code on GitHub for reference.
Mar 20, 2020 3,280 words in the original blog post.
Stream's Messaging API facilitates the development of real-time chat applications that are scalable, secure, and efficient, without the need to build from scratch. This tutorial guides users through creating a functional chat app with in-app messaging using React Native and Expo, allowing seamless deployment on both Android and iOS platforms. The setup involves installing necessary tools like Node.js, Expo, and various React Native libraries, followed by integrating Stream Chat for real-time messaging capabilities. Users are instructed to register on the Stream website to obtain API credentials for authentication purposes. The tutorial details the process of setting up a chat client, configuring user authentication, and implementing in-app notifications to enhance user engagement. By leveraging Stream Chat components, developers can swiftly prototype and deploy chat applications, and are encouraged to explore additional features and functionalities available in Stream's documentation.
Mar 19, 2020 1,331 words in the original blog post.
The eleventh installment of a tutorial series on creating a full-stack application with Flask and Stream focuses on deploying the web app using Zappa and AWS Lambda. It guides users on setting up an AWS account and AWS CLI, emphasizing the use of Zappa for deploying serverless functions on AWS, which offers infinite scalability without the need for multiple containers or load balancers. The tutorial explains the transition from SQLite to PostgreSQL for persistent data storage using AWS RDS and the shift to AWS SES for email services. Configuration adjustments for development and production environments are highlighted, including the division of credentials into separate configurations. The tutorial covers installing necessary Python packages like boto3, psycopg2, and Zappa, and provides steps for setting up the database and email client on AWS. It concludes with instructions for deploying the app using Zappa, creating an S3 bucket for logs, and customizing the Zappa settings for a production environment, ultimately resulting in a complete web application with a permanent database and client-side data retrieval.
Mar 19, 2020 2,283 words in the original blog post.
The article provides a comprehensive tutorial on creating a simple activity feed application using GitHub WebHooks and Stream Feeds with JavaScript. Designed to track activities in GitHub repositories, the feed app immediately notifies users of events such as pull requests. The tutorial outlines the prerequisites, including NodeJS, ExpressJS, GitHub Web Hooks, and StreamJS, and guides readers through setting up a NodeJS project, configuring the app file structure, and creating a server using Express. It explains the process of registering with Stream to obtain necessary credentials and details on setting up the server, routes, and middleware. Emphasis is placed on understanding the controllers responsible for generating tokens and managing GitHub WebHook data, and the frontend integration for real-time updates using StreamJS. The article concludes by summarizing the workflow, encouraging exploration of Stream Feeds' capabilities, and highlighting the efficiency of using Stream to build scalable activity feed applications without managing infrastructure concerns.
Mar 17, 2020 2,315 words in the original blog post.
The blog post provides a detailed tutorial on building a real-time chat application using JavaScript and Stream's Chat API, emphasizing the transition from outdated JavaScript methods to using SDKs like Angular and React for streamlined experiences. It guides developers through setting up a Stream account, installing necessary tools like Node and nodemon, and creating a Node server with Express to manage chat functionalities. The tutorial includes steps for initializing the JavaScript SDK, generating tokens for user authentication, and creating a chat interface with HTML, CSS, and JavaScript, while demonstrating how to list users, exchange messages, and maintain real-time updates. By integrating Stream's features, developers can construct scalable chat solutions, offering an interactive platform for users to communicate efficiently.
Mar 15, 2020 3,631 words in the original blog post.
The rapid spread of COVID-19 in countries like Italy and The Netherlands has led to significant changes in work and daily life, including a shift to remote work for many teams, such as those in The Netherlands and Colorado. While this transition poses challenges, particularly for team members with young children or small living spaces, the availability of technology offers new opportunities to adapt. The pandemic underscores the urgent need for advancements in telemedicine, education technology, and government service delivery to accommodate remote interactions. Additionally, there is a potential for innovation in online grocery shopping and the dissemination of coronavirus-related research. As society navigates these unprecedented times, technology is poised to play a crucial role in facilitating these adaptations and potentially saving lives.
Mar 14, 2020 305 words in the original blog post.
In the tenth installment of a tutorial series on building a full-stack application using Flask and Stream, the focus is on enhancing the app's aesthetics and functionality by incorporating features like link previews and notification counts. The tutorial guides users through styling enhancements, including adding link previews with Open Graph protocol, auto-populating title and description fields for improved user experience, and integrating images into the database model. It also covers updating Stream Feeds and using Python-OpenGraph to manage existing content. Additionally, the tutorial explains how to implement a notification count badge, enhance CSS for a polished look, and manage dynamic content previews using JavaScript and jQuery. The guide concludes by highlighting the upcoming deployment and configuration steps in the next tutorial.
Mar 13, 2020 2,836 words in the original blog post.
The blog post provides a detailed guide on creating custom live chat message bubbles in Android, resembling those found in WhatsApp and iMessage, using Stream Chat's UI Components. It starts by outlining prerequisites, including familiarity with Android, Kotlin, and a Stream account, before delving into the process of integrating Stream's ChannelList and ChannelViewModel to list and view chat channels. The tutorial emphasizes customization through a custom message view using BubbleMessageViewHolderFactory, which enables the creation of chat bubbles with styles and layouts that mimic popular messaging apps. The guide explains how to implement message rendering logic, including text alignment, color, padding, and the use of drawable resources to create message tails. It also covers how to handle different message types, such as date separators, to enhance the chat experience. The post concludes by highlighting the flexibility of Stream's components, allowing developers to either use default views or customize them extensively for a tailored chat interface.
Mar 10, 2020 2,657 words in the original blog post.
In the ninth installment of a tutorial series on building a full-stack application with Flask and Stream, the focus is on creating immersive social experiences through the implementation of follow relationships. This involves setting up user and collection follow systems, building a customized homepage timeline, and developing a notifications screen. The tutorial guides users through creating the necessary database tables and models to handle complex many-to-many follow relationships, as well as implementing methods to add, remove, and check these relationships. It also covers the establishment of endpoints for following and unfollowing users and collections, the creation of dynamic follow/unfollow buttons on user and collection pages, and the development of a user pagination system to facilitate user discovery. Additionally, the tutorial demonstrates setting up an infinite scroll feed on the homepage and a notification system to keep track of user activities. The article emphasizes testing new functionalities and preparing the groundwork for aesthetic improvements in upcoming installments.
Mar 05, 2020 3,833 words in the original blog post.
Creating a functional chat interface in the terminal using Node.js is streamlined with Stream's Chat API, which simplifies the process to just a few lines of code. The tutorial guides users through setting up the necessary environment, including installing Node.js, Yarn, and other dependencies like dotenv, express, and stream-chat, and acquiring Stream Chat API keys. It details the creation of an authentication server that returns a token for user login, allowing users to join a general chat channel. On the client-side, the tutorial explains setting up a simple chat client using packages like axios, prompt, and neo-blessed, which facilitates the sending and receiving of messages through a Terminal User Interface. The interface is assembled using the blessed package, enabling users to interact with the chat via a text input and message list. The tutorial emphasizes the simplicity and potential of using Stream's API for building chat applications, providing a foundation for further exploration and development as detailed in the Stream documentation and GitHub repository.
Mar 05, 2020 1,487 words in the original blog post.
Determining the most suitable chat API for your application involves comparing the features, pricing, and capabilities of various providers, including Sendbird and its competitors. Sendbird offers feature-rich chat solutions with voice and video support, but it has limitations such as limited SDK options and potential latency issues due to single-region infrastructure. Competitors like Stream, Agora, PubNub, Twilio, Firebase, CometChat, TalkJS, and MessageBird present viable alternatives, each with distinct strengths such as enhanced customization, scalability, and cost-effectiveness. Stream, for instance, offers a robust and customizable API with a global edge network for lower latency, while Twilio provides a broader service range with a more transparent pricing model. Agora is noted for its strong documentation and high security standards, while PubNub, CometChat, and TalkJS offer easy integration and feature-rich solutions for specific use cases. The choice between these options depends on the specific needs of your project, such as desired features, budget, and the primary use case for the chat functionality.
Mar 04, 2020 3,688 words in the original blog post.
Building a customer support live chat using Pure JavaScript and Stream Chat is a straightforward process that allows businesses to interact with customers in real-time without the need for phone calls or long email waits. The tutorial outlines the use of Stream Chat, a real-time chat API/SDK, to create secure and scalable chat applications efficiently. It begins with setting up a Stream account and obtaining application credentials, followed by creating HTML files for the frontend and backend interfaces, where customers and administrators can interact respectively. The guide demonstrates initializing a Stream Chat client, setting user credentials, and creating a channel for communication. It also covers handling message input, sending and receiving messages, and updating the chat interface dynamically. By leveraging Stream Chat's features, users can build a responsive chat application while keeping the underlying infrastructure uncomplicated, with room for further customization and enhancements as encouraged by the Stream documentation.
Mar 04, 2020 2,898 words in the original blog post.