added a server so you do not need to update a text file mauly
yaaaaa
This commit is contained in:
1 parent
46a95d3a19
commit
63d4ec0009
10 files changed
+1084
-235
No files matched your search
@@ -0,0 +1,62 @@
|
||||
Linux system service setup
|
||||
|
||||
This lets the server start automatically on boot on a Linux device.
|
||||
|
||||
1. Copy the project to the Linux machine.
|
||||
Example path:
|
||||
/opt/fedl
|
||||
|
||||
2. Make sure Node.js is installed.
|
||||
Check with:
|
||||
node -v
|
||||
|
||||
3. Test the server manually first.
|
||||
In the project folder run:
|
||||
HOST=0.0.0.0 PORT=3000 node server/server.js
|
||||
|
||||
4. Create a systemd service file.
|
||||
Run:
|
||||
sudo nano /etc/systemd/system/fedl.service
|
||||
|
||||
5. Paste this into the service file.
|
||||
|
||||
[Unit]
|
||||
Description=FEDL Node Server
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
WorkingDirectory=/opt/fedl
|
||||
ExecStart=/usr/bin/env node /opt/fedl/server/server.js
|
||||
Environment=HOST=0.0.0.0
|
||||
Environment=PORT=3000
|
||||
Restart=always
|
||||
RestartSec=3
|
||||
User=www-data
|
||||
Group=www-data
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
||||
6. Reload systemd.
|
||||
sudo systemctl daemon-reload
|
||||
|
||||
7. Enable the service.
|
||||
sudo systemctl enable fedl.service
|
||||
|
||||
8. Start the service.
|
||||
sudo systemctl start fedl.service
|
||||
|
||||
9. Check status.
|
||||
sudo systemctl status fedl.service
|
||||
|
||||
10. View logs.
|
||||
sudo journalctl -u fedl.service -f
|
||||
|
||||
Notes
|
||||
|
||||
- If your project is not in /opt/fedl, change WorkingDirectory and ExecStart.
|
||||
- If www-data does not exist on your Linux system, use your own service user.
|
||||
- Make sure port 3000 is allowed through the firewall.
|
||||
- If you use a reverse proxy like Nginx, you can proxy to:
|
||||
http://127.0.0.1:3000
|
||||
+250
@@ -0,0 +1,250 @@
|
||||
new|1|Flamewall|https://youtu.be/x4Io4zkWVRw?si=tf0DBaWahOPPEWxO
|
||||
new|2|Thinking Space II|https://youtu.be/CELNmHwln_c?si=soP6SzRn92G1vKbl
|
||||
new|4|Amethyst|https://youtu.be/4lfkzz1VCbA?si=6NNeWiH-nnwu21Cb
|
||||
new|3|Tidal Wave|https://youtu.be/9fsZ014qB3s?si=oj4E4ceyNtRVcDvd
|
||||
new|5|Orbit|https://youtu.be/QKcv8DkNPd0?si=cKBFqp7GRqmfupgJ
|
||||
new|6|BOOBAWAMBA|https://youtu.be/20fYiqLAo_E?si=QSSixz31rWeeQ_8B
|
||||
new|7|Nullscapes|https://youtu.be/EztneTPp5CU?si=ljn-S_bnGYwOoUyV
|
||||
new|8|Quantuese Processing|https://youtu.be/j5NC0u1Q91Q?si=FvUEY2kdDtNMqWSD
|
||||
new|9|Subsuming Vortex|https://youtu.be/0eYG1ogJpIQ?si=7XRxfDsmMVb0G9Si
|
||||
new|10|Andromeda|https://youtu.be/mk3TDemdkC0?si=va13_RKAJUyFvhcv
|
||||
new|11|Every End|https://youtu.be/AO--mVVFtKI?si=gIT5vxyc1FZ4_8Jj
|
||||
new|12|Silent Clubstep|https://youtu.be/GR4OMkS3SN8?si=CMNz8bPBaUU94wiy
|
||||
new|13|Anathema|https://youtu.be/_uKwmjHmySI?si=PgXwX7Z--wCay34b
|
||||
new|14|Acheron|https://youtu.be/sBKR6aUorzA?si=0A9S2_W8gi1awZ81
|
||||
new|15|Ashley Wave Trials|https://youtu.be/aTxt76U3e2Q?si=RVcEcOTOfs7NGWRi
|
||||
new|16|Avernus|https://youtu.be/16Zh8jssanc?si=0o6d2dH4p_J7UjKB
|
||||
new|17|Menace|https://youtu.be/nnkgghxxsEE?si=OuUQfD7WbXVooYyX
|
||||
new|18|Spectre|https://youtu.be/MzsSLKJrLSI?si=-bXtr_jG96kTCzy4
|
||||
new|19|Abyss Of Darkness|https://youtu.be/ejJkpqcMMCY?si=Rpp4HEi1kOMh-p0h
|
||||
new|20|Defeated Circles|https://youtu.be/nU5AQPzd2YA?si=6eKDMPh-2QjDBBOF
|
||||
new|21|Tunnel Of Despair|https://youtu.be/LpS4JREhW98?si=Z6_DRV5YZTEA0TeQ
|
||||
new|22|Subterminal Point|https://youtu.be/h2wmRMgACH4?si=nDD0-bmLqPgcdVJP
|
||||
new|23|KOCMOC|https://youtu.be/2CxE-UWCIG4?si=9xz4hBjtNKe8Rcbs
|
||||
new|24|Slaughterhouse|https://youtu.be/kpcF1-QAHQc?si=7ybF9EbcjqHzloLM
|
||||
new|25|Kyouki|https://youtu.be/KDa5c0CJTHs?si=WU0sPusFLB7Jtkam
|
||||
new|26|The Lightning Rod|https://youtu.be/nQDTi077O6M?si=Kqp2Od3lJx1YWTDB
|
||||
new|27|Based After Based|https://youtu.be/yQBFyUvB3lY?si=Cmxbc5jrTrNlcmG5
|
||||
new|28|CHIL|https://youtu.be/DROMiCc2ZRM?si=_bR8CCnqJGVCex9F
|
||||
new|29|Sakupen Circles|https://youtu.be/ofG2mJi9kEA?si=3yv78_jxidKPhtL5
|
||||
new|30|Deimos (ItsHybrid)|https://youtu.be/b2yHaIk5zio?si=AMIuVFR-EW4CK8_P
|
||||
new|31|Eyes In The Water|https://youtu.be/yvLwiOy3KEA?si=1991xs25WTEoTbE0
|
||||
new|32|Voltage|https://youtu.be/wBRvBN9tmlc?si=GU2md9I7ZnUV7Rfr
|
||||
new|33|Firework|https://youtu.be/QBe5x2o9v2w?si=dhPg9YcCRjwngxU9
|
||||
new|34|Silentlocked|https://youtu.be/O-IQeUdEGvI?si=KeSHH6kwZoSVGINT
|
||||
new|35|poocubed|https://youtu.be/fzL31vai1ms?si=9Gwk7RDtbEFxOJ6t
|
||||
new|36|KOSETSU|https://youtu.be/hZ8vFX8z_BU?si=P6fFal0yazJbje2O
|
||||
new|37|Through The Gates|https://youtu.be/4yHA6jux5UI?si=nstk3A6FDN3QR-qm
|
||||
new|38|Saul Goodman|https://youtu.be/hjs5PjUaw9k?si=qJpGrru21d50gO5R
|
||||
new|39|The Salt Factory|https://youtu.be/lQ7M-Sgov24?si=nXYVL0XGy5NOJLXn
|
||||
new|40|Snowbound|https://youtu.be/cjHwgbtAkXU?si=ghJbRJCkN-m0zu60
|
||||
new|41|CONVOLSION|https://youtu.be/qeRKuyU3eGI?si=UPaem0b3V8fX0L1r
|
||||
new|42|The Apocalyptic Trilogy|https://youtu.be/RUBbpsTR5eU?si=mEsPtyMLrQgP5fWl
|
||||
new|43|MINUSdry|https://youtu.be/YvA8ehhzz0Q?si=DT6DfrXOQ41swSIR
|
||||
new|44|Sevvend Clubstep|https://youtu.be/TvA8EJTJFCc?si=Rm9HyExGYpeGn4qs
|
||||
new|45|Edge Of Destiny|https://youtu.be/rUphe3H59yU?si=dZ8LgDyqif1ET_k1
|
||||
new|46|The Halucination|https://youtu.be/tYbXsNkO9HE?si=b8hmXS98BAjDlPzF
|
||||
new|47|CONVULSION|https://youtu.be/qeRKuyU3eGI?si=qJN026t6RcGjU3iW
|
||||
new|48|Solar Flare|https://youtu.be/eHQNgty8ypY?si=ZdUIODdeDYLAXeHI
|
||||
new|49|LIMBO|https://youtu.be/kXYMbaMVOZg?si=fWm4ngeSxBhFZadA
|
||||
new|50|The Catacombs|https://youtu.be/T9-75lfKVQg?si=zEH6vP1617n5666I
|
||||
new|51|Gaggatronda|https://youtu.be/A4G41vw6Cf0?si=0B8vDSj8vPElRa4i
|
||||
new|52|Codependence (Solo)|https://youtu.be/IKGk41hSnDo?si=1hmZYSDTYOxjWW6u
|
||||
new|53|Belladonna|https://youtu.be/saHSgoU1JQQ?si=SyIGkLNhmE1D8So7
|
||||
new|54|Collapse (Nexel)|https://youtu.be/RCFpXyf6bn0?si=WMfEkJJRqN6xaLxZ
|
||||
new|55|Mayhem|https://youtu.be/U6e6DD32noM?si=YCWNMvQ34ohce3H3
|
||||
new|56|Walter White|https://youtu.be/KzK62PkWOJ0?si=UQdOGms7z-pG-XPp
|
||||
new|57|CROMACAVE|https://youtu.be/tfpsMZI6z-o?si=OG_8nmb3MUpR-EBz
|
||||
new|58|The Plunge|https://youtu.be/8gW1-_u1K0Y?si=Sei6SdC7G-QzrKdy
|
||||
new|59|Infinite Chaos|https://youtu.be/wOMVERxU5IA?si=xig-kQM3x3e5fH1k
|
||||
new|60|Damascus|https://youtu.be/MWQyCUGt76Y?si=p3xkwoLEbK0p-ucw
|
||||
new|61|Operation Evolution|https://youtu.be/WsVF-ayipvY?si=SGz8C0T9IXeu1YeR
|
||||
new|62|SARYYX NEVER CLEAR|https://youtu.be/rRlyvmjcz_4?si=v6Eva9LHV2iLzNaf
|
||||
new|63|The Yangire|https://youtu.be/V3FjIorIfWg?si=5DR0YRTHFMw8dZ7z
|
||||
new|64|Decks Dark|https://youtu.be/l52ApE4HWkY?si=85C832hCxG0PUThq. hi
|
||||
new|65|Climax|https://youtu.be/E4ppq2WeAAs?si=dOWHqoBCSC_3liFu
|
||||
new|66|ORDINARY|https://youtu.be/4QiHP3jpGnk?si=0plaftXpA8nOrUf8
|
||||
new|67|wavterminal|https://youtu.be/dlvsCE3xYkQ?si=ihNU2fqTufiJ3t7N
|
||||
new|68|Loops Of Fury|https://youtu.be/9HBG3i5zbw8?si=7SnwcoJkF5Wke-im
|
||||
new|69|Sinister Silence|https://youtu.be/dJCdTMQxHMo?si=eXhBEf1AiZRxnwr_
|
||||
new|70|arcturus|https://youtu.be/a_Bqa8l9Xtc?si=Tz6FaY_wAld1xjGq
|
||||
new|71|Cimmerian Shade|https://youtu.be/lUNvV1k19HA?si=P9_B0sDua9WZ_bQj
|
||||
new|72|PSYCHOPATH|https://youtu.be/1luL7tTE8p8?si=YKhXZzpUsFUntBQ2
|
||||
new|73|Midnight|https://youtu.be/NhkN_a9cNi8?si=kxmLQdZfSmiXjV6s
|
||||
new|74|Tartarus|https://youtu.be/JptG7rwti1U?si=HCtGcPUmKQEtJlB9
|
||||
new|75|Sonic Wave Infinity|https://youtu.be/C3-l_fFikpQ?si=-tbOdlhQ49L9WeOe
|
||||
new|76|BEELINE (solo)|https://youtu.be/nt6T9YDb6gw?si=isN4Q0jDZnuMsldv
|
||||
new|77|Jigsaw|https://youtu.be/FPfSqlI0T30?si=xb8vXJ2girhi-dbs
|
||||
new|78|Waterfall|https://youtu.be/VKuVdqneG9Y?si=8CRjd1ttXRM8mWLh
|
||||
new|79|THE JET ENGINE|https://youtu.be/8Q20XU__LoQ?si=NKm0fq3qFgiX53e9
|
||||
new|80|Coalescence|https://youtu.be/do-a2EzZ4R8?si=zEIRXm5OR97WKgX1
|
||||
new|81|BPATA MPAKA|https://youtu.be/sSbHYzYgYfA?si=7g9yQ1XnoZtQrqgP
|
||||
new|82|The Wonder Of You|https://youtu.be/iQ3RzYCvLvA?si=JU5AW_dP1Mgmxq7A
|
||||
new|83|Delta|https://youtu.be/_rr3J8DkIm4?si=BU9VW8h-wKoWAcRJ
|
||||
new|84|The Golden|https://youtu.be/wpS5PSHmji0?si=J7dT2Srdo_LqTrd7
|
||||
new|85|Terminal Rampancy|https://youtu.be/29hRhhqQTLc?si=5GGOrtxUootbEY-F
|
||||
new|86|Natural Disaster|https://youtu.be/_0GqdSFmG_8?si=4kUa8hJqK-bT70nI
|
||||
new|87|Viprin UFO|https://youtu.be/LTMW9Py-nHE?si=vIBNIDOhvQi9FpVd
|
||||
new|88|Oblivion|https://youtu.be/ZcmDAm50BB0?si=otqXWvzIRzL1L3wq
|
||||
new|89|NETWORK|(Agat3) https://youtu.be/K7wJi01J5D8?si=hEJIwYn1J9RY_-XG
|
||||
new|90|UNKNOWN|https://youtu.be/a1sQxQqU6EM?si=737UNiYWoU5CM0zQ
|
||||
new|91|Verdant Landscape|https://youtu.be/wjZxkS5KC0A?si=WFTg6aixL7Z0YAGp
|
||||
new|92|Levigo|https://youtu.be/AROmUo7DNkE?si=eHXmi5PmBW94sXRl
|
||||
new|93|ATOMIC CANNON Mk III|https://youtu.be/xlAI_wVvnx8?si=3UJXMPHYGKH-qDyC
|
||||
new|94|Shukketsu|https://youtu.be/nkG4hKJIz2g?si=KNly0dPd063HIlKU
|
||||
new|95|Checked Steam|https://youtu.be/cq6047eYGXs?si=yE7kCbjdAp_7iMlM
|
||||
new|96|WOBBLING MACHINE (Solo)|https://youtu.be/RKX6VOsICOg?si=QjLbBucxWJhI3TW0
|
||||
new|97|Critical Heat|https://youtu.be/UjYIt2jy_BY?si=5Jl3FoAOEPSGL1t-
|
||||
new|98|Crystal Crusher (Solo)|https://youtu.be/RKX6VOsICOg?si=ZPPM3qjbx2KraxYW
|
||||
new|99|limbo but uwu ig idk|https://youtu.be/3B36N-qfOD8?si=NshDR7CO9whAkga9
|
||||
new|110|Graceful|https://youtu.be/5kOD37vQHKE?si=VXPDbYRAZstaq_Oy
|
||||
new|101|The Paroxysm of Rage|https://youtu.be/nq3i1qJQeEk?si=-xey2Qd9hrtu_AZU
|
||||
new|102|paranoia (amplitron)|https://youtu.be/Aw83i8Zmh_0?si=0GwEgBHuexCHsuhk
|
||||
new|103|Blood Echo|https://youtu.be/fSvk4tLlQzQ?si=a6pIZkJ58uM2y5gs
|
||||
new|104|Aerial Gleam|https://youtu.be/eyZjKtrGVYw?si=qmsOlWAezCCgYeGb
|
||||
new|105|DISCONNECT|https://youtu.be/HxHo-LzwSao?si=PsuqKQi9DL-iYtUW
|
||||
new|106|VOID|https://youtu.be/kN1FUoucoSc?si=NjE2E12FF9urJL45
|
||||
new|107|Starlit Stroll|https://youtu.be/U7MM74dTXuI?si=WofCw6_u86gVLFSb
|
||||
new|108|Trueffet|https://youtu.be/yHESkazVD4Q?si=Wo04Qh1dOGEDb3JH
|
||||
new|109|Henken|https://youtu.be/M--2oQKrV68?si=WsNcHkxpVO3BGW6T
|
||||
new|110|Kenos|https://youtu.be/Bs1kVySdUtI?si=4DAwPGeehZX6YzEJ
|
||||
new|111|azure blast|https://youtu.be/TN0FQ3KBv4w?si=JVSf1iXaez8sSOw0
|
||||
new|112|Fragile|https://youtu.be/XfXzGv0oALw?si=0Blg4XOudYEomR2A
|
||||
new|113|Starlight Summit|https://youtu.be/LB9xx41M4Ns?si=xC9MsTIzlM44AdhE
|
||||
new|114|chrome hearts|https://youtu.be/GK0Z8rgziH4?si=orYnpQGMPKPQTW_O
|
||||
new|115|Esfera|https://youtu.be/GK0Z8rgziH4?si=1km0bCL22Egbl-Xk
|
||||
new|116|Destruction 19|https://youtu.be/UUyzGg_4mqs?si=uJw74R5zv3GwYiag
|
||||
new|117|NEUTRA|https://youtu.be/0fNBFwNS1qg?si=sqeqmMqFotN6jgGh
|
||||
new|118|Time Lapse|https://youtu.be/MnI1mM_wjzc?si=FEmB2fWSeNqJDIwv
|
||||
new|119|Dark Dimension|https://youtu.be/g2DrT9bHjOI?si=TuVvUXo1XDGlNB5_
|
||||
new|120|Guideless Goobering|https://youtu.be/pFxdGKYQrcg?si=nQ3kVcqOq8UEt6uB
|
||||
new|121|Hard Machine|https://youtu.be/z3grmsqAaas?si=xBvAriHwGl-IneUd
|
||||
new|122|Swing Swing|https://youtu.be/_hL9hFU3WI4?si=4ihgAE4n8VrN4lsk
|
||||
new|123|DISSONANCE|https://youtu.be/IfFser-f9c0?si=P2D23zMCX96QPEL8
|
||||
new|124|Zodiac|https://youtu.be/N4QjElo58_o?si=0PMsj7NgBfUUIzLZ
|
||||
new|125|Goober Rage Stage|https://youtu.be/1rrouUCPXhY?si=2o6cHwApb4o-08jL
|
||||
new|126|Crackhead Circles|https://youtu.be/_4MDq8Us5gM?si=KO4JZZNs5mYpzAg3
|
||||
new|127|Lotus Flower|https://youtu.be/pTgOHcwJhd0?si=k92uqgcP9o-Ovvxr
|
||||
new|128|Scream Machine|https://youtu.be/n-KeSGEX7Jg?si=dY8omM-22Iju1uck
|
||||
new|129|Axinie|https://youtu.be/LjfO2fqnozI?si=KuTXmwjvM6_t45rS
|
||||
new|130|Widestep|https://youtu.be/TN8fHN_XV3o?si=UdbpxVI9fvujr4RU
|
||||
new|131|Judgement Knights|https://youtu.be/MzzY8nWfxnk?si=zAXlxJZFiKCGlu9A
|
||||
new|132|Keres|https://youtu.be/MFFIjZP7PxQ?si=lkc9tRawW-XNv6-7
|
||||
new|133|Lithium|https://youtu.be/IfVM56qNVdA?si=AIEw5JbV9OQW60eJ
|
||||
new|134|IRIS|https://youtu.be/WiFwAU8pgr4?si=Q0fTY2Hd2oQLBLaW
|
||||
new|135|Cold Sweat|https://youtu.be/tBpEPXGhQug?si=0s6Mh429yBF_dkea
|
||||
new|136|Galeforce|https://youtu.be/G6VF2Gvmpz0?si=WzSIerGhoz3u0fcV
|
||||
new|137|in this|https://youtu.be/gQiOdxOyNGg?si=gTmiy_pThUKYLcb0
|
||||
new|138|Frost Spirit|https://youtu.be/KXbaRnRpm58?si=LHfUVqpxgRYtEmkH
|
||||
new|139|Thinking Space|https://youtu.be/iHf2nanWjvE?si=stgikKc4PPw8F7vp
|
||||
new|140|Promethean|https://youtu.be/19kE_Yo8puE?si=0AcDFf0OjghIgdpX
|
||||
new|141|Ascent|https://youtu.be/sII8zQZIJlg?si=gHbK7-s-CLho4vM0
|
||||
new|142|Dry Out Copyable 2|https://youtu.be/FXW9J9CaREU?si=6Be51250LT0SQLHy
|
||||
new|143|Renevant|https://youtu.be/2Y8kBw8YxO8?si=UQS31gMvOew6fsrc
|
||||
new|144|ConClusion|https://youtu.be/wpuPFFqnJFY?si=CEHAmw_k9_WjadYw
|
||||
new|145|Trotil|https://youtu.be/kblnO7LfQn4?si=Lq_V_8BrvzGo-KAH
|
||||
new|146|We Are Not The Same (Solo)|https://youtu.be/yLLd4mpeYC4?si=5Cugl6UYnBcx8A0a
|
||||
new|147|Disconnected Descent|https://youtu.be/TP7OAAVH-uA?si=2_eKfx19pc3xyZFt
|
||||
new|148|Instinct (KrmaL)|https://youtu.be/6W3Gvi9ft0w?si=o-AAu2Yz7G5Ytm2Y
|
||||
new|149|Calculator Core|https://youtu.be/VrgNFsF2NGw?si=VxW5clIFp8YLf0nv
|
||||
new|150|Sky Shredder|https://youtu.be/Z-69-4RKRgk?si=O96OhtDsQ1BFgJLG
|
||||
new|151|Crimson Planet|https://www.youtube.com/live/euMInLjyG6k?si=09vneTJfThjnpACw
|
||||
new|152|shimmer (amplitron)|https://youtu.be/J89j-_l7ezg?si=fMAyAXx2w028BXR8
|
||||
new|153|DIRECTIONS|https://youtu.be/-SEgSgxpRxo?si=ZLxK5XD8B8pPiVsp
|
||||
new|154|ATOMIC CANNON Mk II|https://youtu.be/4-lOnZsfhNQ?si=ON-czwtJawFMgZc_
|
||||
new|155|Ringy Paracosm|https://youtu.be/RIDuh4IVGiw?si=9s892WxqybVKVYlP
|
||||
new|156|Cognition|https://youtu.be/enl0GOyskPs?si=qe18-qXwxoUkokyt
|
||||
new|157|Axiom Asterism|https://youtu.be/LnFdka3HekA?si=ehLne5DftKG33cQH
|
||||
new|158|Indivine|https://youtu.be/g2CVts-tX70?si=XfKVwmDp5HoTj_--
|
||||
new|159|Neon Skyline|https://youtu.be/HvGjIAeLv_8?si=sEu3tWgtJJrcbHxd
|
||||
new|160|Cosmic Cyclone|https://youtu.be/0I9xCfTOpXg?si=2Q1_twV5HH3zLOMN
|
||||
new|161|CORRODERE|https://youtu.be/-V87Bh44lAU?si=zIbxyCYezyK_dAna
|
||||
new|162|SARY NEVER CLEAR|https://youtu.be/23u3SlwrOMw?si=GMUrk4CONI8n-RHy
|
||||
new|163|qoUEO|https://youtu.be/PJbfroH0sok?si=lQM4JwbyXlwc85td
|
||||
new|164|Rigel|https://youtu.be/liJFeLHcW_Q?si=UaqSqF1aJLB6kt6t
|
||||
new|165|Scrubbabingo force|https://youtu.be/eT_izuCxGUU?si=_VzD8E46NCZMx11v
|
||||
new|166|RUST|https://youtu.be/mEXGlrNMyR4?si=HQuHo3l0QAtY4hPO
|
||||
new|167|Call Me Maybe|https://youtu.be/Jc-98ND5OJk?si=3EsBQ7paobUcgnel
|
||||
new|168|ta1LSD0ll|https://youtu.be/w-NH14vgMb8?si=xocgmpg6Jn92_Evs
|
||||
new|169|SAND SAILOR|https://youtu.be/QPmzn9X77Uo?si=vWrkuwERNWZbYcTb
|
||||
new|170|Gloxinia|https://youtu.be/MJh_6Z5v6bM?si=Lyzx4IoWnWQfZELk
|
||||
new|171|Akashic Records|https://youtu.be/qnZnV6q-mt4?si=7n69Q8erUDa58c0H
|
||||
new|172|Cobwebs|https://youtu.be/bgZ85rCaEGY?si=gEsYkSGnk6G5qP_r
|
||||
new|173|meow hard|https://youtu.be/jOhGH2TckDA?si=ZhjMOsVjzFxDPFZm
|
||||
new|174|Lucid Nightmares|https://youtu.be/G7hBE5qWx6M?si=D8M1hqmsA9k3oVOU
|
||||
new|175|RUTHLESS|https://youtu.be/9jwVeYtc6H4?si=meyxbaKJqCe5Fums
|
||||
new|176|Coral Cave|https://youtu.be/kTOM1nSEF3I?si=XpkVW2-qTylokjI-
|
||||
new|177|SUPERHATEMEWORLD|https://youtu.be/fhmgZYCJ29M?si=yjgUX5sohJ0ej1uW
|
||||
new|178|Launchpad Labyrinth|https://youtu.be/XELUzw7UbNU?si=rxyVGXKE74rHb8DT
|
||||
new|179|Tenkai (Solo)|https://youtu.be/AM2KHSZkjcc?si=bkHkgj1CO1yv31vv
|
||||
new|180|Sharpscapes|https://youtu.be/wM-J6fLIs14?si=4njb0wT6coAwDDZB
|
||||
new|181|obsession|https://youtu.be/OjXKjQXnhjA?si=5QdHmozIHvdl4I4-
|
||||
new|182|Horros (Solo)|https://youtu.be/OS46C-zvqDA?si=2DKf_LRA2PwIjAtG
|
||||
new|183|Omega Interface|https://youtu.be/sVngEgj0who?si=CyRbOzs4OKeB4StS
|
||||
new|184|Amalgam|https://youtu.be/82DDR2BjXSI?si=xm-EDHngoNovfmzf
|
||||
new|185|Ragnarok|https://youtu.be/aGtXqn9HL2o?si=Hhkr5oZGdAF4iMgZ
|
||||
new|186|Sides Of My Mind (Solo)|https://youtu.be/d3d2KPVgCAk?si=L-zr7NZGRrWqiDuJ
|
||||
new|187|Ykds1479ymdppr|https://youtu.be/Wom_gMcauUI?si=UVV5h9rfRPws1Wr5
|
||||
new|188|The Art of the Blade|https://youtu.be/KSJl4A9eUW4?si=PmbP4G67aQEaeyyh
|
||||
new|189|NYUTOPIA|https://youtu.be/TPyZKiTOUQA?si=5_D_ddUqaz7xSDpS
|
||||
new|190|me when machine gang (Solo)|https://youtu.be/C8uSFs01qwc?si=dgFXyQFS1rKk3ug9
|
||||
new|191|Deep Bass|https://youtu.be/5uu8xXgz_4s?si=jnpzgqcYgIxNS5m6
|
||||
new|192|Pandemonium (Cersia)|https://youtu.be/OKEHsJPaeQY?si=cv5MRfDMZjs4nwno
|
||||
new|193|Silent Club|https://youtu.be/NjEiHIokTGM?si=wmVPS04r8wi_jgNG
|
||||
new|194|Descent Into Exile|https://youtu.be/whtt_WkG_20?si=Ly3S1-pgtmJfDgpI
|
||||
new|195|The Rupture|https://youtu.be/SaU454afkKY?si=QcXiCR2boQsd8iWg
|
||||
new|196|no jokes|https://youtu.be/oVhGYiQ8fBc?si=gtjiunr2HOryqsGn
|
||||
new|197|Jupiter My Favourite|https://youtu.be/adVQ_yflcGM?si=9l3Eo1YxpL7SQ5o1
|
||||
new|198|Kappa|https://youtu.be/eIfc1zUuOPU?si=OETCzxDyPm4VtXhI
|
||||
new|199|FARBIDI THEORY|https://youtu.be/MQD6klwhcsM?si=-8ZQ1fakCN5HVqAw
|
||||
new|200|LD50|https://youtu.be/2OiS9mVDlmQ?si=XvEHVQlMZvYv7eUM
|
||||
new|201|Bloom|https://youtu.be/oZTyTgeb7q4?si=MC61WABnqDPSl377
|
||||
new|202|the ocean of fish|https://youtu.be/dNHUg49I3sM?si=chQLiCsZmoPjhh6E
|
||||
new|203|BarbarosFinaleFinale|https://youtu.be/F32ekXnS3a4?si=UW9apT8TfrCh6NEL
|
||||
new|204|Nabil Let Go|https://youtu.be/IRYire6RkUg?si=h50D6hCRKxr8O4wR
|
||||
new|205|Bloodlust|https://youtu.be/5SzKetF2btw?si=hs8FajAMmW52a2DD
|
||||
new|206|Asterios|https://youtu.be/YG3taML8WjA?si=p68EsJTC4tJ58g4q
|
||||
new|207|Sank|https://youtu.be/6ZuEWp1dJ0c?si=eR2pCKpXj_JPVDUEz
|
||||
new|208|Escape Room|https://youtu.be/sZebhp6gFuI?si=HrzmtVkFY9OZtJBa
|
||||
new|209|Jesse Pinkman|https://youtu.be/fYcBtp4X8GA?si=HlxPFd0TEfufE5Qz
|
||||
new|210|Moving Forward|https://youtu.be/2wYnXim6TYY?si=z66XmjVqWN3w5Xo0
|
||||
new|211|X84|https://youtu.be/ZzGVEmS5D8s?si=WRnQYxFWB9uFAmJi
|
||||
new|212|Excruciation Chamber|https://youtu.be/BdkuNdFfY-o?si=QeVwcyv4Sx27exQI
|
||||
new|213|Terminux|https://youtu.be/-UgocJ3WYn4?si=uSiVYs6waOj5y8pz
|
||||
new|214|Twilight|https://youtu.be/5bZ3RQP7fjs?si=EqntxnyH46JPb4tM
|
||||
new|215|IthacropoliX|https://youtu.be/n4nbu_fZcf4?si=3AojnEZYAGP3BBPQ
|
||||
new|216|CITRA|https://youtu.be/O_kYXvwqrWo?si=EjQHq04G3caSRj5H
|
||||
new|217|Nhelv|https://youtu.be/k117h9HUt6s?si=O-tw91m3_FFR0mYN
|
||||
new|218|Awedsy|https://youtu.be/hx5ebE8e6Eo?si=aoXlzm82otqvYXmJ
|
||||
new|219|TORN|https://youtu.be/QUpzux7AoTI?si=5BBH3x-j2x62ttNl
|
||||
new|220|MewneI|https://youtu.be/yWfbbEbTK9w?si=LHHUHaA3zc7Yy_uY
|
||||
new|221|Deimos (EndLevel)|https://youtu.be/FgxsNzQnF5o?si=yalVUa7cMm-_KVXC
|
||||
new|222|Congregation|https://youtu.be/KVlcdvGYcj0?si=uwMTvD45yMSST6jW
|
||||
new|223|Gracefully|https://youtu.be/5RBn1nk5wb4?si=YzBymZ_FrG1fGeK0
|
||||
new|224|DsinK|https://youtu.be/EsQAFvKqo3U?si=9DApZCy2SmlFOnLo
|
||||
new|225|Sigma|https://youtu.be/3INdO0esQRw?si=LTYmo4jqmiNECG4W
|
||||
new|226|Sazerix|https://youtu.be/l8aBStUgYOs?si=xxfUBcsVHJDeiutP
|
||||
new|227|Pootis Engage XTREME|https://youtu.be/2SqKRRphIVI?si=e__iWF4KfDo_QrsR
|
||||
new|228|Aronia|https://youtu.be/eJe3i5KyKOk?si=LpTBN7qyPb4VIYDq
|
||||
new|229|Exosphere|https://youtu.be/HRbBub341W4?si=tPr0acTWVgsYiSfj
|
||||
new|230|untitled unmastered|https://youtu.be/zzPsYgyU4n4?si=GhsZ-FF2GtgI-E9f
|
||||
new|231|Pagoda|https://youtu.be/KVomsNjGalQ?si=gOl163Fh0uJgbxpxhttps://youtu.be/npIZ8TGMDvk?si=4HY9BHGn-5jf8JXH
|
||||
new|232|Fog|https://youtu.be/Kt_fxnOYeco?si=LnB8xdFEpvNvEUED
|
||||
new|233|Knights of Thunder|https://youtu.be/npIZ8TGMDvk?si=A7qhkz-Y7-Vif1l2
|
||||
new|234|ATOMIC CANNON|https://youtu.be/VZS5Yn9Y-OI?si=PTnl4Z7QFIUx1YNI
|
||||
new|235|Cicatrize|https://youtu.be/QfF3jgPQZk0?si=h5Ov2QbMoNCo0aVk
|
||||
new|236|Dust Bowl|https://youtu.be/EXuxHOAAVrI?si=uOOvtL7gLoZ0odwr
|
||||
new|237|Gustavo Fring|https://youtu.be/OB0YiqyEp2E?si=7pkhUZ6Fzuu4HVVi
|
||||
new|238|Ploink|https://youtu.be/BV19Dg09LN0?si=kTEGTO_tyhpA_SoZ
|
||||
new|239|Fragmented|https://youtu.be/RnLoliyy4k0?si=_Vuwadp_AEsTKuDX
|
||||
new|240|Ouroboros|https://youtu.be/hLTnewDC2Hs?si=OnPDUTPAQAQCcU0W
|
||||
new|241|FRIDAY|https://youtu.be/YUoFhrN3aKw?si=ma7I1IAtU0UbrSDu
|
||||
new|242|CONNECT|https://youtu.be/oo_PqnEHZvo?si=q1jV7efm_cq_XPYM
|
||||
new|243|Ourwa|https://youtu.be/BImzHJnr5Ks?si=_ZT5WifsgFTBMK9O
|
||||
new|244|XRAY|https://youtu.be/zk1G8Spw1hg?si=YL20_J-29p0x-iD2
|
||||
new|245|Visible Ray|https://youtu.be/hHpaB752peM?si=syGmQ7hSd536vRCp
|
||||
new|246|the wiener|https://youtu.be/rgMruLorH1c?si=hQ6-z1GvwBCNzk8A
|
||||
new|247|Hardry|https://youtu.be/59JlNpDlhH8?si=fXzYUMwfmEjMPmQa
|
||||
new|248|Ghoul|https://youtu.be/W1kgdxV_8E0?si=9ULxBYkdf5TaoHX6
|
||||
new|249|kowareta|https://youtu.be/wxWBFaZYHPM?si=7-9C-9-oa5jrNIrC
|
||||
new|250|Apotheosis|https://youtu.be/X261xjwc3HQ?si=7-DnqQMviuTWtoOG
|
||||
@@ -0,0 +1,150 @@
|
||||
const http = require('http');
|
||||
const fs = require('fs');
|
||||
const path = require('path');
|
||||
const { URL } = require('url');
|
||||
|
||||
const appRoot = path.resolve(__dirname, '..');
|
||||
const dataPath = path.join(__dirname, 'data.txt');
|
||||
const port = Number(process.env.PORT) || 3000;
|
||||
const host = process.env.HOST || '127.0.0.1';
|
||||
const clients = new Set();
|
||||
|
||||
const contentTypes = {
|
||||
'.html': 'text/html; charset=utf-8',
|
||||
'.js': 'application/javascript; charset=utf-8',
|
||||
'.css': 'text/css; charset=utf-8',
|
||||
'.txt': 'text/plain; charset=utf-8',
|
||||
'.json': 'application/json; charset=utf-8',
|
||||
'.png': 'image/png',
|
||||
'.jpg': 'image/jpeg',
|
||||
'.jpeg': 'image/jpeg',
|
||||
'.svg': 'image/svg+xml',
|
||||
'.ico': 'image/x-icon'
|
||||
};
|
||||
|
||||
function parseData(text) {
|
||||
return text
|
||||
.split(/\r?\n/)
|
||||
.map(line => line.trim())
|
||||
.filter(Boolean)
|
||||
.map(line => {
|
||||
const parts = line.split('|').map(part => part.trim());
|
||||
return {
|
||||
level: parts[0] || 'Unknown',
|
||||
position: parts[1] || '',
|
||||
title: parts[2] || 'Untitled',
|
||||
url: parts[3] || ''
|
||||
};
|
||||
});
|
||||
}
|
||||
|
||||
function readDataText() {
|
||||
return fs.readFileSync(dataPath, 'utf8');
|
||||
}
|
||||
|
||||
function sendJson(res, statusCode, payload) {
|
||||
res.writeHead(statusCode, {
|
||||
'Content-Type': 'application/json; charset=utf-8',
|
||||
'Cache-Control': 'no-store'
|
||||
});
|
||||
res.end(JSON.stringify(payload));
|
||||
}
|
||||
|
||||
function sendEvent(eventName, data) {
|
||||
const message = `event: ${eventName}\ndata: ${JSON.stringify(data)}\n\n`;
|
||||
for (const client of clients) {
|
||||
client.write(message);
|
||||
}
|
||||
}
|
||||
|
||||
function serveFile(reqPath, res) {
|
||||
let filePath = path.join(appRoot, reqPath === '/' ? 'index.html' : reqPath.slice(1));
|
||||
filePath = path.normalize(filePath);
|
||||
|
||||
if (!filePath.startsWith(appRoot)) {
|
||||
res.writeHead(403, {'Content-Type': 'text/plain; charset=utf-8'});
|
||||
res.end('Forbidden');
|
||||
return;
|
||||
}
|
||||
|
||||
fs.readFile(filePath, (err, data) => {
|
||||
if (err) {
|
||||
res.writeHead(err.code === 'ENOENT' ? 404 : 500, {'Content-Type': 'text/plain; charset=utf-8'});
|
||||
res.end(err.code === 'ENOENT' ? 'Not found' : 'Server error');
|
||||
return;
|
||||
}
|
||||
const ext = path.extname(filePath).toLowerCase();
|
||||
res.writeHead(200, {
|
||||
'Content-Type': contentTypes[ext] || 'application/octet-stream',
|
||||
'Cache-Control': ext === '.html' ? 'no-store' : 'no-cache'
|
||||
});
|
||||
res.end(data);
|
||||
});
|
||||
}
|
||||
|
||||
const server = http.createServer((req, res) => {
|
||||
const url = new URL(req.url, `http://${req.headers.host}`);
|
||||
|
||||
if (req.method === 'GET' && url.pathname === '/api/list') {
|
||||
try {
|
||||
const text = readDataText();
|
||||
sendJson(res, 200, { items: parseData(text), text });
|
||||
} catch (error) {
|
||||
sendJson(res, 500, { error: 'Could not read server/data.txt' });
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
if (req.method === 'PUT' && url.pathname === '/api/list') {
|
||||
let body = '';
|
||||
req.on('data', chunk => {
|
||||
body += chunk;
|
||||
if (body.length > 5 * 1024 * 1024) {
|
||||
req.destroy();
|
||||
}
|
||||
});
|
||||
req.on('end', () => {
|
||||
try {
|
||||
const payload = JSON.parse(body || '{}');
|
||||
const text = String(payload.text || '').trim();
|
||||
fs.writeFileSync(dataPath, `${text}\n`, 'utf8');
|
||||
sendEvent('list-update', { updatedAt: new Date().toISOString() });
|
||||
sendJson(res, 200, { ok: true });
|
||||
} catch (error) {
|
||||
sendJson(res, 400, { error: 'Invalid list payload' });
|
||||
}
|
||||
});
|
||||
return;
|
||||
}
|
||||
|
||||
if (req.method === 'GET' && url.pathname === '/events') {
|
||||
res.writeHead(200, {
|
||||
'Content-Type': 'text/event-stream; charset=utf-8',
|
||||
'Cache-Control': 'no-cache, no-transform',
|
||||
Connection: 'keep-alive'
|
||||
});
|
||||
res.write('retry: 3000\n\n');
|
||||
clients.add(res);
|
||||
req.on('close', () => {
|
||||
clients.delete(res);
|
||||
});
|
||||
return;
|
||||
}
|
||||
|
||||
if (req.method !== 'GET' && req.method !== 'HEAD') {
|
||||
res.writeHead(405, {'Content-Type': 'text/plain; charset=utf-8'});
|
||||
res.end('Method not allowed');
|
||||
return;
|
||||
}
|
||||
|
||||
serveFile(url.pathname, res);
|
||||
});
|
||||
|
||||
fs.watch(dataPath, { persistent: true }, () => {
|
||||
sendEvent('list-update', { updatedAt: new Date().toISOString() });
|
||||
});
|
||||
|
||||
server.listen(port, host, () => {
|
||||
console.log(`fedl server running at http://${host}:${port}`);
|
||||
console.log(`Using live list file: ${dataPath}`);
|
||||
});
|
||||
Reference in new issue
Block a user