This repository has been archived by the owner on Aug 1, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
39 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
#!/usr/bin/env python3 | ||
import ephemeral | ||
ephemeral.main() | ||
import semiphemeral | ||
semiphemeral.main() |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
{% extends "base.html" %} | ||
{% block title %}Semiphemeral{% endblock %} | ||
{% block header_text %}How Semiphemeral Works{% endblock %} | ||
{% block content %} | ||
|
||
<p>Semiphemeral will delete all of your old tweets except for specific ones you want to keep. | ||
|
||
<p>Go to <a href="{{ url_for('edit_settings') }}">settings</a> to configure your Twitter API credentials and username, as well as which tweets to automatically exclude from deletion.</p> | ||
|
||
<p>Go to <a href="{{ url_for('exceptions')}}">exceptions</a> to manually choose which tweets to exclude from deletion. This section lists your tweets that <em>would</em> automatically get deleted, and lets you manually exclude some of them.</p> | ||
|
||
<p>Before you can delete any tweets, or choose what tweets you want to manually exclude, you have to fetch all of your old tweets. To do this, run this:</p> | ||
|
||
<pre><code>semiphemeral --fetch</code></pre> | ||
|
||
<p>To actually delete old tweets, run this:</p> | ||
|
||
<pre><code>semiphemeral --delete</code></pre> | ||
|
||
<p>The Twitter API rate limits a lot, and when semiphemeral hits a rate limit, it will simply wait until it can continue using the API. For this reason, you should run the command once and wait for it to finish the first time — it may take a very long time if you have a lot of old tweets. Then set it to run automatically as a cron job to delete your old tweets going forward. (Ephemeral will always fetch tweets before deleting old ones.)</p> | ||
|
||
<p>Settings are stored in <code>~/.semiphemeral/settings.json</code>. All tweets (including exceptions, and deleted tweets) are stored in a sqlite database <code>~/.semiphemeral/tweets.db</code>.</p> | ||
|
||
{% endblock %} |
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters