chore: move module to openclaw/discrawl

This commit is contained in:
Peter Steinberger 2026-05-05 10:07:56 +01:00
parent f3aaf284f2
commit 3b76ba7973
No known key found for this signature in database
60 changed files with 95 additions and 95 deletions

View File

@ -114,7 +114,7 @@ discrawl --version
Build from source:
```bash
git clone https://github.com/steipete/discrawl.git
git clone https://github.com/openclaw/discrawl.git
cd discrawl
go build -o bin/discrawl ./cmd/discrawl
./bin/discrawl --version

View File

@ -7,7 +7,7 @@ import (
"os/signal"
"syscall"
"github.com/steipete/discrawl/internal/cli"
"github.com/openclaw/discrawl/internal/cli"
)
func main() {

View File

@ -11,8 +11,8 @@ import (
"testing"
"time"
"github.com/steipete/discrawl/internal/config"
"github.com/steipete/discrawl/internal/store"
"github.com/openclaw/discrawl/internal/config"
"github.com/openclaw/discrawl/internal/store"
)
func TestMainHelpAndVersion(t *testing.T) {

View File

@ -38,4 +38,4 @@ discrawl tail
## Where to file issues
`https://github.com/steipete/discrawl/issues`. Contact: [steipete@gmail.com](contact.html).
`https://github.com/openclaw/discrawl/issues`. Contact: [steipete@gmail.com](contact.html).

View File

@ -7,7 +7,7 @@ summary: "Release checklist for discrawl (GitHub release binaries via GoReleaser
Always do all steps below. No partial releases.
Assumptions:
- Repo: `steipete/discrawl`
- Repo: `openclaw/discrawl`
- Binary: `discrawl`
- GoReleaser config: `.goreleaser.yaml`
- Homebrew tap repo: `~/Projects/homebrew-tap`
@ -82,7 +82,7 @@ After tagging a real release:
Useful commands:
```sh
curl -L -o /tmp/discrawl-darwin-arm64.tgz https://github.com/steipete/discrawl/releases/download/vX.Y.Z/discrawl_X.Y.Z_darwin_arm64.tar.gz
curl -L -o /tmp/discrawl-darwin-arm64.tgz https://github.com/openclaw/discrawl/releases/download/vX.Y.Z/discrawl_X.Y.Z_darwin_arm64.tar.gz
shasum -a 256 /tmp/discrawl-darwin-arm64.tgz
brew uninstall discrawl || true
brew install steipete/tap/discrawl
@ -92,7 +92,7 @@ brew info steipete/tap/discrawl
## Notes
- Build-time version stamping comes from `-X github.com/steipete/discrawl/internal/cli.version={{ .Version }}`
- Build-time version stamping comes from `-X github.com/openclaw/discrawl/internal/cli.version={{ .Version }}`
- If release workflow needs a rerun:
```sh

View File

@ -3,5 +3,5 @@
Discord archive search and analysis tooling.
- Email: [steipete@gmail.com](mailto:steipete@gmail.com)
- Source: [github.com/steipete/discrawl](https://github.com/steipete/discrawl)
- Issues: [github.com/steipete/discrawl/issues](https://github.com/steipete/discrawl/issues)
- Source: [github.com/openclaw/discrawl](https://github.com/openclaw/discrawl)
- Issues: [github.com/openclaw/discrawl/issues](https://github.com/openclaw/discrawl/issues)

View File

@ -16,7 +16,7 @@ The tap auto-installs from `steipete/tap`.
Requires Go `1.26+`.
```bash
git clone https://github.com/steipete/discrawl.git
git clone https://github.com/openclaw/discrawl.git
cd discrawl
go build -o bin/discrawl ./cmd/discrawl
./bin/discrawl --version

2
go.mod
View File

@ -1,4 +1,4 @@
module github.com/steipete/discrawl
module github.com/openclaw/discrawl
go 1.26.2

View File

@ -13,12 +13,12 @@ import (
"syscall"
"time"
"github.com/steipete/discrawl/internal/config"
"github.com/steipete/discrawl/internal/discord"
"github.com/steipete/discrawl/internal/discorddesktop"
"github.com/steipete/discrawl/internal/embed"
"github.com/steipete/discrawl/internal/store"
"github.com/steipete/discrawl/internal/syncer"
"github.com/openclaw/discrawl/internal/config"
"github.com/openclaw/discrawl/internal/discord"
"github.com/openclaw/discrawl/internal/discorddesktop"
"github.com/openclaw/discrawl/internal/embed"
"github.com/openclaw/discrawl/internal/store"
"github.com/openclaw/discrawl/internal/syncer"
)
type syncSources struct {

View File

@ -7,7 +7,7 @@ import (
"io"
"strings"
"github.com/steipete/discrawl/internal/report"
"github.com/openclaw/discrawl/internal/report"
)
func (r *runtime) runAnalytics(args []string) error {

View File

@ -10,8 +10,8 @@ import (
"github.com/stretchr/testify/require"
"github.com/steipete/discrawl/internal/config"
"github.com/steipete/discrawl/internal/store"
"github.com/openclaw/discrawl/internal/config"
"github.com/openclaw/discrawl/internal/store"
)
func TestAnalyticsCommand(t *testing.T) {

View File

@ -11,12 +11,12 @@ import (
"time"
"github.com/bwmarrin/discordgo"
"github.com/steipete/discrawl/internal/config"
"github.com/steipete/discrawl/internal/discord"
"github.com/steipete/discrawl/internal/embed"
"github.com/steipete/discrawl/internal/share"
"github.com/steipete/discrawl/internal/store"
"github.com/steipete/discrawl/internal/syncer"
"github.com/openclaw/discrawl/internal/config"
"github.com/openclaw/discrawl/internal/discord"
"github.com/openclaw/discrawl/internal/embed"
"github.com/openclaw/discrawl/internal/share"
"github.com/openclaw/discrawl/internal/store"
"github.com/openclaw/discrawl/internal/syncer"
)
type cliError struct {

View File

@ -18,11 +18,11 @@ import (
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"github.com/steipete/discrawl/internal/config"
discordclient "github.com/steipete/discrawl/internal/discord"
"github.com/steipete/discrawl/internal/share"
"github.com/steipete/discrawl/internal/store"
"github.com/steipete/discrawl/internal/syncer"
"github.com/openclaw/discrawl/internal/config"
discordclient "github.com/openclaw/discrawl/internal/discord"
"github.com/openclaw/discrawl/internal/share"
"github.com/openclaw/discrawl/internal/store"
"github.com/openclaw/discrawl/internal/syncer"
)
func TestHelpAndVersion(t *testing.T) {

View File

@ -9,7 +9,7 @@ import (
"strings"
"time"
"github.com/steipete/discrawl/internal/report"
"github.com/openclaw/discrawl/internal/report"
)
func (r *runtime) runDigest(args []string) error {

View File

@ -10,8 +10,8 @@ import (
"github.com/stretchr/testify/require"
"github.com/steipete/discrawl/internal/config"
"github.com/steipete/discrawl/internal/store"
"github.com/openclaw/discrawl/internal/config"
"github.com/openclaw/discrawl/internal/store"
)
func TestParseLookback(t *testing.T) {

View File

@ -8,7 +8,7 @@ import (
"strings"
"time"
"github.com/steipete/discrawl/internal/store"
"github.com/openclaw/discrawl/internal/store"
)
const defaultDMLast = 50

View File

@ -6,7 +6,7 @@ import (
"strings"
"time"
"github.com/steipete/discrawl/internal/store"
"github.com/openclaw/discrawl/internal/store"
)
func (r *runtime) resolveSyncGuilds(guild, guilds string) []string {

View File

@ -8,7 +8,7 @@ import (
"strings"
"time"
"github.com/steipete/discrawl/internal/store"
"github.com/openclaw/discrawl/internal/store"
)
func (r *runtime) runMentions(args []string) error {

View File

@ -8,7 +8,7 @@ import (
"strings"
"time"
"github.com/steipete/discrawl/internal/store"
"github.com/openclaw/discrawl/internal/store"
)
const defaultMessageLimit = 200

View File

@ -11,10 +11,10 @@ import (
"text/tabwriter"
"time"
"github.com/steipete/discrawl/internal/discorddesktop"
"github.com/steipete/discrawl/internal/report"
"github.com/steipete/discrawl/internal/store"
"github.com/steipete/discrawl/internal/syncer"
"github.com/openclaw/discrawl/internal/discorddesktop"
"github.com/openclaw/discrawl/internal/report"
"github.com/openclaw/discrawl/internal/store"
"github.com/openclaw/discrawl/internal/syncer"
)
func (r *runtime) print(value any) error {

View File

@ -7,8 +7,8 @@ import (
"github.com/stretchr/testify/require"
"github.com/steipete/discrawl/internal/store"
"github.com/steipete/discrawl/internal/syncer"
"github.com/openclaw/discrawl/internal/store"
"github.com/openclaw/discrawl/internal/syncer"
)
func TestPrintRows(t *testing.T) {

View File

@ -9,9 +9,9 @@ import (
"os"
"strings"
"github.com/steipete/discrawl/internal/config"
"github.com/steipete/discrawl/internal/embed"
"github.com/steipete/discrawl/internal/store"
"github.com/openclaw/discrawl/internal/config"
"github.com/openclaw/discrawl/internal/embed"
"github.com/openclaw/discrawl/internal/store"
)
func (r *runtime) runSearch(args []string) error {

View File

@ -6,7 +6,7 @@ import (
"slices"
"strings"
"github.com/steipete/discrawl/internal/syncer"
"github.com/openclaw/discrawl/internal/syncer"
)
func (r *runtime) syncMessagesQuery(channel, guild, guilds string) error {

View File

@ -8,8 +8,8 @@ import (
"github.com/stretchr/testify/require"
"github.com/steipete/discrawl/internal/config"
"github.com/steipete/discrawl/internal/store"
"github.com/openclaw/discrawl/internal/config"
"github.com/openclaw/discrawl/internal/store"
)
func TestMessageSyncOptionsNumericChannelID(t *testing.T) {

View File

@ -5,7 +5,7 @@ import (
"flag"
"io"
"github.com/steipete/discrawl/internal/report"
"github.com/openclaw/discrawl/internal/report"
)
func (r *runtime) runReport(args []string) error {

View File

@ -6,10 +6,10 @@ import (
"io"
"os"
"github.com/steipete/discrawl/internal/config"
"github.com/steipete/discrawl/internal/report"
"github.com/steipete/discrawl/internal/share"
"github.com/steipete/discrawl/internal/store"
"github.com/openclaw/discrawl/internal/config"
"github.com/openclaw/discrawl/internal/report"
"github.com/openclaw/discrawl/internal/share"
"github.com/openclaw/discrawl/internal/store"
)
func (r *runtime) runPublish(args []string) error {

View File

@ -6,7 +6,7 @@ import (
"strings"
"time"
"github.com/steipete/discrawl/internal/share"
"github.com/openclaw/discrawl/internal/share"
)
type shareUpdateMode string

View File

@ -8,7 +8,7 @@ import (
"strings"
"time"
"github.com/steipete/discrawl/internal/config"
"github.com/openclaw/discrawl/internal/config"
)
func (r *runtime) withSyncLock(fn func() error) error {

View File

@ -20,7 +20,7 @@ import (
"time"
"unicode"
"github.com/steipete/discrawl/internal/store"
"github.com/openclaw/discrawl/internal/store"
)
const (

View File

@ -7,7 +7,7 @@ import (
"github.com/stretchr/testify/require"
"github.com/steipete/discrawl/internal/store"
"github.com/openclaw/discrawl/internal/store"
)
func TestFileFingerprintStatusHelpers(t *testing.T) {

View File

@ -10,7 +10,7 @@ import (
"github.com/stretchr/testify/require"
"github.com/steipete/discrawl/internal/store"
"github.com/openclaw/discrawl/internal/store"
)
func TestImportFastCacheSkipsUnroutedCacheDataUnlessFullCache(t *testing.T) {

View File

@ -4,7 +4,7 @@ import (
"context"
"os"
"github.com/steipete/discrawl/internal/store"
"github.com/openclaw/discrawl/internal/store"
)
type importRun struct {

View File

@ -13,7 +13,7 @@ import (
"github.com/stretchr/testify/require"
"github.com/steipete/discrawl/internal/store"
"github.com/openclaw/discrawl/internal/store"
)
func TestDesktopPathAndImportHelpers(t *testing.T) {

View File

@ -11,7 +11,7 @@ import (
"strings"
"time"
"github.com/steipete/discrawl/internal/config"
"github.com/openclaw/discrawl/internal/config"
)
const (

View File

@ -11,7 +11,7 @@ import (
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"github.com/steipete/discrawl/internal/config"
"github.com/openclaw/discrawl/internal/config"
)
func TestOllamaProviderEmbeds(t *testing.T) {

View File

@ -7,7 +7,7 @@ import (
"strings"
"time"
"github.com/steipete/discrawl/internal/store"
"github.com/openclaw/discrawl/internal/store"
)
// DigestOptions controls how a Digest is built.

View File

@ -8,7 +8,7 @@ import (
"github.com/stretchr/testify/require"
"github.com/steipete/discrawl/internal/store"
"github.com/openclaw/discrawl/internal/store"
)
func TestBuildDigest(t *testing.T) {

View File

@ -8,7 +8,7 @@ import (
"strings"
"time"
"github.com/steipete/discrawl/internal/store"
"github.com/openclaw/discrawl/internal/store"
)
// QuietOptions controls how a Quiet report is built.

View File

@ -8,7 +8,7 @@ import (
"github.com/stretchr/testify/require"
"github.com/steipete/discrawl/internal/store"
"github.com/openclaw/discrawl/internal/store"
)
func TestBuildQuiet(t *testing.T) {

View File

@ -14,7 +14,7 @@ import (
"text/template"
"time"
"github.com/steipete/discrawl/internal/store"
"github.com/openclaw/discrawl/internal/store"
)
const (

View File

@ -10,7 +10,7 @@ import (
"github.com/stretchr/testify/require"
"github.com/steipete/discrawl/internal/store"
"github.com/openclaw/discrawl/internal/store"
)
func TestBuildRenderAndUpdateReadme(t *testing.T) {

View File

@ -8,7 +8,7 @@ import (
"strings"
"time"
"github.com/steipete/discrawl/internal/store"
"github.com/openclaw/discrawl/internal/store"
)
const (

View File

@ -8,7 +8,7 @@ import (
"github.com/stretchr/testify/require"
"github.com/steipete/discrawl/internal/store"
"github.com/openclaw/discrawl/internal/store"
)
func TestBuildTrends(t *testing.T) {

View File

@ -17,7 +17,7 @@ import (
"strings"
"time"
"github.com/steipete/discrawl/internal/store"
"github.com/openclaw/discrawl/internal/store"
)
const (

View File

@ -16,7 +16,7 @@ import (
"github.com/stretchr/testify/require"
"github.com/steipete/discrawl/internal/store"
"github.com/openclaw/discrawl/internal/store"
)
func TestExportImportRoundTrip(t *testing.T) {

View File

@ -9,7 +9,7 @@ import (
"strings"
"time"
"github.com/steipete/discrawl/internal/embed"
"github.com/openclaw/discrawl/internal/embed"
)
const (

View File

@ -12,7 +12,7 @@ import (
"github.com/stretchr/testify/require"
"github.com/steipete/discrawl/internal/embed"
"github.com/openclaw/discrawl/internal/embed"
)
func TestUpsertMessagesBatch(t *testing.T) {

View File

@ -8,7 +8,7 @@ import (
"time"
"github.com/bwmarrin/discordgo"
"github.com/steipete/discrawl/internal/store"
"github.com/openclaw/discrawl/internal/store"
)
type channelCatalogMode int

View File

@ -10,7 +10,7 @@ import (
"github.com/bwmarrin/discordgo"
"github.com/stretchr/testify/require"
"github.com/steipete/discrawl/internal/store"
"github.com/openclaw/discrawl/internal/store"
)
func errMissingAccess() error {

View File

@ -13,7 +13,7 @@ import (
"github.com/bwmarrin/discordgo"
"github.com/steipete/discrawl/internal/store"
"github.com/openclaw/discrawl/internal/store"
)
const (

View File

@ -9,7 +9,7 @@ import (
"github.com/bwmarrin/discordgo"
"github.com/stretchr/testify/require"
"github.com/steipete/discrawl/internal/store"
"github.com/openclaw/discrawl/internal/store"
)
func TestBuildMessageMutationsTracksNewest(t *testing.T) {

View File

@ -7,7 +7,7 @@ import (
"time"
"github.com/bwmarrin/discordgo"
"github.com/steipete/discrawl/internal/store"
"github.com/openclaw/discrawl/internal/store"
)
func (s *Syncer) syncMessageChannels(

View File

@ -9,7 +9,7 @@ import (
"github.com/bwmarrin/discordgo"
"github.com/stretchr/testify/require"
"github.com/steipete/discrawl/internal/store"
"github.com/openclaw/discrawl/internal/store"
)
func TestSyncDefersSlowChannelAfterChannelTimeout(t *testing.T) {

View File

@ -8,7 +8,7 @@ import (
"unicode"
"github.com/bwmarrin/discordgo"
"github.com/steipete/discrawl/internal/store"
"github.com/openclaw/discrawl/internal/store"
"golang.org/x/text/unicode/norm"
)

View File

@ -9,8 +9,8 @@ import (
"time"
"github.com/bwmarrin/discordgo"
discordclient "github.com/steipete/discrawl/internal/discord"
"github.com/steipete/discrawl/internal/store"
discordclient "github.com/openclaw/discrawl/internal/discord"
"github.com/openclaw/discrawl/internal/store"
)
type Client interface {

View File

@ -10,7 +10,7 @@ import (
"github.com/bwmarrin/discordgo"
"github.com/stretchr/testify/require"
"github.com/steipete/discrawl/internal/store"
"github.com/openclaw/discrawl/internal/store"
)
func TestSyncFullBackfillResumesFromCheckpoint(t *testing.T) {

View File

@ -10,7 +10,7 @@ import (
"github.com/bwmarrin/discordgo"
"github.com/stretchr/testify/require"
"github.com/steipete/discrawl/internal/store"
"github.com/openclaw/discrawl/internal/store"
)
func TestNormalizeMessageIncludesRichFields(t *testing.T) {

View File

@ -11,8 +11,8 @@ import (
"github.com/bwmarrin/discordgo"
"github.com/stretchr/testify/require"
discordclient "github.com/steipete/discrawl/internal/discord"
"github.com/steipete/discrawl/internal/store"
discordclient "github.com/openclaw/discrawl/internal/discord"
"github.com/openclaw/discrawl/internal/store"
)
type fakeClient struct {

View File

@ -5,7 +5,7 @@ import (
"time"
"github.com/bwmarrin/discordgo"
"github.com/steipete/discrawl/internal/store"
"github.com/openclaw/discrawl/internal/store"
)
func (s *Syncer) RunTail(ctx context.Context, guildIDs []string, repairEvery time.Duration) error {

View File

@ -5,7 +5,7 @@ import path from "node:path";
const root = process.cwd();
const docsDir = path.join(root, "docs");
const outDir = path.join(root, "dist", "docs-site");
const repoEditBase = "https://github.com/steipete/discrawl/edit/main/docs";
const repoEditBase = "https://github.com/openclaw/discrawl/edit/main/docs";
const siteUrl = "https://discrawl.sh";
const sections = [
@ -280,7 +280,7 @@ function layout({ page, html, toc, prev, next, sectionName }) {
<label class="search"><span>filter</span><input id="doc-search" type="search" placeholder="sync, wiretap, search..."></label>
<nav>${navHtml(page.rel, rootPrefix)}</nav>
<footer class="side-foot">
<a href="https://github.com/steipete/discrawl" rel="noopener">github</a>
<a href="https://github.com/openclaw/discrawl" rel="noopener">github</a>
<a href="${rootPrefix}contact.html">contact</a>
</footer>
</aside>
@ -309,7 +309,7 @@ function standardHero(page, sectionName, editUrl) {
<h1>${escapeHtml(page.title)}</h1>
</div>
<div class="hero-meta">
<a class="repo" href="https://github.com/steipete/discrawl" rel="noopener">github</a>
<a class="repo" href="https://github.com/openclaw/discrawl" rel="noopener">github</a>
<a class="edit" href="${escapeAttr(editUrl)}" rel="noopener">edit</a>
</div>
</header>`;
@ -334,7 +334,7 @@ function landingHero(rootPrefix) {
<p class="lede">Discrawl mirrors Discord guilds into local SQLite so you can grep, query, and run analytics on org memory without depending on Discord search. Bring a bot token, or read everything offline from a Git snapshot.</p>
<div class="cta">
<a class="cta-primary" href="${rootPrefix}install.html">Get started</a>
<a class="cta-secondary" href="https://github.com/steipete/discrawl" rel="noopener">View on GitHub</a>
<a class="cta-secondary" href="https://github.com/openclaw/discrawl" rel="noopener">View on GitHub</a>
</div>
</div>
<pre class="hero-snippet" aria-hidden="true"><code><span class="prompt">$</span> discrawl init