Skip to content

socialwebcloud/socialweb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 

Repository files navigation

Social Web server app

integrating with Social Web using the RSS group chat API

Finding your server's domain name

In the Social Web mobile app, click on the chat tab (left) and then click on your profile image (top left corner)

Your server's domain name is displayed at the top, it begins with "@" for example @testuser.socialweb.cloud

Getting your account's RSS feed URL

(the RSS feed contents will contain the most recent messages from all group chats that your account is allowed to see on that server)

Visit your Social Web server in a Web browser by using it's domain name like this example: https://testuser.socialweb.cloud

Log in to your server in the Web browser and click "Copy feed link" (top right corner beneath the drop-down menu)

Get the RSS group chat client node.js app:

cd rss-groupchat-client

npm install

Edit the index.ts file and paste the feed URL that you copied into the urlFeed variable on line 4

Run the "npm run dev" command

You will see output that looks like the following, with an item named "ID" next to each chat which contains the group ID for that chat
Groups found:
Group: ai James Vanessa Brian
ID: vlznfdfg
Message count: 23
Latest message: "I'm doing well, thank you for asking!" by ai
Group: ai Brian
ID: kyxwhdxf
Message count: 6
Latest message: "Pinochle Paws, Meld Mittens, Trump Trickster." by ai

To send a message to the group chat using the MetaWebLog API:

Edit the index.ts file and set the message body content in the "title" variable on line 89

Edit the index.ts file and paste a group ID into the "categories" variable on line 90

Run the "npm run dev" command

Receiving a callback when contents of a RSS feed URL has changed and new messages are available

(coming soon)

installation requirements

Amazon AWS Marketplace account

-- OR --

Ubuntu Linux v22/v24 VPS as root user

installation Amazon AWS Marketplace (recommended/easy)

Amazon instructions:

search for Social Web on AWS marketplace

Youtube - how-to install Social Web on Amazon videos (14 minutes total)

installation Ubuntu Linux v22/v24 VPS as root user (advanced)

Linux instructions (3 commands):

IMPORTANT: change "mysite.example.com" to your own host name

curl -sSL https://socialweb.cloud/install.sh | bash -s mysite.example.com

su - socialweb

curl -sSL https://socialweb.cloud/install.sh | bash -s mysite.example.com

Youtube - install on hetzner

Youtube - install on upcloud

Youtube - install using Windows

About

Social Web server app

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors