/main/ - Usagi

Usagi is a federated image board instance.


(for post deletion)
(12.00 MiB max)
Mark sensitive


File: 0MJqOIan_400x400.jpg (27.96 KiB) [Draw]
IF YOU DOWNLOAD THE USAGI CODE IT DOES NOT WORK. THE TOS ON THE ORIGINAL FCHANNEL CLEARLY SAYS YOU MUST SHARE CODE IF YOU RUN AND CHANGE IT. USAGI IS BREAKING THAT RULE, AND VIOLATING THE TERMS.
>>
Anonymous 01/12/24(Fri)19:26:51 No. fb-TSV4O0MD
Big if true.
>>
Anonymous 01/12/24(Fri)19:36:36 No. fb-10HB2XKE
You should post what error you're getting since it could be a library or version issue. If you did that the admin could probably help you get it running.
>>
Anonymous 01/12/24(Fri)23:31:05 No. fb-0ROJZYFX >>fb-DF4OASWG
bunny can not code episode 2 i dont understand why anyone would be surprised the codebase is not the latest commit nor operable bunny should just pull the plug and move on
>>
Anonymous 01/14/24(Sun)04:12:46 No. fb-DF4OASWG
>>fb-J35XT5LF (OP) Thanks for this PSA -- Fchan has been making the internet a better place since it started for 5 years, and it is bad to see someone use it for evil in a way that goes against the hard work and spirit of Fchan!! I will bring this up to the FChannel-Server devs, I propose that we take and deny usagi on behalf of them so that this admin cannot abuse the work any longer. >>fb-0ROJZYFX Agreed. I didn;t like rabbits but I didn't bring it up because fchannel is such a great app and a rabbit running fchannel couldn't be bad, but again -- always rabbits -- when it comes down to it they always show their true evil colors.
>>
Anonymous 01/14/24(Sun)07:43:09 No. fb-U6BKOSGX
I downloaded his code today (from https://github.com/anomalous69/FChannel-Server/) and it almost works for me (I only tested localhost as I don't have any place I can host it). I have the server running but I can't login as an admin. I get the following error when I try.
00:10:41 | 500 | 10.001688151s |                 | POST    | /619063773631870eb1bfa0f01332451d/verify              | AdminVerify:43 : Post "https://localhost:3000/619063773631870eb1bfa0f01332451d/auth": net/http: TLS handshake timeout
I also downloaded the code from https://github.com/FChannel0/FChannel-Server/ I'll make another post describing what I did to get to the point I'm at.
>>
tripnigger !!hA8TxdCDP. 01/14/24(Sun)07:46:18 No. fb-KBWH4K7M
>>fb-U6BKOSGX I'm gonna tripcode for the rest of the posts. > I also downloaded the code from https://github.com/FChannel0/FChannel-Server/ I didn't type this part out fully. I wanted to say "I also downloaded the code from https://github.com/FChannel0/FChannel-Server/ and I get the same error so I'm probably doing something wrong." This is what I did to get things running. (from what I remember).
git clone https://github.com/anomalous69/FChannel-Server/
git checkout usagi
sudo apt install exiv2 postgresql imagemagick 
# distros go version was too low so I had to install it seperately 
wget https://go.dev/dl/go1.21.6.linux-amd64.tar.gz
rm -rf /usr/local/go && sudo tar -C /usr/local -xzf go1.21.6.linux-amd64.tar.gz
export PATH=$PATH:/usr/local/go/bin
cp config-init config/
After that I had to make the config init file (change the username to what you need) (1/?)
>>
tripnigger !!hA8TxdCDP. 01/14/24(Sun)07:50:32 No. fb-MBCAFUCA
>>fb-KBWH4K7M This is the config init file I used. I edited it with
 
vim config/config-init
instance:localhost:3000
instanceport:3000
instancename:FChan
instancesummary:FChan is a federated image board instance.

## For `instancetp` if you plan to support https
## make sure you setup the ssl certs before running the server initially
## do not start with http:// and then switch to https://
## this will cause issues if switched from on protocol to the other.
## If you do, the database entries will have to be converted to support the change
## this will cause a lot of headaches if switched back and forth.
## Choose which one you are going to support and do not change it for best results.

instancetp:https://

dbhost:localhost
dbport:5432
dbname:fchan
dbuser:my-username
dbpass:password

emailserver:
emailport:
emailaddress:
emailpass:

## comma seperated emails To
emailnotify:

## enter proxy ip and port if you want to have tor connections supported
## 127.0.0.1:9050 default
torproxy:

## add your instance salt here for secure tripcodes
instancesalt:

## this is the key used to access moderation pages leave empty to randomly generate each restart
## share with other admin or jannies if you are having others to moderate
modkey:
>>
tripnigger !!hA8TxdCDP. 01/14/24(Sun)07:53:47 No. fb-TMEHHKXG
>>fb-MBCAFUCA After this, I rebooted my computer to make sure the postgresql server was up and running. After that I had to "Create the database, username, and password for psql that is used in the `config` file." I'm a little bit hazy about what I did here. I referenced this https://stackoverflow.com/questions/11919391/postgresql-error-fatal-role-username-does-not-exist/
sudo -u postgres -i
createuser -s my-username
createdb fchan
psql fchan
fchan=# ALTER ROLE my-username WITH LOGIN;
fchan=# ALTER ROLE my-username WITH PASSWORD 'password';
finally I had to make and run the program
make
./fchan # run the program
(3/?)
>>
tripnigger !!hA8TxdCDP. 01/14/24(Sun)07:57:13 No. fb-8HKRNUEB
These are the software versions I was using.
$ function bar { echo ================== ; }
$ uname -a && bar && go version && bar && psql --version && bar && convert --version && bar && exiv2 --version

Linux my-username 5.4.0-169-generic #187+10.0trisquel12 SMP Fri Dec 8 02:45:24 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
==================
go version go1.21.6 linux/amd64
==================
psql (PostgreSQL) 12.17 (Ubuntu 12.17-0ubuntu0.20.04.1)
==================
Version: ImageMagick 6.9.10-23 Q16 x86_64 20190101 https://imagemagick.org
Copyright: © 1999-2019 ImageMagick Studio LLC
License: https://imagemagick.org/script/license.php
Features: Cipher DPC Modules OpenMP
Delegates (built-in): bzlib djvu fftw fontconfig freetype jbig jng jpeg lcms lqr ltdl lzma openexr pangocairo png tiff webp wmf x xml zlib
==================
exiv2 0.27.2

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public
License along with this program; if not, write to the Free
Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301 USA

>>
Anonymous 01/14/24(Sun)07:57:32 No. fb-R3AE8ESZ
>Post "https://localhost:3000/619063773631870eb1bfa0f01332451d/auth": net/http: TLS handshake timeout Change instancetp in the config from https:// to http:// Then drop recreate the database
>>
tripnigger !!hA8TxdCDP. 01/14/24(Sun)08:01:08 No. fb-3TEH4CZ8
Also I'd like to message the admin of this website privately but I don't have his email. (5) -- end of long ass post
>>
tripnigger !!hA8TxdCDP. 01/14/24(Sun)08:18:38 No. fb-FXRQN7DT
File: fchan_screenshot.png (175.22 KiB) [Draw]
>>fb-R3AE8ESZ Thanks for the help, the fchan server works now. I was able sign in as admin and create a board. Here is a montage of screenshots proving it. This proves to me that the usagi code works fine. I'm not the OP but I hope he figures out what his error was.
>>
tripnigger !!hA8TxdCDP. 01/14/24(Sun)08:23:25 No. fb-NC1TBXTP
>>fb-FXRQN7DT This is the edited configuration file that works for me.
instance:localhost:3000
instanceport:3000
instancename:FChan
instancesummary:FChan is a federated image board instance.

## For `instancetp` if you plan to support https
## make sure you setup the ssl certs before running the server initially
## do not start with http:// and then switch to https://
## this will cause issues if switched from on protocol to the other.
## If you do, the database entries will have to be converted to support the change
## this will cause a lot of headaches if switched back and forth.
## Choose which one you are going to support and do not change it for best results.

instancetp:http://

dbhost:localhost
dbport:5432
dbname:fchan
dbuser:my-username
dbpass:password

emailserver:
emailport:
emailaddress:
emailpass:

## comma seperated emails To
emailnotify:

## enter proxy ip and port if you want to have tor connections supported
## 127.0.0.1:9050 default
torproxy:

## add your instance salt here for secure tripcodes
instancesalt:

## this is the key used to access moderation pages leave empty to randomly generate each restart
## share with other admin or jannies if you are having others to moderate
modkey:
>>
File: tiny-evil.png (412.56 KiB) [Draw]
>>fb-DF4OASWG moon bunny is just stupid here and cant into computer lol
>>
File: jackass.jpg (41.02 KiB) [Draw]
>>fb-J35XT5LF (OP) aannnnnnnnnnnnnnnd suddenly they did work on the repo. The op was right for sure. Fucking greedy fuks all want to have the secret code. Cant do that on open source, motherfuckers.
>>
File: dumb-bunny.jpg (68.82 KiB) [Draw]
>>fb-N4NHQJTZ works everytime

[Post a Reply] 16 / 4

Delete Post: [File Only]
[Home] [Rules] [FAQ]

All trademarks and copyrights on this page are owned by their respective parties.

v0.2.0-c793a28

Theme: