|Number of watchers on Github||377|
|Number of open issues||3|
|Average time to close an issue||19 days|
|Average time to merge a PR||3 days|
|Open pull requests||6+|
|Closed pull requests||46+|
|Last commit||over 1 year ago|
|Repo Created||over 4 years ago|
|Repo Last Updated||over 1 year ago|
|Organization / Author||watson-developer-cloud|
|Do you use personality-insights-nodejs? Leave a review!|
|View open issues (3)|
|View personality-insights-nodejs activity|
|View on github|
|Fresh, new opensource launches 🚀🚀🚀|
Trendy new open source projects in your inbox! View examples
The IBM Watson [Personality Insights][service_url] service uses linguistic analysis to extract cognitive and social characteristics from input text such as email, text messages, tweets, forum posts, and more. By deriving cognitive and social preferences, the service helps users to understand, connect to, and communicate with other people on a more personalized level.
You need a Bluemix account. If you don't have one, sign up. Experimental Watson Services are free to use.
Download and install the Cloud-foundry CLI tool if you haven't already.
manifest.yml file and change
<application-name> to something unique. The name you use determines the URL of your application. For example,
applications: - services: - my-service-instance name: <application-name> command: npm start path: . memory: 512M
cf api https://api.ng.bluemix.net cf login
cf create-service personality_insights lite my-pi-service cf create-service-key my-pi-service myKey cf service-key my-pi-service myKey
.envfile in the root directory by copying the sample
.env.examplefile using the following command:
cp .env.example .env
You will update the
.env with the information you retrieved in steps 5.
.env file will look something like the following:
Point your browser to http://localhost:3000.
Optional: Push the application to Bluemix:
After completing the steps above, you are ready to test your application. Start a browser and enter the URL of your application.
<your application name>.mybluemix.net
For more details about developing applications that use Watson Developer Cloud services in Bluemix, see Getting started with Watson Developer Cloud and Bluemix.
Add your application's callback URL:
.env file and add your twitter application credentials:
cf logs <application-name> --recent
. app.js // express entry point config // express configuration error-handler.js express.js i18n.js passport.js security.js helpers // utility modules personality-insights.js twitter-helper.js i18n // internationalization en.json es.json ja.json manifest.yml package.json public css data // sample text and tweets fonts images js router.js // express routes server.js // application entry point test views // ejs views
This sample code is licensed under Apache 2.0.
Find more open source projects on the IBM Github Page
Sample web applications that include this package may be configured to track deployments to IBM Bluemix and other Cloud Foundry platforms. The following information is sent to a Deployment Tracker service on each deployment:
This data is collected from the
package.json file in the sample application and the
VCAP_SERVICES environment variables in IBM Bluemix and other Cloud Foundry platforms. This data is used by IBM to track metrics around deployments of sample applications to IBM Bluemix to measure the usefulness of our examples, so that we can continuously improve the content we offer to you. Only deployments of sample applications that include code to ping the Deployment Tracker service will be tracked.