Skip to content

stktyagi/EttyDB

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

96 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EttyDB is a Remote Database Management and Integration Service that allows you to manage your website's database entries using Telegram. With EttyDB, you can conveniently create, edit, and synchronize database entries directly from your mobile device and seamlessly integrate them into your website. It simplifies database management by leveraging Telegram as an interface.

How it Works

  • Telegram Integration: Use our Telegram bots (EttyDB and EttyFetch) to manage database entries through a dedicated Telegram channel.

  • Website Integration: Obtain a script tag by providing your Telegram channel ID on our platform. Include this script tag in your website to display and update database entries in real-time.

  • Real-Time Synchronization: Any modifications made to database entries via Telegram are instantly reflected on your website post reload, ensuring up-to-date content.

Usage

  • Refer to our documentation below for detailed instructions on setting up and integrating EttyDB with your website.
  • Here's the link to the video on how to setup EttyDB and its usage! - Link

Benefits

  • Remote Accessibility: Manage your database entries conveniently from Telegram, accessible from anywhere.

  • Seamless Integration: Integrate database content into your website effortlessly using provided script tags.

  • Real-Time Updates: Ensure consistency between database entries managed via Telegram and their display on your website.

Getting Started

1. Create a Telegram Channel

Set up a Telegram channel to manage your database entries:

  • Open Telegram Desktop and create a new channel.

  • image

  • Make sure your channel is private to make sure your site data is private to you.

  • image

  • Start EttyDB and EttyFetch bots by /start command on their chat.

  • Add EttyDB and EttyFetch bots as administrators to your channel.

  • image

  • image

  • Click on Add Administrator and add both bots like so.

  • image

2. Obtain Channel ID

Copy the Telegram channel ID from the URL of your channel:

3. Integrate with Your Website

Start integrating your database entries into your website:

  • After pasting you will receive the integration script tag from our platform.
  • Include the provided script tag in your website's HTML headers.

4. Start Managing

Begin managing your database entries through Telegram (Store, Fetch, Update, Delete):

  • Store: Create HTML tags on your website to capture user input. Add classes in the specified format and include the gatherInfo() function in your submit button. Make sure to add a placeholder to not get empty type value on telegram. Example:
    <input type="text" class="userInput" placeholder="username" />
    <input type="password" class="userInput" placeholder="password" />
    <input type="email" class="userInput" placeholder="email" />
    <button onclick="gatherInfo()">Submit</button>

Example format received: [{"id":"1721314347250","type":"username","value":"username_value"},{"id":"1721314347250","type":"password","value":"ca978112ca1bbdcafac231b39a23dc4da786eff8147c4e72b9807785afee48bb"},{"id":"1721314347250","type":"email","value":"email_value"},{"id":"1721314347250","type":"chatid","value":"-1234567890"}]

  • Fetch: Display captured responses on your website by adding data-id and data-field values in your tags, received from your Telegram entry message for each entry. Example:
<h1 data-id="1721111435245" data-field="username"></h1>
<p data-id="1721073826842" data-field="email"></p>
  • Update: To update any entry, simply edit the entry on your Telegram channel and click on Reload Data button on our website to see the changes.

  • Delete: Simply delete the entry from your Telegram channel.

  • Auth(Verify): This feature will be added that will also authorize a user for your website features based on username and password(encrypted and only known by user).


P.S -> Even if telegram suffers outages none of our services will suffer except for Update functionality which will have a backup funnel to accept update requests.

This README provides comprehensive information about EttyDB, guiding users from installation and integration to utilizing its features effectively. Adjust the URLs and details as per your actual documentation and service setup.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •