sakuya9t / social-x Goto Github PK
View Code? Open in Web Editor NEWA web application which calculates similarity between two social media accounts.
License: Other
A web application which calculates similarity between two social media accounts.
License: Other
backend endpoint should be able to return value in realtime mode.
When running the script, should download npm, create pipenv, install things needed for the app. Can be done in shell or ansible.
We want the similarity always between 0 and 1
test case:
account1 = {'platform': 'twitter', 'account': 'ClassicVines1'}
account2 = {'platform': 'pinterest', 'account': 'mariesbazaar'}
which returns 1.55
When data is missing from the database, should be able to retrieve simplified data and put into DB.
The URL linked to the Instagram image expires after a few weeks. We cannot reuse the image URL in the Instagram account. Instead, we can download the image, convert it to base64 and saves it.
Train two models:
Then apply both models to the backend, so I can calculate the similarity according to the data format.
Rearrange the UI so that it would fit screens with width<600
Test to make sure the project works when
Goal: Should have integrated test for each case and guarantee that all tests can pass.
There should be a script when executes, both frontend and backend are stopped.
In the batch, if an account is parsed in realtime mode, reparse it in batch mode.
Can do it just calling the "retrieve" function with username, it will auto-detect this. Just need a trigger.
Similarity module based on image labels
Though not necessarily get labels of all images, we need to make sure we have such function.
This is a part of post content similarity. Should not affect the profile-only part.
Probably not doing this in the final project itself.
There should be a restart button, resetting everything on the page so that the user can start over. (can be just a simple refresh)
such a restart button exists
When click on the restart button, everything goes back to the beginning
The chromedriver is not uploaded to the repository. Should have a script to set it up.
When frontend get error from backend in querying (e.g. invalid account), it should have an error page indicating this.
As said in the report, we should have the following endpoints:
/info | GET | Get raw information of a given account.
/query | POST | Query details of similarity between two accounts
We are generating samples using the sample file and the pairing files. We want to get rid of these files.
As mentioned, we should refactor the calculator module into a single module, peeling off all related calculation functionalities.
Save a config template. When running, the template should be renamed and copied to the target folder.
*Notice: have to be tested in other directories other than the project folder.
Currently, we only use the default way to run the application. When a user uses their own account to run the app, we should be able to get protected accounts with these accounts.
The MRISA repo is here https://github.com/vivithemage/mrisa
We need to deploy MRISA as one of our dependencies.
It should be deployed to port 7999 and keep running with the server.
Following things should be completed in automation.
Probably not doing this in the final project because of the Instagram parsing efficency.
When a user gives feedback to a data item, we should label it according to user feedback and place it into the labelled database while deleting old items.
1. make sure this logic works
2. user can use this function from frontend.
We need bash scripts to start the frontend and the backend at one time.
The backend should run in a pipenv
Explain each parameter. What it is used for, why, and where to get the resources.
Should have a readme file briefly talk through what this project is
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.