Coder Social home page Coder Social logo

darah's Introduction

darah's People

Contributors

dependabot[bot] avatar kararty avatar tonkku107 avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

darah's Issues

Feature request?

Hi KararTY,

I think this is more of a feature request rather than an issue but I don't use github a lot and I'm not sure where else to put it.. Close this up if it's not the place for it.

With the zipped backups, I'd like for the ability to combine them? I really enjoy the incremental backup feature using CRON but I don't like having more than one zip in the archive folder. I know myself or others will delete posts and that may mean a previous backup zip may have a post which the latest backup doesn't have.

Alternatively the service could continually run and archive all posts as they're made?

Thanks for your hard work with this archiver, myself and i'm sure others really appreciate you putting the effort into making this.

Upcoming features list - VERSION 3.6

Version 3.6

Follow dev branch for updates.

  • Proper incremental archives. + Separate directory for every guild.
    (#11 ?)
  • Option to archive only selected channels.
    (Discussed via PMs)
  • If auto is enabled, keep track of new messages (Messages after script came online) that are deleted and put them into their separate array in the outputted files. (#11 ?)
  • Add the rest of the available fields. (TTS, NONCE, TYPE, EMBEDS and SYSTEM)
    • Archive embeds.
    • TTS, NONCE, TYPE, SYSTEM
  • Add "ALL" option archival to settings variable "guildID".

Fixed bugs

  • MAJOR: Typo at edited timestamp variable.
  • MAJOR: content returns better results than cleanContent.

Should be released before March 7th, but no promises.

Crash backups have duplicate downloads

Initial crash backup testing suggests that emojis may be duplicated and re-downloaded, but as a new entry in the array.

Edit: All files are duplicated.
Need to implement some kind of manifest check to prevent duplicate downloads.

Support big servers

After every 1000th message, push to file _.json, on runtime. That means I need to keep count of how many messages there are.

Example:

let counter = {
  ChannelID_1: {
    at: 0,          // Every 1000
    iterator: 1  // + 1 this value.
  },
  // ...
}

/** Make sure to clean object[channel.id] every 1000th message
  * to make sure RAM isn't heavily used.
  */

Also add new field to settings.js atEveryXNewFile: 1000 so people can change the amount of messages to keep in every file.

Allow archival after stopping.

Currently DARAH will clear the cache and restart. This is super painful since Discord can sometimes time out and completely stop an operation on a huge server that would take hours to rearchive. I think it would be useful to allow DARAH to continue from cache.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.