GithubHelp home page GithubHelp logo

mnserver's People

Contributors

moson-mo avatar strit avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

y5

mnserver's Issues

Looking for a hoster for mnserver (serving matray)

Since I'm shutting down my instance of mnserver on manjaro.moson.eu and Manjaro is not willing to host this service, I'm looking for volunteers in the community.

The service is currently being utilized by about 14.000 (concurrent) matray users.

Min. Requirements:

  • 1 CPU core (avg load ~ 3%)
  • 100 MB memory
  • 10 MBit/s connection (serving 14k concurrent users requires about ~1 MBit/s of upstream bandwidth)

The server should be running 24/7 with high availability and a stable internet connection.

Some stats:

  • Average requests per second: ~23
  • Traffic per day: ~11 GB

Install instructions:

git clone https://github.com/moson-mo/mnserver.git
cd mnserver
go build .
sudo cp mnserver /usr/local/bin/
sudo cp mnserver.service /etc/systemd/system/
sudo systemctl enable --now mnserver

Note that the systemd unit file is set up with User=www-data.
Change this according to your setup... (if you have for example nginx installed, this user account should exist already)

The service listens on port 10111.
You can easily test it with curl:

curl -X POST http://127.0.0.1:10111/news -d '{"MaxItems":15,"Categories":["All"]}' 

Problems with the twitter feeds

Cheers moson, it's me, the current "official unofficial hoster" of this cool little software.
I think twitter (probably following their rebrand and/or lockdown of their public APIs) broke something:

Nov 03 09:43:20 manjaro.news mnserver[1020]: 2023-11-03 - 09:43:20: Getting news from twitter...
Nov 03 09:43:20 manjaro.news mnserver[1020]: 2023-11-03 - 09:43:20: response status 404 Not Found: {"errors":[{"message":"Sorry, that page does not exist","code":34}]}

Or maybe the feed the software looks for doesn't exist anymore, I don't know, I don't use twitter.

Looking forward to your feedback,

Marvin

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.