Catalog of /lynxchan/

Mode: Thread
Name
Subject
Message

Max message length: 4096

Files

Max file size: 1.00 MB

Max files: 3

Captcha
E-mail
Password

(used to delete files and postings)

No location

Remember to follow the rules

R: 0 / I: 0 / P: 1

2.2 breaking api changes

On 2.2 the json api features were merged into the form api and removed afterwards.
So not only the json input was removed, bu also the json output of the form api was remade. The refactoring is finished and penumbra has been adapted.

2.2 is scheduled to be released on march of 2019.
Open

R: 0 / I: 0 / P: 1

List of chans using LynxChan

R: 0 / I: 0 / P: 1

NEVER EVER

R: 3 / I: 0 / P: 1

3 feature requests

Feature request 1: make it possible in the global settings to edit the footer of the chan, just as it is already possible to edit the header. It would only make sense to have both, not just one.
Feature request 2: allow board owner to enable or disable TOR posting on their board, lest the administrator hasn't disabled it globally.
Feature request 3: make it possible to view a user's post history by clicking on their hashed IP, to determine wether a user is legit or a newbie spammer.
>inb4 no no no
I think these are decent requests and handy features that should be basic to any imageboard software.
Open

R: 10 / I: 2 / P: 1

LYNXCHAN IS UNSAFE

Prevent XSS ! Context Based Encoding
Cross Site Scripting (XSS) is one of the most common but ignored types of attacks. Since Node.js is implemented with JavaScript, there is high-risk of developers introducing XSS vulnerabilities in the code. Output encoding is one of the best ways to prevent XSS attacks. Most view engines such as Jade provides built-in encoding mechanisms. But most important thing is that you should use appropriate encoding to based on the context. Following are some situations that you should use context specific encoding.

URL encode parameters which are appended as url parameters. URL encoding can be done using encodeURI() and encodeURIComponent()javascript built-in methods.
HTML encode parameters which are displayed in HTML. HTML encoding is provided by view engines such as jade as well as frontend frameworks like Angularjs. You also can explicitly do it from server side using htmlencode npm module.
CSS encode parameters which are used in element styles

R: 8 / I: 0 / P: 1

I.C.U.P

Lets talk about IP's. Okay so where the fuck on lynxchan do you see someone's ip? Even logged in as root, i never see my ip or any posters ip. I notice settings about ip, but never seen an ip.

R: 9 / I: 0 / P: 1

not sure if there's a general suggestions thread but

one of the only real feature I prefer on vichan over lynx is the fact that you can paste a picture from your clipboard into the post. it seems to work on some modern social media shit. it can save a lot of time for the user but not sure if that would jibe with what you're trying to do or if it would be a priority.

R: 15 / I: 0 / P: 1

LynxChan Installation Tutorial

This is for debian.

Pre-install: Make sure you've created a user account with sudo rights, and use it for the rest of the tutorial. Do not run lynxchan on the root account.

1. Install nodejs

curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -
sudo apt-get install -y nodejs
sudo apt-get install -y build-essential

2. Install Mongodb
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv EA312927
echo "deb http://repo.mongodb.org/apt/debian wheezy/mongodb-org/3.2 main" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.2.list
sudo apt-get update
sudo apt-get install -y mongodb-org

3. Install imagemagick
sudo apt-get install imagemagick

4. Install ffmpeg
sudo echo deb http://www.deb-multimedia.org testing main non-free \
>>/etc/apt/sources.list
sudo apt-get update
sudo apt-get install deb-multimedia-keyring
sudo apt-get update
sudo apt-get install ffmpeg

5. Clone lynxchan into your home folder
cd
sudo apt-get install git
git clone https://gitgud.io/LynxChan/LynxChan.git

6. set up lynxchan
cd LynxChan/aux
./setup.sh
Continue through it, I recommend installing the default front-end at first.

7. run the root setup so 'lynxchan' becomes a command
sudo ./root-setup.sh

8. run lynxchan for the first time

lynxchan

ctrl c to close it

Part 2: Setting up a different front-end
You can either edit the current fe or get another one. Check out the list here.

1. Find the fe that you want
cd
cd LynxChan/src
git clone 'the one you want'

2. Create the root account
lynxchan -ca -l login -p pass -gr 0
where login and pass are the login and password of your choice

3. run lynxchan
lynxchan

4. Head into your account. The default port is 8080
so localhost:8080 or ipaddress:8080 in your web browser
localhost:8080/login.html

login with your newly created root account

5. head into localhost:8080/globalSettings.html
change a bunch of settings, but mostly change the fe to the folder of the desired fe.
example, if you cloned freechMinimalism, change the 'fe' part to 'freechMinimalism'

6. Save, the stop the engine and rebuild
lynxchan -r

Running lynxchan through nginx reverse web proxy

1. install nginx
sudo apt-get install nginx

2. remove apache2/stop apache2
to remove:
sudo service apache2 stop
sudo apt-get remove apache2
sudo apt-get autoremove

to stop:
sudo service apache2 stop

3. change the conf files for nginx
cd /etc/nginx/sites-a*
nano domain.org

paste this
<code>
server {
listen 80;
server_name localhost;

location / {
proxy_pass http://localhost:8080;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade';
proxy_set_header Host $host;
proxy_cache_bypass $http_upgrade;
proxy_set_header X-Forwarded-For $remote_addr;
}
}
</code>

link it

ln -s /etc/nginx/sites-available/domain.org /etc/nginx/sites-available/domain.org

delet the old config
cd /etc/nginx/sites-e*
rm -Rf default

start lynxchan as a service, then start nginx
sudo service nginx start
sudo service lynxchan start

access it from your web browser

--------------------------------------------------

Tell me if you want a https://letsencrypt.org/getting-started/ tutorial for nginx, it's simple though just google it

R: 12 / I: 3 / P: 1

A GUI proposition

Hello.
I noticed you're developing a "fast" backend for an imageboard.
I'm a developer of a general-purpose GUI for an abstract imageboard.
Have a look at 4chan.org integration:
https://catamphetamine.github.io/chanchan/?chan=4chan
The project is hosted on GitHub:
https://github.com/catamphetamine/chanchan
If you're interested I could add support for `lynxchan` in that GUI.

R: 5 / I: 0 / P: 1

2.2

Will lynxchan ver 2.2 render penumbra useless?
Open

R: 1 / I: 0 / P: 2

>[477] #lynxchan, You need to login to services to join or speak in that channel.
GAY AS FUCK
But no surprise there
Open

R: 10 / I: 1 / P: 2

ssl

So I got a ssl cert from godaddy. I put the two .ssl files in the src/be directory. I enabled ssl via admin panel and it is set to "1" in the general json I get the following error when starting lynxchan and ssl does not work. Is there another step or something im missing?


>>>Failed to listen to HTTPS.
Error: error:0906D06C:PEM routines:PEM_read_bio:no start line
at Object.createSecureContext (_tls_common.js:113:17)
at Server (_tls_wrap.js:870:27)
at new Server (https.js:62:14)
at Object.createServer (https.js:85:10)
at startSSL (/root/LynxChan/src/be/workerBoot.js:91:35)
at startListening (/root/LynxChan/src/be/workerBoot.js:148:5)
at dbBooted (/root/LynxChan/src/be/workerBoot.js:213:7)
at preIndexSet (/root/LynxChan/src/be/db.js:826:5)
at initBoardIndexedCollections (/root/LynxChan/src/be/db.js:842:3)
at initGlobalIndexedCollections (/root/LynxChan/src/be/db.js:858:3)
Worker 2 booted at Thu, 07 Feb 2019 07:41:23 GMT
Failed to listen to HTTPS.
Error: error:0906D06C:PEM routines:PEM_read_bio:no start line
at Object.createSecureContext (_tls_common.js:113:17)
at Server (_tls_wrap.js:870:27)
at new Server (https.js:62:14)
at Object.createServer (https.js:85:10)
at startSSL (/root/LynxChan/src/be/workerBoot.js:91:35)
at startListening (/root/LynxChan/src/be/workerBoot.js:148:5)
at dbBooted (/root/LynxChan/src/be/workerBoot.js:213:7)
at preIndexSet (/root/LynxChan/src/be/db.js:826:5)
at initBoardIndexedCollections (/root/LynxChan/src/be/db.js:842:3)
at initGlobalIndexedCollections (/root/LynxChan/src/be/db.js:858:3)
Worker 1 booted at Thu, 07 Feb 2019 07:41:23 GMT
Open

R: 1 / I: 0 / P: 2

https://10-chan.com
What theme should I install?

R: 5 / I: 0 / P: 2

I like this placeholder fe- it is fast, looks nice, and is awesome. It just needs youtube support. Is there any way possible to have a youtube video show in a post? Even if i had to hard code it...that would be fine. It would be nice to be able to show a youtube video in a post. Thanks.

R: 3 / I: 0 / P: 2

>install lynxchan in a test environemnt
>works fine
>try it in production
>suddenly get 404 errors on api calls
>isolate it to the api js files returning 404s
>wonder for two whole days how you managed to fuck up the install
>turns out they're not in the git anymore
bruh
Open

R: 7 / I: 0 / P: 2

I use https://indiachan.com/ front end, it is quite cool. For some reason, on my site the "latest posts" feature shows only the post, like >>b/10 but it does not show the first few words of the post. Does anyone know why this is? THanks
Open

R: 0 / I: 0 / P: 2

ad 4usa.org to the chans pls. its lynxchan and indiachan front end.
Open

R: 7 / I: 0 / P: 2

fucking ssl

So i have lynx on a bare ubuntu server. How the fuck do i get ssl? do i temporarily install apache, run letsencrypt, then delete Apache or something?

R: 3 / I: 0 / P: 2

for some reason , when i click on an image, it opens it in a new tab instead of resizing it and opening inline on the page.. like if you click on any image..how do i fix that?
Open

R: 3 / I: 0 / P: 2

Three things:

1. Are you able to bumplock threads in the latest LynxChan version? I know it's not possible in 2.0.1.
2. Stop requiring users to login to IRC to be able to join #LynxChan, that's retarded.
3. Enable TOR for this chan. It's annoying to have to enable a VPN in order to post anonymously.
Open

R: 5 / I: 0 / P: 3

When viewing a thread, the "Return" link is missing unless you let scripts run.

Why do this? Please make "Return" html, kthx.
Open

R: 0 / I: 0 / P: 3

Mewch.net admin arrested

The mewch.net admin was arrested for copyright violation so he shut down his site. Apparently Stephen Lynx turned him in for copying lynxchan. Mwech said his database failed. Nice job, Lynx.

R: 1 / I: 0 / P: 3

I was able to install lynxchan on my local server but how would I install it in heroku?
Open

R: 2 / I: 0 / P: 3

The installation tutorial video is down

R: 1 / I: 0 / P: 3

so will we get fortunes by typing #fortune in the email field anytime soon

R: 4 / I: 1 / P: 3

lynxchan users- READ THIS

Hey, admin. Do you do anything to secure mongo db in your setup file? Apparently mongo db is crazy not secure. This article explains why.
https://www.theregister.co.uk/2017/01/11/mongodb_ransomware_followup/
Open

R: 8 / I: 0 / P: 3

being a cheap bastard

i like how lynxchan is meant to save people shitloads of money! with certbot and letsencrypt ssl , this money saving concept should be extended to ssl though!!! built in ssl is no longer necessary with free letsencrypt options. also, it costs money tonget the two required cert files. so im running lynxchan on ubuntu, from here to use letsencrypt i install nginx, then delete apache, then set up the sal cert with letsencrypt, right? As a feature request, maybe have it more user friendly tonuse letsencrypt? thanks !! i spend my money on coke and whores so saving money on ssl certs should be at least 3 more blow jobs from whores per week.

R: 4 / I: 0 / P: 3

My lynxchan instance with the placeholder front end isn't serving the favicon any more (it was yesterday, not sure what changed). The file is still in src/fe/static. Any idea how to fix this?
Open

R: 1 / I: 0 / P: 3

Lynxchan Docker

I'm a noob with docker, only know how to run images them not make them.

Does anyone already have, or want to make, lynxchan for docker? Either an all in one, or lynxchan in one that links to a separate mongodb image?
That would be sweet.

R: 1 / I: 0 / P: 3

bcrypt 2

Hi, just thought i would show you this. I used the right version of node this time so it didnt give me all the errors, but it still gives a warning that anything under bcrypt 2.0 has a wrap around bug? Just thought i would show you this. Thanks
Open

R: 2 / I: 0 / P: 4

hi, one last stupid question then i will try irc lke you said for other questions. So to get LynxChan, i used git clone https://gitgud.io/LynxChan/LynxChan.git but that gives 2.0.11 so i went and looked around and see that 2.0.x is at the git directory
LynxChan/LynxChan/tree/2.0.x

but what do i run to get the 2.0.x version and not the 2.0.11 version? Thanks so much for answering all the questions.
Open

R: 3 / I: 0 / P: 4

version control

sorry 4 the dumb question, im new. So really, people are not supposed to use version 2 and up? That's what ive been doing with node 10. So i notice the latest "stable" is 1.9.13 -- so that version is really what im supposed to be using? I notice that one says to stick to node 8.
Open

R: 18 / I: 4 / P: 4

bcrypt

hi! Every time i do the install script, it gives an error that the bcrypt git repo isn't even there. Your install script is calling for version 1 of bcrypt, and when one does npm install bcrypt you can see that bcrypt is version 3 now, AND 1 has a wrap around security issue. Can you pls update the install script to call the right version of bcrypt? It shits out like 30 bcrypt warnings and errors, and it says the git address where the script is tryig to get bcrypt from does not even exitst. thanks!!
Open

R: 3 / I: 0 / P: 4

suggestion????

Hi! you know on top where it lists the board in red? How about you make that a clickable link in reply mode, so when one posts and they are returned to the thread they just made in reply mode, it is easy to get back to the main board index?? Just an idea for you.
Open

R: 1 / I: 0 / P: 4

Hi! Do any of your add ons work for the latest ver of LynxChan?

https://gitgud.io/LynxChan?page=1

R: 2 / I: 0 / P: 4

error i get with rebuild

i have ubuntu 18 i never got this issue before, now i get it every single time when i do lynxchan --rebuild -r Does anyone know what this error means? Thanks.
Open

R: 7 / I: 0 / P: 4

cookie problems with Lynxchan

So i have this problem of being kicked off of boards and it makes me sign back in. Like my own board, i sign in and sometimes it just kicks me off and i have to log into my account again. I made a board at mewch.net , and had the same problem. I got to thinking, since i post on multiple lynxchan boards, do they all use the same cookie name? Im thinking that maybe the cookies conflict with each other and it kicks me off from being signed in so it makes me sign in again?
Open

R: 2 / I: 0 / P: 4

Congratulations... you are promoting child porn by listing waifuist.pro that site has pics of 8 to 10 year old girls. That's just wrong.
Open

R: 0 / I: 0 / P: 4

wanted from mewch!

Anyone have a decent yotsuba css like on https://mewch.net/ ? that is awesome go to settings /styling / yotsuba and you can see what i mean i want it!
Open

R: 0 / I: 0 / P: 4

you can put 4usa.org on ur list if you want, it is new as fuk - i only got into node.js 2 days ago and i don't know shit about node.js yet but oah well. My site is more for education and to help others with this not your traditional chan but fuk it... every lynxchan cant be the same.
Open

R: 3 / I: 1 / P: 5

Hi,
thx for lynxchan, stuff looks awesome.

Where do I start ? I have to make a chan board in my own language.

Do I need Linux or can I do it on Windows ?

R: 1 / I: 0 / P: 5

Rebuilding through board

How do I rebuild/refresh lynxchan's pages as a board owner/root? Is there anything in the website's control panel that enables this? Tinyboard/vichan has a feature that enables to do this through the dashboard.
Open

R: 2 / I: 0 / P: 5

how does one add themes? i went into the static/css folder of my frontend and added some themes but none showed up in the theme selector on the site
Open

R: 5 / I: 0 / P: 5

Add-ons: ELI5

how do?

R: 3 / I: 0 / P: 5

wew

>Lynxchan only being used on a bunch of ghost town chans.
>Next not even used on a site that's up.

Both you and Josh failed lmao, go join Parley in dead corner.
Open

R: 5 / I: 0 / P: 5

[code]
<html>
<h1><span style="background-color: #00ccff;">GREETINGS</span></h1>

R: 1 / I: 1 / P: 5

Hello

Why is that? Lyxconfig says max uploadable files are 50MB.

R: 0 / I: 0 / P: 5

LynxChan just completed it's third year and I must say, this project's past year was pretty good. More and more sites running it, including 2 more that migrated and have a considerable amount of traffic. 1.9 and 2.0 fixed it's oldest woes, eliminating slow build times entirely and making the cache much more robust.

Moving forward, I have realized that user-owned boards just didn't caught on. To this day, endchan is still the only LynxChan with relevant traffic that allows it. While I don't think it's worth doing a 180 on how settings and features work to change the focus of the engine, I am going to focus on improving features that benefit sites without user-owned boards. For this, I really encourage chan owners to bring me suggestions of areas that can use improvement for these sites.

I'd like to take this time to thank everyone who contributed this past year. Megamilk, for giving 1.8 and later versions a proper real-world testing. Odilitime for taking his time to test 2.0, which revealed a serious bug. And fapchan for giving a proper migration to be performed, it really helped to pave the way for future migrations.

I'd also like to remember past contributors such as lleaff for giving valuable insight on the very early stages of development, dunecoon for his work with front-ends and doke for designing the face of the project.

R: 3 / I: 0 / P: 5

Please explain how is engine better than Meguca.