mirror of
https://git.bakhai.co.in/FbIN/4Get.git
synced 2025-11-03 11:31:32 +05:30
Git URL changes
Since my git url moved
This commit is contained in:
parent
53bec95cb8
commit
42dbca6d2f
11 changed files with 20 additions and 20 deletions
|
|
@ -45,7 +45,7 @@ tl;dr 4Get is the best way to browse for stuff.
|
|||
| Curlie | | | | | |
|
||||
|
||||
# Installation
|
||||
Refer to the <a href="https://git.flossboxin.org.in/FbIN/4Get/src/branch/main/docs/">documentation index</a>. I recommend following the <a href="https://git.flossboxin.org.in/FbIN/4Get/src/branch/main/docs/apache2.md">apache2 guide</a>.
|
||||
Refer to the <a href="https://git.bakhai.co.in/FbIN/4Get/src/branch/main/docs/">documentation index</a>. I recommend following the <a href="https://git.bakhai.co.in/FbIN/4Get/src/branch/main/docs/apache2.md">apache2 guide</a>.
|
||||
|
||||
## Contact
|
||||
Stuff breaks all the time but I repair it all the time too. Email me here: <b>dev(at)flossboxin(dot)org(dot)in</b> or create an issue.
|
||||
|
|
|
|||
2
api.txt
2
api.txt
|
|
@ -41,7 +41,7 @@
|
|||
lol!!!!
|
||||
|
||||
Get your instance running here ::
|
||||
https://git.flossboxin.org.in/FbIN/4get
|
||||
https://git.bakhai.co.in/FbIN/4get
|
||||
|
||||
Thanks!
|
||||
|
||||
|
|
|
|||
|
|
@ -66,7 +66,7 @@ class config{
|
|||
// Block SSL ciphers used by CLI tools used for botting
|
||||
// Basically a primitive version of Cloudflare's browser integrity check
|
||||
// ** If curl can still access the site (with spoofed headers), please make sure you use the new apache2 config **
|
||||
// https://git.flossboxin.org.in/FbIN/4Get/docs/apache2.md
|
||||
// https://git.bakhai.co.in/FbIN/4Get/docs/apache2.md
|
||||
const DISALLOWED_SSL = [
|
||||
// "TLS_AES_256_GCM_SHA384" // used by WGET and CURL
|
||||
];
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
# Sample Apache2 configuration
|
||||
This is the apache2 configuration file used on the 4g.flossboxin.org.in official instance, in hopes that it's useful to you!
|
||||
|
||||
Looking for the apache2 guide? <a href="https://git.flossboxin.org.in/FbIN/4get/src/branch/main/docs/apache2.md">go here.</a>.
|
||||
Looking for the apache2 guide? <a href="https://git.bakhai.co.in/FbIN/4get/src/branch/main/docs/apache2.md">go here.</a>.
|
||||
|
||||
```xml
|
||||
<VirtualHost *:443>
|
||||
|
|
@ -146,7 +146,7 @@ Looking for the apache2 guide? <a href="https://git.flossboxin.org.in/FbIN/4get/
|
|||
</VirtualHost>
|
||||
|
||||
<VirtualHost *:443>
|
||||
ServerName git.flossboxin.org.in
|
||||
ServerName git.bakhai.co.in
|
||||
|
||||
SSLEngine On
|
||||
SSLOptions +StdEnvVars
|
||||
|
|
|
|||
|
|
@ -108,7 +108,7 @@ Now, edit the following file: `/etc/apache2/sites-available/000-default.conf`, r
|
|||
</Directory>
|
||||
</VirtualHost>
|
||||
```
|
||||
To make the above snippet work, please refer to our <a href="https://git.flossboxin.org.in/FbIN/4get/src/branch/main/docs/tor.md">tor site guide</a>.
|
||||
To make the above snippet work, please refer to our <a href="https://git.bakhai.co.in/FbIN/4get/src/branch/main/docs/tor.md">tor site guide</a>.
|
||||
|
||||
## default-ssl.conf
|
||||
Now, edit the file `/etc/apache2/sites-available/default-ssl.conf`, remove everything and, again, add each rule while modifying the relevant fields:
|
||||
|
|
@ -177,7 +177,7 @@ Make sure to replace `4g.flossboxin.org.in` with your own domain under the `SSLC
|
|||
</VirtualHost>
|
||||
```
|
||||
|
||||
By default, the first rule dictates where traffic should be redirected to in case the client specifies an unknown domain name. Don't forget your webserver's other rules! For a complete real-world example, please <a href="https://git.flossboxin.org.in/FbIN/4get/src/branch/main/docs/apache2-example.md">check out my real-world config file I use on 4g.flossboxin.org.in</a>.
|
||||
By default, the first rule dictates where traffic should be redirected to in case the client specifies an unknown domain name. Don't forget your webserver's other rules! For a complete real-world example, please <a href="https://git.bakhai.co.in/FbIN/4get/src/branch/main/docs/apache2-example.md">check out my real-world config file I use on 4g.flossboxin.org.in</a>.
|
||||
|
||||
## security.conf
|
||||
If you enabled the `headers` module, you can head over to `/etc/apache2/conf-enabled/security.conf` and edit:
|
||||
|
|
@ -233,10 +233,10 @@ Congratulations! You now have a... 404 error on your webserver, if everything we
|
|||
Run these commands:
|
||||
```
|
||||
cd /var/www/4get
|
||||
git clone https://git.flossboxin.org.in/FbIN/4get
|
||||
git clone https://git.bakhai.co.in/FbIN/4get
|
||||
chmod 777 -R icons/
|
||||
```
|
||||
|
||||
... And try accessing your webserver. You should now have a working 4get instance!
|
||||
|
||||
Please make sure to check out how to further <a href="https://git.flossboxin.org.in/FbIN/4get/src/branch/main/docs/configure.md">configure 4get</a> to your liking!
|
||||
Please make sure to check out how to further <a href="https://git.bakhai.co.in/FbIN/4get/src/branch/main/docs/configure.md">configure 4get</a> to your liking!
|
||||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
<div align=right>
|
||||
|
||||
> NOTE: As the previous version stated, it is better to follow the <a href="https://git.flossboxin.org.in/FbIN/4get/src/branch/main/docs/apache2.md">Apache2 guide</a> instead of the Nginx one.
|
||||
> NOTE: As the previous version stated, it is better to follow the <a href="https://git.bakhai.co.in/FbIN/4get/src/branch/main/docs/apache2.md">Apache2 guide</a> instead of the Nginx one.
|
||||
|
||||
> NOTE: This is going to guess that you're using either a <abbr title="(Arch Linux, Artix Linux, Endeavouros, etc...) ">Arch-based system</abbr> or a <abbr title="(Debian, Ubuntu, Devuan, etc...)">Debian-based system</abbr>, although you can still follow it with minor issues.
|
||||
|
||||
|
|
@ -13,7 +13,7 @@
|
|||
* On Arch-based, run `pacman -Syu`.
|
||||
* On Debian-based, run `apt update`, then `apt upgrade`.
|
||||
3. Install the following dependencies:
|
||||
* `git`: So you can clone <a href="https://git.flossboxin.org.in/FbIN/4get">this</a> repository.
|
||||
* `git`: So you can clone <a href="https://git.bakhai.co.in/FbIN/4get">this</a> repository.
|
||||
* `nginx`: So you can run Nginx.
|
||||
* `php-fpm`: This is what allows Nginx to run *(and show)* PHP files.
|
||||
* `php-imagick`, `imagemagick`: Image manipulation.
|
||||
|
|
@ -121,7 +121,7 @@
|
|||
dinitctl restart nginx
|
||||
```
|
||||
6. Clone the repository to `/var/www`:
|
||||
* `git clone --depth 1 https://git.flossboxin.org.in/FbIN/4get 4get` - It clones the repository with the depth of one commit *(so it takes less time to download)* and saves the cloned repository as '4get'.
|
||||
* `git clone --depth 1 https://git.bakhai.co.in/FbIN/4get 4get` - It clones the repository with the depth of one commit *(so it takes less time to download)* and saves the cloned repository as '4get'.
|
||||
7. That should be it! There are some extra steps you can take, but it really just depends on you.
|
||||
|
||||
<h2 align=center>Encryption setup</h2>
|
||||
|
|
@ -179,12 +179,12 @@
|
|||
}
|
||||
```
|
||||
A real world example is present in [^2].
|
||||
5. Once done, check the configuration with `nginx -t`. If everything's fine and dandy, refer to <a href="https://git.flossboxin.org.in/FbIN/4get/src/branch/main/docs/tor.md">the Tor guide</a> to setup your onion site.
|
||||
5. Once done, check the configuration with `nginx -t`. If everything's fine and dandy, refer to <a href="https://git.bakhai.co.in/FbIN/4get/src/branch/main/docs/tor.md">the Tor guide</a> to setup your onion site.
|
||||
|
||||
<h2 align=center>Other important things</h2>
|
||||
|
||||
1. <a href="https://git.flossboxin.org.in/FbIN/4get/src/branch/main/docs/configure.md">Configuration guide</a>: Things to do after setup.
|
||||
2. <a href="https://git.flossboxin.org.in/FbIN/4get/src/branch/main/docs/apache2.md">Apache2 guide</a>: Fallback to this if you couldn't get something to work, or you don't know something.
|
||||
1. <a href="https://git.bakhai.co.in/FbIN/4get/src/branch/main/docs/configure.md">Configuration guide</a>: Things to do after setup.
|
||||
2. <a href="https://git.bakhai.co.in/FbIN/4get/src/branch/main/docs/apache2.md">Apache2 guide</a>: Fallback to this if you couldn't get something to work, or you don't know something.
|
||||
|
||||
<h2 align=center>Known issues</h2>
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
# Tor setup
|
||||
This guide assumes that there is already a configured webserver sitting on port 80 waiting for localhost connections. The <a href="https://git.flossboxin.org.in/FbIN/4get/src/branch/main/docs/apache2.md">apache2 guide</a> guides you through this.
|
||||
This guide assumes that there is already a configured webserver sitting on port 80 waiting for localhost connections. The <a href="https://git.bakhai.co.in/FbIN/4get/src/branch/main/docs/apache2.md">apache2 guide</a> guides you through this.
|
||||
|
||||
1. Login as `root`.
|
||||
2. Install `tor`.
|
||||
|
|
|
|||
|
|
@ -205,7 +205,7 @@ class favicon{
|
|||
/*
|
||||
Download the favicon
|
||||
*/
|
||||
//$href = "https://git.flossboxin.org.in/assets/img/logo.svg";
|
||||
//$href = "https://git.bakhai.co.in/assets/img/logo.svg";
|
||||
|
||||
try{
|
||||
$payload =
|
||||
|
|
|
|||
|
|
@ -54,7 +54,7 @@ When the image viewer is open, you can use the following keybinds:<br>
|
|||
<div class="code-inline">Escape</div> to exit the image viewer.
|
||||
|
||||
<a href="#schizo"><h2 id="schizo">How can I trust you?</h2></a>
|
||||
You just sort of have to take my word for it right now. If you'd rather trust yourself instead of me (I believe in you!!), all of the code on this website is available trough my <a href="https://git.flossboxin.org.in/FbIN/4get/" class="link">git page</a> for you to host on your own machines. Just a reminder: if you're the sole user of your instance, it doesn't take immense brain power for Microsoft to figure out you basically just switched IP addresses. Invite your friends to use your instance!
|
||||
You just sort of have to take my word for it right now. If you'd rather trust yourself instead of me (I believe in you!!), all of the code on this website is available trough my <a href="https://git.bakhai.co.in/FbIN/4get/" class="link">git page</a> for you to host on your own machines. Just a reminder: if you're the sole user of your instance, it doesn't take immense brain power for Microsoft to figure out you basically just switched IP addresses. Invite your friends to use your instance!
|
||||
|
||||
<a href="#contact"><h2 id="contact">I want to report abuse trough email</h2></a>
|
||||
If you want to talk to me, just drop me an email: dev(at)flossboxin(dot)org(dot)in<br><br>
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@
|
|||
<div class="autocomplete"></div>
|
||||
</div>
|
||||
</form>
|
||||
<a href="settings">Settings</a> • <a href="about">About</a> • <a href="https://git.flossboxin.org.in/FbIN/4get">Source</a><br>
|
||||
<a href="settings">Settings</a> • <a href="about">About</a> • <a href="https://git.bakhai.co.in/FbIN/4get">Source</a><br>
|
||||
<div class="subtext">
|
||||
<a href="https://4g.flossboxin.org.in">Clearnet</a> • <a href="mailto:dev@flossboxin.org.in">Report a problem</a><br>
|
||||
Running on <b>v{%version%}</b>!!
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@
|
|||
</head>
|
||||
<body class="instances">
|
||||
<h1>Instance browser</h1>
|
||||
Learn how to setup your own instance here! <a href="https://git.flossboxin.org.in/FbIN/4get" target="_BLANK">https://git.flossboxin.org.in/FbIN/4get</a>
|
||||
Learn how to setup your own instance here! <a href="https://git.bakhai.co.in/FbIN/4get" target="_BLANK">https://git.bakhai.co.in/FbIN/4get</a>
|
||||
<noscript>
|
||||
<div class="quote">For a better experience, whitelist javascript usage on this page.</div>
|
||||
<table>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue