Skip to content

Welcome to Content Lense 👋

Content lense enables bloggers and publishers to analyse their digital content and generate exciting insights.

Some impressions of our dashboards and visualizations so far:

Dashboard Text-Complexity Topics ArticleDetails ArticleList

There are three main parts of this project: the frontend, the API backend and several analytics microservices (e.g. sentiment or mentioned people)

architecture

The API backend (content-lense-api)

https://github.com/content-lense/content-lense-api

Handles authentication, manages data and importing content. This is based on the amazing api-platform project.

Frontend (content-lense-frontend)

https://github.com/content-lense/content-lense-frontend

React GUI to manage configuration, manage imported data and visualize insights.

Analysis Microservices (content-lense-analysis)

Currently, we plan to implement the following microservices:

  • Sentiment analytics (rates imported text by sentiment)
  • Mentioned entites (currently, mentioned people are analyzed and enriched with wiki data information such as age or gender)
  • Text complexity (basic statistics such as words and text length + scores such as Wiener Sachtextindex and reading time)
  • Topic recognition (selects topics for a text from a given list of topics based on a zero-shot classification)

How to get started

  • We will soon provide a very simple docker compose stack that includes latest stable builds of all parts of content lense. You will then just need to do a docker compose up to get up and running.
  • If you want to try content lense right now, please do the following:
# Checkout and start the API docker stack
git clone git@github.com:content-lense/content-lense-api.git
cd content-lense-api
docker compose up -d
# show logs with docker compose logs -f

# Create the postgres database, load doctrine fixtures and create jwt key pairs
./dev_flush_db.sh

# Checkout and start the frontend
cd ..
git clone git@github.com:content-lense/content-lense-frontend.git
cd content-lense-frontend
pnpm install
pnpm dev &&

# Checkout and start the mention API
cd ..
git clone git@github.com:content-lense/content-lense-mention-api.git
cd content-lense-mention-api
docker build -f Docker/Dockerfile -t content-lense-mentions:latest .
docker run -it --rm -p 5000:5000 content-lense-mentions

# Checkout and start the text complexity API
cd ..
git clone git@github.com:content-lense/content-lense-text-complexity
cd content-lense-text-complexity
docker build -f Docker/Dockerfile -t content-lense-text-complexity:latest .
docker run -it --rm -p 5001:5001 content-lense-text-complexity

# Checkout and start the topic API
cd ..
git clone git@github.com:content-lense/content-lense-topic-detection-api.git
cd content-lense-topic-detection-api
docker build -f Docker/Dockerfile -t content-lense-topic-detection-api:latest .
docker run -it --rm -p 5002:5002 content-lense-topic-detection-api


# Checkout and start the sentiment API
cd ..
git clone git@github.com:content-lense/content-lense-sentiment-api.git
cd content-lense-sentiment-api
docker build -f Docker/Dockerfile -t content-lense-sentiment-api:latest .
docker run -it --rm -p 5003:5003 content-lense-sentiment-api

# Open the frontend at https://localhost and login using the admin credentials

- JWT login with user `admin@cl.com` and password `demodemo`
- _OR_ set the `x-auth-token` to fixture value of `33973585cd5f17cad05f1a09bb663f89` (e.g. using the [ModHeader plugin](https://modheader.com/) for the browser of your choice)

License

Content Lense is licensed under MIT.

Supported by

Media Tech Lab media-tech-lab


Cloud Creators GmbH cloud-creators

Popular repositories Loading

  1. content-lense-frontend content-lense-frontend Public

    React GUI to manage configuration and visualize content-lense data.

    TypeScript 2

  2. .github .github Public

    Content-lense helps blogs and publishers to analyse their content.

    2

  3. content-lense-api content-lense-api Public

    Handles authentication, manages data and importing content

    PHP 1

  4. content-lense-mention-api content-lense-mention-api Public

    Analyses mentioned people in a given article text

    Python

  5. content-lense-text-complexity content-lense-text-complexity Public

    Get the complexity of texts via an HTTP api

    Python

  6. content-lense-topic-detection-api content-lense-topic-detection-api Public

    Python

Repositories

Showing 7 of 7 repositories
  • content-lense-frontend Public

    React GUI to manage configuration and visualize content-lense data.

    content-lense/content-lense-frontend’s past year of commit activity
    TypeScript 2 0 0 0 Updated Dec 20, 2022
  • content-lense-api Public

    Handles authentication, manages data and importing content

    content-lense/content-lense-api’s past year of commit activity
    PHP 1 MIT 0 0 0 Updated Dec 20, 2022
  • content-lense/content-lense-topic-detection-api’s past year of commit activity
    Python 0 0 0 0 Updated Nov 30, 2022
  • content-lense-text-complexity Public

    Get the complexity of texts via an HTTP api

    content-lense/content-lense-text-complexity’s past year of commit activity
    Python 0 0 0 0 Updated Nov 30, 2022
  • .github Public

    Content-lense helps blogs and publishers to analyse their content.

    content-lense/.github’s past year of commit activity
    2 0 4 0 Updated Nov 25, 2022
  • content-lense/content-lense-deployment’s past year of commit activity
    Shell 0 0 0 0 Updated Nov 15, 2022
  • content-lense-mention-api Public

    Analyses mentioned people in a given article text

    content-lense/content-lense-mention-api’s past year of commit activity
    Python 0 0 0 0 Updated Nov 14, 2022

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

Loading…

Most used topics

Loading…