Tuesday, May 28, 2024

Sonkoloniya

Sonkoloniya

Sonkoloniya is a web-based realtime code editor with hosting functionality developed by Subham Mandal from ONEprojukti.

Overview

Sonkoloniya enables users to write and run HTML, CSS, and JavaScript code in real-time. It features a user-friendly interface with separate code editing panes, live preview, console output, and file management capabilities.

Key Features

  • Code Editing: Edit HTML, CSS, and JavaScript code using CodeMirror editors.
  • Live Preview: Instantly see the result of code changes in the preview pane.
  • Console Output: View console logs and errors within the editor interface.
  • File Management: Save, import, and export code snippets seamlessly.

Usage

Top Bar

  • Editor Selection: Switch between different code editors (Full, lib, HTML, CSS, JS).
  • Command Input: Trigger specific actions using the search bar.
  • View Width: Adjust the width of the preview pane.
  • Buttons: Perform actions like restoring code, clearing code, enabling/disabling live mode, and running code.

Editor Panes

  • Left Bar: Contains separate panes for Full, lib, HTML, CSS, and JS code editors.
  • Right Bar: Displays the live preview of the code.
  • Bottom Bar: Includes a key list, code import/export functionality, and console output.

Console Output

  • Console logs and errors are displayed in the console bar at the bottom.
  • Errors are highlighted in red for easy identification.

File Management

  • Save code snippets using the save() function. Specify a file name and choose to save the entire code or individual sections.
  • Import code snippets from the Firebase Realtime Database using the openCode() function.
  • Copy code snippets to the clipboard with the copyCode() function.

Advanced Features

  • Live Mode: Toggle live mode to automatically compile and run code as you type.
  • Syntax Highlighting: CodeMirror editors provide syntax highlighting for HTML, CSS, and JavaScript.
  • Code Compilation: Compile HTML, CSS, and JavaScript code into a single HTML document for preview.

Dependencies

  • CodeMirror: A versatile text editor implemented in JavaScript for browsers, used for code editing.
  • oneserver: A JavaScript library for real-time code collaboration developed by Subham Mandal, ONEprojukti.

Release Information

  • Release Date: May 23, 2024

Credits

qb

 

qb: quick biology

Introduction

QB (Quick Biology) is a web application designed to facilitate quick searching of biology-related content from NCERT textbooks. This application is programmed by Subham Mandal and aims to provide an efficient tool for students and educators to find relevant information from NCERT biology textbooks.

Features

  • Quick Search: Easily search for specific biology topics or keywords within NCERT textbooks.
  • Interactive Interface: Intuitive user interface for seamless navigation and browsing of search results.
  • Direct Access to Textbooks: Conveniently access relevant pages of NCERT textbooks directly from the application.

How to Use QB

Step 1: Launch the Application

  • Open your web browser and navigate to the QB application URL.

Step 2: Enter Query

  • In the provided text input field labeled "Enter query," type your biology-related query or keyword.

Step 3: Perform Search

  • Click on the "qb" button to initiate the search process.

Step 4: Explore Results

  • The search results will be displayed below the input area.
  • Each result item contains relevant information along with the source details.

Step 5: Access Textbook Pages

  • Click on any search result item to open the corresponding page from the NCERT textbook in a new browser tab.

Notes

  • QB fetches data from the NCERT biology textbook repository.
  • The application utilizes modern web technologies to provide a smooth and responsive user experience.
  • For any issues or feedback regarding QB, please contact Subham Mandal.

System Requirements

  • Compatible with modern web browsers such as Google Chrome, Mozilla Firefox, and Safari.
  • Internet connection required for fetching data and accessing NCERT textbook pages.

Credits

  • QB is programmed by Subham Mandal.
  • Data is sourced from the NCERT biology textbook repository.

Disclaimer

  • QB is intended for educational purposes only.
  • The accuracy and completeness of the information provided by QB are subject to the content available in the NCERT textbooks.

About the Developer

Subham Mandal is a programmer passionate about developing educational tools and applications to simplify learning processes. QB is one of the projects aimed at enhancing access to educational resources for students and educators.



ONESERVER

ONESERVER

Project: OneServer - Realtime Data Sharing

Developed by: Subham Mandal

Introduction:

OneServer is a real-time data sharing platform developed by Subham Mandal. This platform facilitates seamless exchange of data among users using Firebase Database Functions. With OneServer, users can easily share and retrieve data in real-time, enabling efficient collaboration and communication.


Instructions:

  1. LOAD Function:

    • Function Syntax: LOAD(path, callback)

    • Purpose: Loads data from the specified path in the Firebase database.

    • Parameters:

      • path: The path in the database from which to load data.
      • callback: A function to handle the loaded data.
    • Usage Example:

      LOAD("path/to/data", function(data) {
          // Handle loaded data here
      });
  2. GET Function:

    • Function Syntax: GET(path, callback)

    • Purpose: Retrieves the last value from the specified path in the Firebase database.

    • Parameters:

      • path: The path in the database from which to retrieve data.
      • callback: A function to handle the retrieved data.
    • Usage Example:

      GET("path/to/data", function(data) {
          // Handle retrieved data here
      });
  3. PUSH Function:

    • Function Syntax: PUSH(path, text, successCallback, errorCallback)

    • Purpose: Pushes data to the specified path in the Firebase database.

    • Parameters:

      • path: The path in the database to which data will be pushed.
      • text: The data to be pushed.
      • successCallback: (Optional) A function to execute on successful data push.
      • errorCallback: (Optional) A function to execute on error during data push.
    • Usage Example:

      PUSH("path/to/data", "Data to push", 
          function(successMessage) {
              // Handle success
          },
          function(errorMessage) {
              // Handle error
          });
  4. SET Function:

    • Function Syntax: SET(path, text, successCallback, errorCallback)

    • Purpose: Sets data at the specified path in the Firebase database.

    • Parameters:

      • path: The path in the database where data will be set.
      • text: The data to be set.
      • successCallback: (Optional) A function to execute on successful data set.
      • errorCallback: (Optional) A function to execute on error during data set.
    • Usage Example:

      SET("path/to/data", "Data to set", 
          function(successMessage) {
              // Handle success
          },
          function(errorMessage) {
              // Handle error
          });
  5. DEPLOY Function:

NEW UPDATE : use EVENT(functionName,path) instead of DEPLOY for store message (PUSH-GET) system

  • Function Syntax: DEPLOY(myFunction, path, key)

  • Purpose: Deploys a function to run whenever data changes at the specified path in the Firebase database.

  • Parameters:

    • myFunction: The function to be deployed.
    • path: The path in the database to monitor for changes.
    • key: The key associated with the path.
  • Usage Example:

    DEPLOY(myFunction, "path/to/data", "key",
        function(data) {
            // Function to execute on data change
        });
  1. DELETE Function:

    • Function Syntax: DELETE(path, text, successCallback, errorCallback)

    • Purpose: Deletes data from the specified path in the Firebase database.

    • Parameters:

      • path: The path in the database from which data will be deleted.
      • text: (Optional) The specific data to be deleted.
      • successCallback: (Optional) A function to execute on successful data deletion.
      • errorCallback: (Optional) A function to execute on error during data deletion.
    • Usage Example:

      DELETE("path/to/data", "Data to delete", 
          function(successMessage) {
              // Handle success
          },
          function(errorMessage) {
              // Handle error
          });

Conclusion:

With OneServer, Subham Mandal has developed a powerful real-time data sharing platform, offering efficient collaboration and communication among users. Whether you're loading existing data, pushing new updates, or deploying custom functions, OneServer provides a seamless solution for real-time data exchange.

For more information and support, refer to the documentation or contact Subham Mandal.