moson-mo / mnserver Goto Github PK
View Code? Open in Web Editor NEWManjaro News server
Manjaro News server
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:
The server should be running 24/7 with high availability and a stable internet connection.
Some stats:
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"]}'
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
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.