Editing FoolFuuka

From Bibliotheca Anonoma

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
[[File:FoolFuuka-and-Asagi.png|thumb]]
[[File:FoolFuuka-and-Asagi.png|thumb]]


'''FoolFuuka''' is a PHP web viewer paired with the Asagi archiver (by Eksopl). It was developed by the FoolCode team who originally made this fork for archive.foolz.us. Currently, it is maintained by 4plebs and the Bibliotheca Anonoma.
'''FoolFuuka''' is a PHP web viewer paired with the Asagi archiver. It was developed by the FoolCode team who originally made this fork for archive.foolz.us. Currently, it is maintained by 4plebs.


== Source Code ==
== Source Code ==
Line 8: Line 8:


* [https://github.com/pleebe/FoolFuuka pleebe/FoolFuuka] - The 4plebs fork of FoolFuuka is the mainline fork used by 4plebs, Desuarchive, RebeccaBlackTech, and many other archivers.
* [https://github.com/pleebe/FoolFuuka pleebe/FoolFuuka] - The 4plebs fork of FoolFuuka is the mainline fork used by 4plebs, Desuarchive, RebeccaBlackTech, and many other archivers.
* [https://github.com/bibanon/asagi bibanon/asagi] - The bibanon fork of Asagi is the mainline fork used by Desuarchive, RebeccaBlackTech, and Archived.moe.
* [https://github.com/bibanon/asagi bibanon/asagi] - The bibanon fork of Asagi is the mainline fork used by Desuarchive, RebeccaBlackTech, and Archived.moe.  
** [[FoolFuuka/Asagi|Asagi Design Document, WIP]]


=== Plugins ===
=== Plugins ===
Line 18: Line 17:
=== Future FoolFuuka/Asagi Replacement ===
=== Future FoolFuuka/Asagi Replacement ===


These components are pieces of a new archiver stack replacing the dated FoolFuuka/Asagi stack by a multiorganizational effort to build a new [[Ayase]] Archival Standard, which could possibly even be a multisite system.
These components are pieces of a new archiver stack replacing the dated FoolFuuka/Asagi stack by a multiorganizational  


* [https://github.com/bibanon/eve bibanon/eve] - [4chan Scraper] (Stability testing) Desuarchive currently uses the Python-based Eve scraper in experiments to archive the troublesome board wsg, and eventually gif.
* [https://github.com/bibanon/eve bibanon/eve] - [4chan Scraper] (Stability testing) Desuarchive currently uses the Python-based Eve scraper in experiments to archive the troublesome board wsg, and eventually gif.
Line 60: Line 59:
=== Dumping FoolFuuka Tables without leaking IPs or Passwords ===
=== Dumping FoolFuuka Tables without leaking IPs or Passwords ===


==== CSV ====
Don't just release the bare SQL dump into the wild. This script will dump to CSV, which is actually quite easy to import back.
 
Don't just release the above SQL dump into the wild. This script will dump to CSV, which is actually quite easy to import back.
 
maybe a good idea to drop the doc_id and media_id columns as 4plebs does https://archive.org/details/4plebs-org-data-dump-2018-01


{{bc|<nowiki>
{{bc|<nowiki>
Line 73: Line 68:
   LINES TERMINATED BY "\n";
   LINES TERMINATED BY "\n";
</nowiki>}}
</nowiki>}}
==== SQL ====
mysqldump doesn't support dropping columns from a dump, so it's not usable for making public .sql dumps. One way to do this is with https://github.com/bbepis/mysqlchump. Example command:
<pre>mysqlchump --table a --connectionString "Server=127.0.0.1;Database=asagi;User Id=backup;Password=backuppassword;" --select 'SELECT `doc_id`, `media_id`, `num`, `subnum`, `thread_num`, `op`, `timestamp`, `timestamp_expired`, `preview_orig`, `preview_w`, `preview_h`, `media_filename`, `media_w`, `media_h`, `media_size`, `media_hash`, `media_orig`, `spoiler`, `deleted`, `capcode`, `email`, `name`, `trip`, `title`, `comment`, `sticky`, `locked`, `poster_hash`, `poster_country`, `exif` FROM `a` ORDER BY `doc_id` ASC' a.sql</pre>
With some external tooling, you can also do incremental dumps by adding a WHERE clause to the select query with the last `doc_id` from your most recent dump.


=== Automatic Full SQL DB Backups ===
=== Automatic Full SQL DB Backups ===
Please note that all contributions to Bibliotheca Anonoma are considered to be released under the Creative Commons Attribution-ShareAlike (see Bibliotheca Anonoma:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!
Cancel Editing help (opens in new window)

Template used on this page: